From 2369258bc0b452cf3cab2dd5e8e2d9fde112b8d0 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 26 七月 2021 16:17:25 +0800
Subject: [PATCH] 今日开发 加班申请· 统计报表:没有任何工作的人,不显示。显示人员的 部门 职位 姓名 工作时间 在计算考勤的时候只有有加班申请的加班才算加班
---
zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs b/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs
index 24b5206..0d3ef77 100644
--- a/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs
+++ b/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs
@@ -143,12 +143,15 @@
data.RecordTypeId = "1";//鏀跺叆
data.Department = "";
-
- resultEntity = _iFiAccountRecordService.save(data);
+
firmAccount.AllIncome = (firmAccount.AllIncome ?? 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