From 533f1bb4c63b45f06f977c860481db02a49dbd01 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 02 八月 2021 15:36:59 +0800
Subject: [PATCH] 今日开发 开发和会员系统接口:订单业务类型列表接口、根据会员id和时间段查询已经付款的订单
---
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