|
|
|
@@ -109,7 +109,7 @@ public class WxCouponController extends BaseController |
|
|
|
//Assert.notNull(wxCoupon.getName(), "角色名不能为空"); |
|
|
|
//Assert.isTrue(!checkUnique(sysRole.getName(), null), "重复的角色名"); |
|
|
|
if(StringUtils.isNotEmpty(wxCoupon.getSalePriceStr())){ |
|
|
|
wxCoupon.setSalePrice((int)(Double.parseDouble(wxCoupon.getSalePriceStr()))*100); |
|
|
|
wxCoupon.setSalePrice((int)(Double.parseDouble(wxCoupon.getSalePriceStr())*100)); |
|
|
|
} |
|
|
|
if(StringUtils.isNotEmpty(wxCoupon.getUsePriceStr())){ |
|
|
|
wxCoupon.setUsePrice((int)(Double.parseDouble(wxCoupon.getUsePriceStr())*100)); |
|
|
|
|