remove: 删除错误代码

This commit is contained in:
smallNorthLee 2025-03-11 21:28:29 +08:00
parent 27ae2a4761
commit 2123d7c067
1 changed files with 0 additions and 4 deletions

View File

@ -74,10 +74,6 @@ public interface BpmProcessDefinitionConvert {
if (deployment != null) { if (deployment != null) {
respVO.setDeploymentTime(LocalDateTimeUtil.of(deployment.getDeploymentTime())); respVO.setDeploymentTime(LocalDateTimeUtil.of(deployment.getDeploymentTime()));
} }
// 图标为null时处理成空字符串否则copyTo的to.setIcon( from.getIcon() );会报错
if (respVO.getIcon() == null) {
respVO.setIcon("");
}
// BpmProcessDefinitionInfoDO // BpmProcessDefinitionInfoDO
if (processDefinitionInfo != null) { if (processDefinitionInfo != null) {
copyTo(processDefinitionInfo, respVO); copyTo(processDefinitionInfo, respVO);