Browse Source

先提一版

master
syc 3 years ago
parent
commit
cf53b34dcf
  1. 12
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partyOrg/service/impl/IcPartyActServiceImpl.java

12
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partyOrg/service/impl/IcPartyActServiceImpl.java

@ -323,6 +323,18 @@ public class IcPartyActServiceImpl extends BaseServiceImpl<IcPartyActDao, IcPart
}
return result;
}
public static List<ActAndScheduleListResultDTO> constructHomeSearchData(String startDate,String endDate){
List<ActAndScheduleListResultDTO> result = new ArrayList<>();
if (StringUtils.isNotBlank(startDate) && StringUtils.isNotBlank(endDate)){
List<String> days = DateUtils.getDaysBetween(startDate, endDate);
days.forEach(d -> {
ActAndScheduleListResultDTO dto = new ActAndScheduleListResultDTO();
dto.setDateId(d);
result.add(dto);
});
}
return result;
}
/**
* 党建小助手活动触发为用户推送消息

Loading…
Cancel
Save