记得上下班打卡 | git大法好,push需谨慎

Commit 6e160be7 authored by jiangxiulong's avatar jiangxiulong

演出日历列表开始时间修改

parent 833c33da
......@@ -281,12 +281,13 @@ public class KylinPerformancesServiceImpl extends ServiceImpl<KylinPerformancesM
public List calendarPerformances(String yearMonthDay, String cityName) {
List<KylinPerformanceVo> performancesList = dataUtils.getPerformancesListOfcityName(cityName);
String yearMonthDayStart = yearMonthDay.concat(" 00:00:00");
String yearMonthDayEnd = yearMonthDay.concat(" 23:59:59");
List<KylinPerformanceVo> performancesListNew = new ArrayList();
for (KylinPerformanceVo info : performancesList) {
String timeStart = info.getTimeStart();
if (-1 != DateUtil.compareStrDay(timeStart, yearMonthDayEnd) && 1 != DateUtil.compareStrDay(timeStart, yearMonthDayEnd)) {
if (-1 != DateUtil.compareStrDay(timeStart, yearMonthDayStart) && 1 != DateUtil.compareStrDay(timeStart, yearMonthDayEnd)) {
performancesListNew.add(info);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment