|
|
@@ -446,14 +446,15 @@ public class PaybalanceServiceImpl extends CommonBaseServiceImpl<PaybalanceMappe
|
|
|
paybalance.setPb_status(com.usoftchina.saas.commons.po.Status.AUDITED.getDisplay());
|
|
|
paybalance.setPb_statuscode(Status.AUDITED.name());
|
|
|
Pay pay = this.select(Math.toIntExact(paybalance.getId()));
|
|
|
- Subledger subledger = this.changSubledgerUntil(pay.getMain());
|
|
|
- if (subledger.getSl_code() == null){
|
|
|
- subledgerMapper.insertSelective(subledger);
|
|
|
- }else {
|
|
|
- subledgerMapper.updateByPrimaryKeySelective(subledger);
|
|
|
- }
|
|
|
- this.changBankUntil(pay);
|
|
|
- paybalanceMapper.updateByPrimaryKeySelective(paybalance);
|
|
|
+ this.audit(pay);
|
|
|
+// Subledger subledger = this.changSubledgerUntil(pay.getMain());
|
|
|
+// if (subledger.getSl_code() == null){
|
|
|
+// subledgerMapper.insertSelective(subledger);
|
|
|
+// }else {
|
|
|
+// subledgerMapper.updateByPrimaryKeySelective(subledger);
|
|
|
+// }
|
|
|
+// this.changBankUntil(pay);
|
|
|
+// paybalanceMapper.updateByPrimaryKeySelective(paybalance);
|
|
|
}
|
|
|
}
|
|
|
|