|
@@ -117,7 +117,7 @@ public class CollectionPaymentServiceImpl implements CollectionPaymentService {
|
|
|
customerInfoDO1.setCustomer(insertDO.getReceivingWithdrawingPeople());
|
|
|
CustomerInfoDO customerInfoDO = customerInfoMapper.selectOne(customerInfoDO1);
|
|
|
if (customerInfoDO != null) {
|
|
|
- customerInfoDO.setYiAmount(customerInfoDO.getYiAmount()+insertDO.getDeductionEuro());
|
|
|
+ customerInfoDO.setUnpaidAmount(insertDO.getDeductionEuro()+(customerInfoDO.getUnpaidAmount()!= null?customerInfoDO.getUnpaidAmount():0));
|
|
|
}
|
|
|
customerInfoMapper.updateById(customerInfoDO);
|
|
|
}
|