Browse Source

团队重构

master
陈裕财 3 years ago
parent
commit
22393ead78
  1. 4
      xm-core/src/main/java/com/xm/core/ctrl/XmQuestionController.java

4
xm-core/src/main/java/com/xm/core/ctrl/XmQuestionController.java

@ -322,7 +322,7 @@ public class XmQuestionController {
Map<String,Tips> noOperTips=new HashMap<>(); Map<String,Tips> noOperTips=new HashMap<>();
this.checkQx(xmQuestionsDb,canOper,noOper,noOperTips); this.checkQx(xmQuestionsDb,canOper,noOper,noOperTips);
if(canOper.size()>0){
xmQuestionMap.put("ids",canOper.stream().map(k->k.getId()).collect(Collectors.toList())); xmQuestionMap.put("ids",canOper.stream().map(k->k.getId()).collect(Collectors.toList()));
Set<String> fieldKey=xmQuestionMap.keySet().stream().filter(i->fieldsMap.containsKey(i)).collect(Collectors.toSet()); Set<String> fieldKey=xmQuestionMap.keySet().stream().filter(i->fieldsMap.containsKey(i)).collect(Collectors.toSet());
@ -380,6 +380,8 @@ public class XmQuestionController {
xmQuestionHandleService.batchAddAsync(handles); xmQuestionHandleService.batchAddAsync(handles);
} }
}
List<String> msgs=new ArrayList<>(); List<String> msgs=new ArrayList<>();
if(canOper.size()>0){ if(canOper.size()>0){

Loading…
Cancel
Save