Browse Source

自动更新事件评价加判断

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

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

Loading…
Cancel
Save