Browse Source

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

master
sunyuchao 4 years ago
parent
commit
f930c9171c
  1. 8
      epmet-module/gov-project/gov-project-client/src/main/java/com/epmet/dto/form/IcEventCategoryAnalysisFormDTO.java
  2. 6
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.java

8
epmet-module/gov-project/gov-project-client/src/main/java/com/epmet/dto/form/IcEventCategoryAnalysisFormDTO.java

@ -38,16 +38,16 @@ public class IcEventCategoryAnalysisFormDTO {
/** /**
* 查询起始时间 yyyy-MM-dd * 查询起始时间 yyyy-MM-dd
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@NotNull(message = "查询时间为必填项", groups = {TotalPie.class,OrgTotalPie.class}) @NotNull(message = "查询时间为必填项", groups = {TotalPie.class,OrgTotalPie.class})
private Date queryStartTime; private Date queryStartTime;
/** /**
* 查询截止时间 yyyy-MM-dd * 查询截止时间 yyyy-MM-dd
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@NotNull(message = "查询时间为必填项", groups = {TotalPie.class,OrgTotalPie.class}) @NotNull(message = "查询时间为必填项", groups = {TotalPie.class,OrgTotalPie.class})
private Date queryEndTime; private Date queryEndTime;

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

@ -968,7 +968,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);
} }
@ -1101,6 +1103,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