mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-20 02:06:38 +08:00
update 优化发布流程定义抛出异常
- StringUtils.join 默认会跳过 null,不会抛异常
This commit is contained in:
parent
7357912681
commit
a39bc870d1
@ -128,7 +128,7 @@ public class FlwDefinitionServiceImpl implements IFlwDefinitionService {
|
||||
}
|
||||
}
|
||||
if (CollUtil.isNotEmpty(errorMsg)) {
|
||||
throw new ServiceException("节点【{}】未配置办理人!", String.join(",", errorMsg));
|
||||
throw new ServiceException("节点【{}】未配置办理人!", StringUtils.join(errorMsg, ","));
|
||||
}
|
||||
}
|
||||
return defService.publish(id);
|
||||
|
Loading…
Reference in New Issue
Block a user