提交 385fe3aa authored 作者: kxjia's avatar kxjia

修改bug

上级 1a2837db
...@@ -111,4 +111,7 @@ public class BaosongTask implements Serializable { ...@@ -111,4 +111,7 @@ public class BaosongTask implements Serializable {
/**流程实例ID*/ /**流程实例ID*/
private java.lang.String procInsId; private java.lang.String procInsId;
/**UID*/
private java.lang.String uid;
} }
...@@ -73,12 +73,16 @@ public class StProblemCheckController extends JeecgController<StProblemCheck, IS ...@@ -73,12 +73,16 @@ public class StProblemCheckController extends JeecgController<StProblemCheck, IS
MyTaskFlow myTaskFlow = new MyTaskFlow(); MyTaskFlow myTaskFlow = new MyTaskFlow();
myTaskFlow.setFormTableName("st_problem_check"); myTaskFlow.setFormTableName("st_problem_check");
myTaskFlow.setTaskDefinitionKey(stProblemCheck.getBpmNodeId()); myTaskFlow.setTaskDefinitionKey(stProblemCheck.getBpmNodeId());
List<String> todoList = myTaskFlowService.queryTodoList(myTaskFlow);
if(Utils.isNullOrEmpty(todoList)) { if(stProblemCheck.getBpmNodeId()!=null) {
queryWrapper.eq("bpm_status",0).eq("created_user", UserUtil.getUserCode()); List<String> todoList = myTaskFlowService.queryTodoList(myTaskFlow);
} else { if (Utils.isNullOrEmpty(todoList)) {
queryWrapper.in("id", todoList); queryWrapper.eq("bpm_status", 0).eq("created_user", UserUtil.getUserCode());
} else {
queryWrapper.in("id", todoList);
}
} }
Page<StProblemCheck> page = new Page<StProblemCheck>(pageNo, pageSize); Page<StProblemCheck> page = new Page<StProblemCheck>(pageNo, pageSize);
IPage<StProblemCheck> pageList = stProblemCheckService.page(page, queryWrapper); IPage<StProblemCheck> pageList = stProblemCheckService.page(page, queryWrapper);
return Result.OK(pageList); return Result.OK(pageList);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论