From 2f379fa0f70c436297c0dc99833e5f7886b9e90e Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 1 Apr 2022 16:21:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Report/SettleKBWithCodeDapperReportRepository.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleKBWithCodeDapperReportRepository.cs b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleKBWithCodeDapperReportRepository.cs index c63fef4a..f03615af 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleKBWithCodeDapperReportRepository.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleKBWithCodeDapperReportRepository.cs @@ -62,7 +62,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report " SELECT ROW_NUMBER\n" + " ( ) OVER ( ORDER BY b.EstimateTypeDesc ) AS RowId,\n" + " A.Kanban,--条码号\n" + - " b.MaterialCode SapMaterialCode,--厂内物料号\n" + + " b.MaterialCode,--厂内物料号\n" + " b.MaterialDesc,--物料描述\n" + " b.CustomerPartCode,--客户物料\n" + " b.EstimateTypeDesc,--物料组(车型)\n" + @@ -95,12 +95,12 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report " WHERE\n" + " A.VERSION = '{0}' {1} \n" + " ) TEMP1\n" + - " LEFT JOIN set_backQty temp3 ON temp1.Kanban = temp3.Code and temp1.SapMaterialCode=temp3.MaterialCode \n" + + " LEFT JOIN set_backQty temp3 ON temp1.Kanban = temp3.Code and temp1.MaterialCode=temp3.MaterialCode \n" + " LEFT JOIN ( SELECT Price, --定价\n" + " MaterialCode --厂内物料号\n" + - " FROM Set_PriceList WHERE VERSION = ( SELECT MAX ( VERSION ) FROM Set_PriceList ) ) TEMP2 ON TEMP1.SapMaterialCode = TEMP2.MaterialCode \n" + + " FROM Set_PriceList WHERE VERSION = ( SELECT MAX ( VERSION ) FROM Set_PriceList ) ) TEMP2 ON TEMP1.MaterialCode = TEMP2.MaterialCode \n" + "WHERE\n" + " 1 = 1;";