From 166ae3c570ac5378f1a0bbd4b6e88f247b08edc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Fri, 15 Sep 2023 15:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=20=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/SettleAccount.Application/Bases/ADJ_SERVICE.cs | 4 ---- .../src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs index 10192c0c..f61e4032 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs @@ -184,7 +184,6 @@ public class ADJ_SERVICE : BASE_SERVICE { throw new UserFriendlyException($"导入数据为空","400"); } - foreach (var itm in p_list) { itm.KeyCode = itm.PN + itm.LU.Replace(" ", "").Trim(); @@ -216,7 +215,6 @@ public class ADJ_SERVICE : BASE_SERVICE //foreach (var p in errors1) //{ // errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在{p.PN}数据,不能导入调整表" }); - //} break; case EnumBusinessType.ZhiGongJianHBPO: @@ -224,7 +222,6 @@ public class ADJ_SERVICE : BASE_SERVICE //foreach (var p in errors2) //{ // errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在发货单{p.PN}数据,不能导入调整表" }); - //} break; case EnumBusinessType.BeiJian: @@ -254,7 +251,6 @@ public class ADJ_SERVICE : BASE_SERVICE //foreach (var p in errors6) //{ // errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在发货单{p.PN}数据,不能导入调整表" }); - //} break; diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs index ac088bc2..56853dc3 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs @@ -1761,8 +1761,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers parent: p_parentInvBillNum, preTaxDiff: 0, taxDiff: 0, - clientCode: string.Empty, - realAmt: 0 + clientCode: "C004", + realAmt: realAmt ); invbill.Site = dtos.FirstOrDefault().Site;