Browse Source

自动更新事件评价加判断

dev
zxc 3 years ago
parent
commit
4fea706689
  1. 6
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.java

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

@ -969,7 +969,9 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit
int start = (no - NumConstant.ONE) * size; int start = (no - NumConstant.ONE) * size;
ids = baseDao.getAutoEvaluationIds(customerId,start,size); ids = baseDao.getAutoEvaluationIds(customerId,start,size);
// 批量更新 // 批量更新
baseDao.updateAutoEvaluation(ids); if (!CollectionUtils.isEmpty(ids)){
baseDao.updateAutoEvaluation(ids);
}
no++; no++;
}while (ids.size() == size); }while (ids.size() == size);
} }
@ -1102,6 +1104,8 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit
if (!CollectionUtils.isEmpty(attachmentEntityList)){ if (!CollectionUtils.isEmpty(attachmentEntityList)){
icEventAttachmentService.insertBatch(attachmentEntityList); icEventAttachmentService.insertBatch(attachmentEntityList);
} }
// 站内信发送给社区每个工作人员
} }
public void disposeAttachment(List<FileCommonDTO> list,List<IcEventAttachmentEntity> attachmentEntityList,String id,String customerId,String userId){ public void disposeAttachment(List<FileCommonDTO> list,List<IcEventAttachmentEntity> attachmentEntityList,String id,String customerId,String userId){

Loading…
Cancel
Save