|
|
|
@@ -126,8 +126,8 @@ public class WxBillOtherDepositServiceImpl implements WxBillOtherDepositService |
|
|
|
record.setId(id); |
|
|
|
WxBillOtherDeposit wxBillOther = wxBillOtherDepositMapper.queryBillList(record).get(0); |
|
|
|
WxPayAccountBill wxPayAccountBill = wxPayAccountBillService.getByTenantId(wxBillOther.getTenantId()); |
|
|
|
computeTotalMoney(wxPayAccountBill, record); |
|
|
|
record.setOwe(record.getRealReceivePay() - record.getPay()); |
|
|
|
computeTotalMoney(wxPayAccountBill, wxBillOther); |
|
|
|
wxBillOther.setOwe(wxBillOther.getRealReceivePay() - wxBillOther.getPay()); |
|
|
|
if (wxBillOther.getShopId() != null) { |
|
|
|
WxShop shop = new WxShop(); |
|
|
|
shop.setId(wxBillOther.getShopId()); |
|
|
|
|