Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-08-25 09:00:43 +08:00
commit 2d18bcbe58
2 changed files with 7 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public class ApplyDistrictListener implements TaskListener, ExecutionListener, A
private void create(DelegateTask delegateTask) {
String assignee;
Map<String, Object> kv = delegateTask.getVariables();
if(kv.containsKey("userId")){
if (kv.containsKey("userId")) {
Long applyUserId = Long.valueOf(kv.get("userId").toString());
SysDeptDTO deptDTO = sysDeptService.get(sysUserService.get(applyUserId).getDeptId());
@ -99,7 +99,7 @@ public class ApplyDistrictListener implements TaskListener, ExecutionListener, A
assignee = defaultAssigneeRoleId;
}
logger.error("分配的用户id为:{}", assignee);
}else{
} else {
try {
logger.error("流程参数异常" + JSON.toJSONString(kv));
} catch (Exception exception) {

File diff suppressed because one or more lines are too long