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

Commit 18edac74 authored by jiangxiulong's avatar jiangxiulong

null???

parent 2a7b5cdb
......@@ -52,7 +52,8 @@ public class BannersServiceImpl implements IKylinBannersService {
// 时间
String StartTime = bannerInfo.getOnlineStartTime();
String endTime = bannerInfo.getOnlineEndTime();
if (!StartTime.isEmpty() && !endTime.isEmpty()) {
if (null != StartTime && null != endTime && !StartTime.isEmpty() && !endTime.isEmpty()) {
if (DateUtil.compareStrDay(nowTime, StartTime) < 0) { // 当前时间小雨开始时间 还未开始呢
itBannerList.remove();
}
......
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