From 1c5d7b4b5b9d7fab7d10be4775ea5ba4420aeecc Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 03 八月 2021 13:40:11 +0800
Subject: [PATCH] 今日开发 会员提现申请发起接口,会员提现申请审批
---
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