|
@@ -307,7 +307,7 @@ public class PlatformStoreCouponServiceImpl implements PlatformStoreCouponServic
|
|
|
wrapper.lt("coupon.end_date", currentDate);
|
|
wrapper.lt("coupon.end_date", currentDate);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- List<LifeCouponVo> lifeCouponVo = platformStoreCouponMapper.getCouponList(wrapper);
|
|
|
|
|
|
|
+ List<LifeCouponVo> lifeCouponVo = platformStoreCouponMapper.getCouponListWithoutPage(wrapper);
|
|
|
lifeCouponVo.forEach(item -> {
|
|
lifeCouponVo.forEach(item -> {
|
|
|
if (item.getStatus() == 5 && item.getStockQty() > 0) {
|
|
if (item.getStatus() == 5 && item.getStockQty() > 0) {
|
|
|
item.setCouponState("进行中");
|
|
item.setCouponState("进行中");
|
|
@@ -412,7 +412,7 @@ public class PlatformStoreCouponServiceImpl implements PlatformStoreCouponServic
|
|
|
|
|
|
|
|
wrapper.orderByDesc("life.created_time");
|
|
wrapper.orderByDesc("life.created_time");
|
|
|
|
|
|
|
|
- List<LifeGroupBuyMainVo> lifeGroupBuyMainList = platformStoreLifeGroupBuyMainMapper.getLifeGroupBuyMainList(wrapper);
|
|
|
|
|
|
|
+ List<LifeGroupBuyMainVo> lifeGroupBuyMainList = platformStoreLifeGroupBuyMainMapper.getLifeGroupBuyMainListWithoutPage(wrapper);
|
|
|
lifeGroupBuyMainList.forEach(item -> {
|
|
lifeGroupBuyMainList.forEach(item -> {
|
|
|
if (item.getStatus() == 1) {
|
|
if (item.getStatus() == 1) {
|
|
|
item.setCouponState("待审核");
|
|
item.setCouponState("待审核");
|