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

Commit ab75caa9 authored by jiangxiulong's avatar jiangxiulong

continue

parent 59bbf6ff
...@@ -53,9 +53,11 @@ public class BannersServiceImpl implements IKylinBannersService { ...@@ -53,9 +53,11 @@ public class BannersServiceImpl implements IKylinBannersService {
if (null != StartTime && null != endTime && !StartTime.isEmpty() && !endTime.isEmpty()) { if (null != StartTime && null != endTime && !StartTime.isEmpty() && !endTime.isEmpty()) {
if (DateUtil.compareStrDay(nowTime, StartTime) < 0) { // 当前时间小雨开始时间 还未开始呢 if (DateUtil.compareStrDay(nowTime, StartTime) < 0) { // 当前时间小雨开始时间 还未开始呢
itBannerList.remove(); itBannerList.remove();
continue;
} }
if (DateUtil.compareStrDay(endTime, nowTime) < 0) { // 解释时间大于当前时间 已过期 if (DateUtil.compareStrDay(endTime, nowTime) < 0) { // 解释时间大于当前时间 已过期
itBannerList.remove(); itBannerList.remove();
continue;
} }
} }
...@@ -71,6 +73,7 @@ public class BannersServiceImpl implements IKylinBannersService { ...@@ -71,6 +73,7 @@ public class BannersServiceImpl implements IKylinBannersService {
} }
if (!pis || null == pList) { if (!pis || null == pList) {
itBannerList.remove(); itBannerList.remove();
continue;
} }
if (bannerInfo.getPromotionType() != 1) { if (bannerInfo.getPromotionType() != 1) {
...@@ -85,6 +88,7 @@ public class BannersServiceImpl implements IKylinBannersService { ...@@ -85,6 +88,7 @@ public class BannersServiceImpl implements IKylinBannersService {
} }
if (!prois || null == proList) { if (!prois || null == proList) {
itBannerList.remove(); itBannerList.remove();
continue;
} }
} }
......
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