Commit 2123d7c06717113a83aaf9fccf70b71559f8ad0a
1 parent
27ae2a47
remove: 删除错误代码
Showing
1 changed file
with
0 additions
and
4 deletions
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/convert/definition/BpmProcessDefinitionConvert.java
| @@ -74,10 +74,6 @@ public interface BpmProcessDefinitionConvert { | @@ -74,10 +74,6 @@ public interface BpmProcessDefinitionConvert { | ||
| 74 | if (deployment != null) { | 74 | if (deployment != null) { |
| 75 | respVO.setDeploymentTime(LocalDateTimeUtil.of(deployment.getDeploymentTime())); | 75 | respVO.setDeploymentTime(LocalDateTimeUtil.of(deployment.getDeploymentTime())); |
| 76 | } | 76 | } |
| 77 | - // 图标为null时,处理成空字符串,否则copyTo的to.setIcon( from.getIcon() );会报错 | ||
| 78 | - if (respVO.getIcon() == null) { | ||
| 79 | - respVO.setIcon(""); | ||
| 80 | - } | ||
| 81 | // BpmProcessDefinitionInfoDO | 77 | // BpmProcessDefinitionInfoDO |
| 82 | if (processDefinitionInfo != null) { | 78 | if (processDefinitionInfo != null) { |
| 83 | copyTo(processDefinitionInfo, respVO); | 79 | copyTo(processDefinitionInfo, respVO); |