Commit c1e1d5d0 authored by jiaorz's avatar jiaorz

Merge remote-tracking branch 'origin/dev' into dev

parents b49da8af 52141469
...@@ -138,6 +138,9 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> { ...@@ -138,6 +138,9 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> {
log.error("----参数不能为空"); log.error("----参数不能为空");
return ObjectRestResponse.createFailedResult(ResultCode.NULL_CODE,"参数不能为空"); return ObjectRestResponse.createFailedResult(ResultCode.NULL_CODE,"参数不能为空");
} }
if (amout.compareTo(BigDecimal.ZERO)<1){
return ObjectRestResponse.succ();
}
Long time=System.currentTimeMillis(); Long time=System.currentTimeMillis();
List<UserCouponVo> list=mapper.getUserCouponsByType(userId,type,time,channel); List<UserCouponVo> list=mapper.getUserCouponsByType(userId,type,time,channel);
List<UserCouponVo> list1=new ArrayList<>(); List<UserCouponVo> list1=new ArrayList<>();
......
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