From 57ebcb39881c6a01cab9fca4870bd4c736e2d5b2 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 19 七月 2021 16:44:34 +0800 Subject: [PATCH] 修改审核问题的时候,右下角的总记录数不变的问题 --- zhengcaioa/zhengcaioa/Controllers/Finance/FiOrderrecievemoneyController.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/Finance/FiOrderrecievemoneyController.cs b/zhengcaioa/zhengcaioa/Controllers/Finance/FiOrderrecievemoneyController.cs index 08ec057..c90fb3d 100644 --- a/zhengcaioa/zhengcaioa/Controllers/Finance/FiOrderrecievemoneyController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/Finance/FiOrderrecievemoneyController.cs @@ -180,11 +180,13 @@ data1.RecordTypeId = "1";//鏀跺叆 data1.Department = ""; - resultEntity = _iFiAccountRecordService.save(data1); + firmAccount.AllIncome = (firmAccount.AllIncome ?? 0) + data1.Money; firmAccount.Balance = (firmAccount.Balance ?? 0) + data1.Money; + data1.AccountMoney = firmAccount.Balance; + resultEntity = _iFiAccountRecordService.save(data1); resultEntity = _fiAccountService.save(firmAccount); scope.Complete(); } -- Gitblit v1.9.1