|
|
@ -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; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 党建小助手活动触发为用户推送消息 |
|
|
|