|
@ -186,7 +186,7 @@ public class TalkGroupService extends BaseService {
|
|
|
*/
|
|
|
public JSONObject getConsultGroup(String consult) {
|
|
|
JSONObject json = new JSONObject();
|
|
|
List<WlyyTalkGroup> groups = discussionGroupDao.findByCodeAndType(consult, 2);
|
|
|
List<WlyyTalkGroup> groups = discussionGroupDao.findByConsultCodeAndType(consult, 2);
|
|
|
|
|
|
if (groups != null && groups.size() > 0) {
|
|
|
json = new JSONObject(groups.get(0));
|
|
@ -352,7 +352,7 @@ public class TalkGroupService extends BaseService {
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public JSONObject findConsultTalkGroup(String consult) throws Exception {
|
|
|
List<WlyyTalkGroup> talkGroup = discussionGroupDao.findByCodeAndType(consult, 1);
|
|
|
List<WlyyTalkGroup> talkGroup = discussionGroupDao.findByConsultCodeAndType(consult, 1);
|
|
|
|
|
|
if (talkGroup != null && talkGroup.size() > 0) {
|
|
|
JSONObject result = new JSONObject(talkGroup.get(0));
|