更新能力申请模型v3
This commit is contained in:
parent
94c012ee44
commit
12393ec5cc
|
@ -71,7 +71,7 @@ public class ApplyDistrictListener implements TaskListener, ExecutionListener, A
|
||||||
private void create(DelegateTask delegateTask) {
|
private void create(DelegateTask delegateTask) {
|
||||||
String assignee;
|
String assignee;
|
||||||
Map<String, Object> kv = delegateTask.getVariables();
|
Map<String, Object> kv = delegateTask.getVariables();
|
||||||
if(kv.containsKey("userId")){
|
if (kv.containsKey("userId")) {
|
||||||
Long applyUserId = Long.valueOf(kv.get("userId").toString());
|
Long applyUserId = Long.valueOf(kv.get("userId").toString());
|
||||||
SysDeptDTO deptDTO = sysDeptService.get(sysUserService.get(applyUserId).getDeptId());
|
SysDeptDTO deptDTO = sysDeptService.get(sysUserService.get(applyUserId).getDeptId());
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ public class ApplyDistrictListener implements TaskListener, ExecutionListener, A
|
||||||
assignee = defaultAssigneeRoleId;
|
assignee = defaultAssigneeRoleId;
|
||||||
}
|
}
|
||||||
logger.error("分配的用户id为:{}", assignee);
|
logger.error("分配的用户id为:{}", assignee);
|
||||||
}else{
|
} else {
|
||||||
try {
|
try {
|
||||||
logger.error("流程参数异常" + JSON.toJSONString(kv));
|
logger.error("流程参数异常" + JSON.toJSONString(kv));
|
||||||
} catch (Exception exception) {
|
} catch (Exception exception) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue