|
|
@@ -431,11 +431,11 @@ public class TakaiAiServiceImpl implements ITakaiAiService {
|
|
|
m.put("type", "group");
|
|
|
if (daysBetween == 0l) {
|
|
|
m.put("label", TODAY);
|
|
|
- m.put("children", setValue(entry.getValue()));
|
|
|
+ m.put("children", setValue(entry.getValue(), appId));
|
|
|
obj.add(m);
|
|
|
} else {
|
|
|
m.put("label", -daysBetween + BEFOR);
|
|
|
- m.put("children", setValue(entry.getValue()));
|
|
|
+ m.put("children", setValue(entry.getValue(), appId));
|
|
|
obj.add(m);
|
|
|
}
|
|
|
}
|
|
|
@@ -1425,12 +1425,15 @@ public class TakaiAiServiceImpl implements ITakaiAiService {
|
|
|
return obj;
|
|
|
}
|
|
|
|
|
|
- private List<Map<String, Object>> setValue(List<TakaiDialogRespDTO> list) {
|
|
|
+ private List<Map<String, Object>> setValue(List<TakaiDialogRespDTO> list, String appId) {
|
|
|
List<Map<String, Object>> l = new ArrayList();
|
|
|
for (TakaiDialogRespDTO vo : list) {
|
|
|
Map<String, Object> map = new HashMap();
|
|
|
map.put("key", vo.getId());
|
|
|
map.put("label", vo.getDialog_name());
|
|
|
+ map.put("appId", appId);
|
|
|
+ map.put("showMenu", "false");
|
|
|
+ map.put("chatMode", "LOCAL");
|
|
|
l.add(map);
|
|
|
}
|
|
|
return l;
|