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

Commit 9ff50d36 authored by jiangxiulong's avatar jiangxiulong

banner

parent 7d1b14cc
...@@ -63,20 +63,20 @@ public class BannersServiceImpl implements IKylinBannersService { ...@@ -63,20 +63,20 @@ public class BannersServiceImpl implements IKylinBannersService {
} }
// list // list
if (bannerInfo.getPromotionType() != 1) { List<String> pList = bannerInfo.getPositionList();
List<String> pList = bannerInfo.getPositionList(); Boolean pis = false;
Boolean pis = false; if (null != pList) {
if (null != pList) { for (String positionName : pList) {
for (String positionName : pList) { if (positionName.equals(position)) {
if (positionName.equals(position)) { pis = true;
pis = true;
}
} }
} }
if (!pis || null == pList) { }
itBannerList.remove(); if (!pis || null == pList) {
} itBannerList.remove();
}
if (bannerInfo.getPromotionType() != 1) {
List<String> proList = bannerInfo.getProvincesList(); List<String> proList = bannerInfo.getProvincesList();
Boolean prois = false; Boolean prois = false;
if (null != proList) { if (null != proList) {
......
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