Browse Source

Merge remote-tracking branch 'origin/dev_zhili' into dev_zhili

dev
yinzuomei 3 years ago
parent
commit
5d40b5a568
  1. 2
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.java

2
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.java

@ -716,7 +716,7 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit
}
IcEventCategoryEntity icEventCategory = icEventCategoryService.getByEventId(formDTO.getIcEventId());
if (null == category) {
if (null == category || StringUtils.isEmpty(icEventCategory.getId())) {
icEventCategoryService.insert(categoryEntity);
} else {
categoryEntity.setId(icEventCategory.getId());

Loading…
Cancel
Save