|
|
@ -466,7 +466,7 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
public void delete(String[] ids) { |
|
|
|
//已立项、已转服务的事件删除时,同时删除关联的服务和项目
|
|
|
|
for (String id : ids) { |
|
|
|
IcEventEntity entity = baseDao.selectById(id); |
|
|
|
IcEventEntity entity = baseDao.selectByEventId(id); |
|
|
|
if (null == entity) { |
|
|
|
// throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"数据不存在","数据不存在");
|
|
|
|
continue; |
|
|
|