From 45c0e976bd0864dbf103717b45d68a6e0419f456 Mon Sep 17 00:00:00 2001 From: LR-20210131IOQH\Administrator <jackcold@163.com> Date: 星期日, 27 六月 2021 13:09:34 +0800 Subject: [PATCH] 工资核对状态逻辑修改,3天自动确认;物品添加默认启用; --- zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountExpensesController.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountExpensesController.cs b/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountExpensesController.cs index 7f485b7..a1d3f64 100644 --- a/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountExpensesController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountExpensesController.cs @@ -132,12 +132,14 @@ data.RecordTypeId = "2";//鏀嚭 //data.Department = ""; - resultEntity = _iFiAccountRecordService.save(data); + //resultEntity = _iFiAccountRecordService.save(data); firmAccount.AllExpenses = (firmAccount.AllExpenses ?? 0) + data.Money; firmAccount.Balance = (firmAccount.Balance ?? 0) - data.Money; - + data.AccountMoney = firmAccount.Balance; + + resultEntity = _iFiAccountRecordService.save(data); resultEntity = _fiAccountService.save(firmAccount); scope.Complete(); -- Gitblit v1.9.1