소스 검색

优惠券列表修改

zhangchen 4 달 전
부모
커밋
81bf290436
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      alien-store/src/main/java/shop/alien/store/service/impl/LifeDiscountCouponServiceImpl.java

+ 1 - 1
alien-store/src/main/java/shop/alien/store/service/impl/LifeDiscountCouponServiceImpl.java

@@ -855,7 +855,7 @@ public class LifeDiscountCouponServiceImpl extends ServiceImpl<LifeDiscountCoupo
                         record.setStatus(Integer.parseInt(DiscountCouponEnum.HAVE_NOT_STARTED.getValue()));
                     } else if (endResult > 0) {
                         record.setStatus(Integer.parseInt(DiscountCouponEnum.FINISHED.getValue()));
-                    } else if (startResult >= 0 && endResult <= 0) {
+                    } else {
                         record.setStatus(Integer.parseInt(DiscountCouponEnum.UNDER_WAY.getValue()));
                     }
                 }