提交 982c0612 编写于 作者: sq3536's avatar sq3536

工作流用户组逻辑

上级 d0816691
...@@ -1083,6 +1083,11 @@ public class WFCoreService ...@@ -1083,6 +1083,11 @@ public class WFCoreService
{ {
for(WFMember member : list) for(WFMember member : list)
{ {
if((!StringUtils.isEmpty(deptid))&&(!deptid.equals(member.getMdeptid())))
continue;
if((!StringUtils.isEmpty(orgid))&&(!orgid.equals(member.getOrgid())))
continue;
if(!StringUtils.isEmpty(strUsers)) if(!StringUtils.isEmpty(strUsers))
strUsers+=","; strUsers+=",";
strUsers+=member.getUserid(); strUsers+=member.getUserid();
......
...@@ -156,7 +156,7 @@ public class WFCoreResource ...@@ -156,7 +156,7 @@ public class WFCoreResource
response.setHeader("Location", path); response.setHeader("Location", path);
} }
@RequestMapping(method = RequestMethod.POST, value = "/deploybpmn") @RequestMapping(method = RequestMethod.POST, value = "/deploybpmn")
public ResponseEntity<Boolean> deployBpmnFile(@RequestBody List<Map<String,Object>> bpmnfiles){ public ResponseEntity<Boolean> deployBpmnFile(@RequestBody List<Map<String,Object>> bpmnfiles){
return ResponseEntity.status(HttpStatus.OK).body(wfCoreService.wfdeploybpmns(bpmnfiles)); return ResponseEntity.status(HttpStatus.OK).body(wfCoreService.wfdeploybpmns(bpmnfiles));
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册