Commit 26ec05d5 by 胡懿

修复府库明细新增

parent d8e5192e
......@@ -143,6 +143,7 @@ public class LedgerService extends CrudService<LedgerMapper, Ledger> {
oldLeger.setSum(oldLeger.getSum().add(sum));
oldLeger.preUpdate();
mapper.update(oldLeger);
ledger = oldLeger;
}
for (LedgerInfo ledgerInfo : ledger.getLedgerInfoList()){
if (ledgerInfo.getId() == null){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment