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

Commit 51067f50 authored by 张国柄's avatar 张国柄

+coupon rule comment;

parent f117bc4f
......@@ -15,6 +15,8 @@ public class CandyCouponRuleBuildParam {
private String busiName;
@ApiModelProperty(required = false, value = "适用ID", allowableValues = "适用ID")
private String busiId;
@ApiModelProperty(required = false, value = "备注", allowableValues = "备注")
private String commment;
public Integer getUseScope() {
return useScope;
......@@ -43,6 +45,15 @@ public class CandyCouponRuleBuildParam {
return this;
}
public String getCommment() {
return commment;
}
public CandyCouponRuleBuildParam setCommment(String commment) {
this.commment = commment;
return this;
}
private static final CandyCouponRuleBuildParam obj = new CandyCouponRuleBuildParam();
public static CandyCouponRuleBuildParam getNew() {
......
......@@ -37,7 +37,7 @@
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.addTab(1)" shiro:hasPermission="candy:coupon:mgt:add">
<i class="fa fa-plus"></i> 添加
<i class="fa fa-plus"></i> 新增
</a>
</div>
......
......@@ -222,6 +222,7 @@ public class CandyMgtCouponAdminServiceImpl extends ServiceImpl<CandyMgtCouponMa
initCouponRule.setBusiName(r.getBusiName());
initCouponRule.setBusiId(r.getBusiId());
initCouponRule.setState(1);
initCouponRule.setComment(r.getCommment());
initCouponRuleList.add(initCouponRule);
});
......
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