|
@@ -817,7 +817,7 @@ public class ReceiptService extends BaseService<RecPay> {
|
|
|
// 插入资金流水
|
|
// 插入资金流水
|
|
|
MoneyAccountItem moneyAccountItem = new MoneyAccountItem();
|
|
MoneyAccountItem moneyAccountItem = new MoneyAccountItem();
|
|
|
moneyAccountItem.setMacId(recPayItem.getMacId()).setFlowType(Constant.FlowType.SHOU_FU_KUAN.getName())
|
|
moneyAccountItem.setMacId(recPayItem.getMacId()).setFlowType(Constant.FlowType.SHOU_FU_KUAN.getName())
|
|
|
- .setInvoiceId(recPayItem.getItemId()).setAmtInflow(recPayItem.getAmtPay()).setAccDate(recPayVO.getAccDate())
|
|
|
|
|
|
|
+ .setInvoiceId(recPayItem.getItemId()).setAmtInflow(recPayItem.getAmtPay().negate()).setAccDate(recPayVO.getAccDate())
|
|
|
.setMakeStaff(recPayItem.getMakeStaff()).setCpId(recPayItem.getCpId());
|
|
.setMakeStaff(recPayItem.getMakeStaff()).setCpId(recPayItem.getCpId());
|
|
|
moneyAccountItemMapper.insert(moneyAccountItem);
|
|
moneyAccountItemMapper.insert(moneyAccountItem);
|
|
|
|
|
|
|
@@ -887,7 +887,7 @@ public class ReceiptService extends BaseService<RecPay> {
|
|
|
// 插入资金流水
|
|
// 插入资金流水
|
|
|
MoneyAccountItem moneyAccountItem = new MoneyAccountItem();
|
|
MoneyAccountItem moneyAccountItem = new MoneyAccountItem();
|
|
|
moneyAccountItem.setMacId(recPayItem.getMacId()).setFlowType(Constant.FlowType.SHOU_FU_KUAN.getName())
|
|
moneyAccountItem.setMacId(recPayItem.getMacId()).setFlowType(Constant.FlowType.SHOU_FU_KUAN.getName())
|
|
|
- .setInvoiceId(recPayItem.getItemId()).setAmtInflow(recPayItem.getAmtPay()).setAccDate(recPayVO.getAccDate())
|
|
|
|
|
|
|
+ .setInvoiceId(recPayItem.getItemId()).setAmtInflow(recPayItem.getAmtPay().negate()).setAccDate(recPayVO.getAccDate())
|
|
|
.setMakeStaff(recPayItem.getMakeStaff()).setCpId(recPayItem.getCpId());
|
|
.setMakeStaff(recPayItem.getMakeStaff()).setCpId(recPayItem.getCpId());
|
|
|
moneyAccountItemMapper.insert(moneyAccountItem);
|
|
moneyAccountItemMapper.insert(moneyAccountItem);
|
|
|
|
|
|