Commit 79448311 authored by zhengyi's avatar zhengyi

bug修复

parent ef13a841
...@@ -1273,7 +1273,9 @@ public class CouponServiceImpl extends AbstractService<CouponMapper, CouponDO> i ...@@ -1273,7 +1273,9 @@ public class CouponServiceImpl extends AbstractService<CouponMapper, CouponDO> i
if (pageReqVO.getStatusList().size() == 1){ if (pageReqVO.getStatusList().size() == 1){
pageReqVO.setStatusList(null); pageReqVO.setStatusList(null);
}else { }else {
pageReqVO.getStatusList().remove(2); // 这里调用的方法需要传包装类型,传常量2是另一种执行逻辑,所以需要将状态2重新定义为包装类型
Integer status = 2;
pageReqVO.getStatusList().remove(status);
pageReqVO.setIncludeExpiredStatus(true); pageReqVO.setIncludeExpiredStatus(true);
} }
} }
......
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