|
|
@@ -541,8 +541,8 @@ public class VerificationServiceImpl extends CommonBaseServiceImpl<VerificationM
|
|
|
newCustomerIn.setUpdaterId(BaseContextHolder.getUserId());
|
|
|
newCustomerIn.setUpdaterName(BaseContextHolder.getUserName());
|
|
|
newCustomerIn.setUpdateTime(new Date());
|
|
|
- newCustomerIn.setCu_recamount(recamountIn-amount1);
|
|
|
- newCustomerIn.setCu_leftamount(beginapamountIn-beginprepayamountIn+recamountIn-amount1-preamountIn);
|
|
|
+ newCustomerIn.setCu_recamount(recamountIn+amount1);
|
|
|
+ newCustomerIn.setCu_leftamount(beginapamountIn-beginprepayamountIn+recamountIn+amount1-preamountIn);
|
|
|
recbalanceMapper.updateCustomerByPrimaryKeySelective(newCustomerIn);
|
|
|
|
|
|
Customer newCustomerOut = new Customer();
|
|
|
@@ -841,8 +841,8 @@ public class VerificationServiceImpl extends CommonBaseServiceImpl<VerificationM
|
|
|
newVendorIn.setUpdaterId(BaseContextHolder.getUserId());
|
|
|
newVendorIn.setUpdaterName(BaseContextHolder.getUserName());
|
|
|
newVendorIn.setUpdateTime(new Date());
|
|
|
- newVendorIn.setVe_payamount(payamountIn+amount1);
|
|
|
- newVendorIn.setVe_leftamount(beginapamountIn-beginprepayamountIn+payamountIn+amount1-preamountIn);
|
|
|
+ newVendorIn.setVe_payamount(payamountIn-amount1);
|
|
|
+ newVendorIn.setVe_leftamount(beginapamountIn-beginprepayamountIn+payamountIn-amount1-preamountIn);
|
|
|
paybalanceMapper.updateVendorByPrimaryKeySelective(newVendorIn);
|
|
|
|
|
|
Vendor newVendorOut = new Vendor();
|