Commit 6b6cc7ef authored by liudong1993's avatar liudong1993

1

parent 0331ae0c
......@@ -33,6 +33,7 @@ namespace REBORN.Services.FinanceService
public partial class FinancialService
{
private readonly Module.FinanceModule.FinancialModule module = new Module.FinanceModule.FinancialModule();
private readonly Module.FinanceModule.FinancialModule2 module2 = new Module.FinanceModule.FinancialModule2();
/// <summary>
/// 日志逻辑
/// </summary>
......@@ -2442,6 +2443,7 @@ namespace REBORN.Services.FinanceService
string AuditNumber = parm.GetStringValue("AuditNumber");//会计凭证编号
string CheckPeriod = parm.GetStringValue("CheckPeriod");//分摊单 确认对账期
int BankSubjectId = parm.GetInt("BankSubjectId");//流水对账科目ID(2025-07-16 徐总)
decimal IncomeFee = parm.GetDecimal("IncomeFee");//收款单手续费
model.UpdateBy = userInfo.EmployeeId;
model.UpdateTime = DateTime.Now;
var relation = module.GetList(new RB_FinanceRelation() { FinanceId = model.WorkFlowId });
......@@ -2503,7 +2505,11 @@ namespace REBORN.Services.FinanceService
{//处理永乐车行 付款转账手续费
module.SetCarPayFinanceHandFee(new RB_Finance_Extend() { FrID = model.WorkFlowId ?? 0, OriginalFee = model.CarPayFee }, userInfo);
}
return WorkFlowModule.Audit(model.WorkFlowId.Value, model.TradeDate, model.Image, model.emList, model.Description, userInfo, model.tradeWays, model.IsRefundAutoGoBack ?? 0, model.TradeDetailList, model.FdIdList, courseName, payReceiptNo, KingdeeInvoice, KJInvoice, model.AutoFinanceType, model.FinanceMoney, model.FCostTypeId, model.BankAccountId, HelpBranchId, accountNumber, KingdeeClientID, AuditNumber, CheckPeriod, BankSubjectId);
var rapi = WorkFlowModule.Audit(model.WorkFlowId.Value, model.TradeDate, model.Image, model.emList, model.Description, userInfo, model.tradeWays, model.IsRefundAutoGoBack ?? 0, model.TradeDetailList, model.FdIdList, courseName, payReceiptNo, KingdeeInvoice, KJInvoice, model.AutoFinanceType, model.FinanceMoney, model.FCostTypeId, model.BankAccountId, HelpBranchId, accountNumber, KingdeeClientID, AuditNumber, CheckPeriod, BankSubjectId);
if (rapi.resultCode == 1 && IncomeFee > 0) {
module2.UpdateFinanceFee(model.WorkFlowId.Value, IncomeFee, userInfo);
}
return rapi;
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment