|
|
|
@@ -120,8 +120,8 @@ public class WxBillPropertyDepositServiceImpl implements WxBillPropertyDepositSe |
|
|
|
|
|
|
|
@Override |
|
|
|
public ResultData saveOrUpdate(WxBillPropertyDeposit record, MallUserInfo user) { |
|
|
|
int receivepay = record.getReceivePay().intValue(); |
|
|
|
int pay = record.getPay().intValue(); |
|
|
|
int receivepay = record.getReceivePay()==null?0:record.getReceivePay().intValue(); |
|
|
|
int pay = record.getPay()==null?0:record.getPay().intValue(); |
|
|
|
if(pay>receivepay){ |
|
|
|
return new ResultData(ErrorCode.BILL_PAY_ERROR.getCode(), "实收金额不能大于实际应收金额"); |
|
|
|
} |
|
|
|
|