feat: There is no way the,
This commit is contained in:
@@ -133,15 +133,12 @@ public class TaskController {
|
||||
historicTaskInstance.put("prcNum",one.getPrcNum());
|
||||
QueryWrapper queryWrapper1 = new QueryWrapper();
|
||||
queryWrapper1.eq("TASK_ID",historicTaskInstance.get("id"));
|
||||
queryWrapper1.eq("TASK_INFO",historicTaskInstance.get("name"));
|
||||
queryWrapper1.isNotNull("COMMIT_TEXT");
|
||||
List<BusProcessNew> list1 = iBusProcessNewService.list(queryWrapper1);
|
||||
if(!list1.isEmpty()){
|
||||
if(list1.size() > 1){
|
||||
historicTaskInstance.put("comment",list1.get(1).getCommitFlag());
|
||||
historicTaskInstance.put("commentText",list1.get(1).getCommitText());
|
||||
}else {
|
||||
historicTaskInstance.put("comment",list1.get(0).getCommitFlag());
|
||||
historicTaskInstance.put("commentText",list1.get(0).getCommitText());
|
||||
}
|
||||
historicTaskInstance.put("comment",list1.get(0).getCommitFlag());
|
||||
historicTaskInstance.put("commentText",list1.get(0).getCommitText());
|
||||
}else{
|
||||
historicTaskInstance.put("comment","");
|
||||
historicTaskInstance.put("commentText","");
|
||||
|
||||
Reference in New Issue
Block a user