|
|
|
@@ -70,7 +70,7 @@ public class WxCardSpendServiceImpl implements WxCardSpendService { |
|
|
|
Integer subsidyRate = 0; |
|
|
|
if(couponMerchant.getParameter() != null) { |
|
|
|
try { |
|
|
|
subsidyRate = Integer.valueOf(couponMerchant.getParameter()); |
|
|
|
subsidyRate = 10000 - Integer.valueOf(couponMerchant.getParameter()); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("couponmerchant subidy rate not found: " + cardInfo.getCouponId()); |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
|