Commit 17898dde authored by hezhen's avatar hezhen

123

parent 9643b1d7
...@@ -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