From 2400fa60c9b9265f09fd1ec6cf5698fc0980698b Mon Sep 17 00:00:00 2001 From: Jackwang Date: Wed, 20 Oct 2021 10:38:09 +0800 Subject: [PATCH] =?UTF-8?q?PC=E7=AB=AF-=E5=BF=97=E6=84=BF=E8=80=85-banner?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8E=BB=E6=8E=89banner=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activity/service/impl/ActBannerServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActBannerServiceImpl.java b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActBannerServiceImpl.java index ac80ba8a..a9e29ff1 100644 --- a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActBannerServiceImpl.java +++ b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActBannerServiceImpl.java @@ -107,12 +107,12 @@ public class ActBannerServiceImpl extends BaseServiceImpl baseDao.getBannerStatusNumber()) { +// if (NumConstant.FIVE > baseDao.getBannerStatusNumber()) { updateEntity.setStatus(ActStateConstant.ACT_BANNER_STATUS_GROUNDING); updateById(updateEntity); - } else { - return new Result().error("Banner上架数量不能超过5条"); - } +// } else { +// return new Result().error("Banner上架数量不能超过5条"); +// } // 下架 } else if (ActStateConstant.ACT_BANNER_STATUS_GROUNDING.equals(entity.getStatus())) { updateEntity.setStatus(ActStateConstant.ACT_BANNER_STATUS_UNDERCARRIAGE);