记得上下班打卡 | git大法好,push需谨慎

Commit ca588073 authored by 张国柄's avatar 张国柄

+valid:兑换券兑换有效期+小于等于0验证;

parent 0cf834ab
......@@ -309,7 +309,7 @@ public class CandyMgtCouponAdminController extends BaseController {
case 0:
buildParam.setEventType(0);
buildParam.setEventLimit(null);
if (null == buildParam.getRedeemValidity()) {
if (null == buildParam.getRedeemValidity() || buildParam.getRedeemValidity().compareTo(0) <= 0) {
return AjaxResult.warn("兑换有效期无效");
}
break;
......
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