From e39748ba37c3b8ab0000a609ff87c2e7b0299ff4 Mon Sep 17 00:00:00 2001 From: zhaoxinyu Date: Tue, 26 Dec 2023 10:25:41 +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 --- .../SettleAccountJob/BalanceSum/BalanceSumDapperRepository.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/BalanceSum/BalanceSumDapperRepository.cs b/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/BalanceSum/BalanceSumDapperRepository.cs index b1c60e13..c3b2fd58 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/BalanceSum/BalanceSumDapperRepository.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/BalanceSum/BalanceSumDapperRepository.cs @@ -429,7 +429,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report "when ISNULL(A.qty,0) ='2023-09-25 00:00:00' group by PN,CustomerPartCodeNoSpace,LU) a full join\n" + "(select PN,LU,CustomerPartCodeNoSpace,sum(Qty) qty ,MAX(CreationTime) EDITime from Set_BBAC_SE_EDI group by PN,CustomerPartCodeNoSpace,LU) b on a.PN=b.PN and a.CustomerPartCodeNoSpace=b.CustomerPartCodeNoSpace\n" + "WHERE isnull(A.qty,0)<>isnull(B.qty,0) ) temp order by EDITime,BillTime\n"; var entities = DbConnection.Query(sql, null, null, false, 1200, null).ToList(); @@ -459,7 +459,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report "when ISNULL(A.qty,0) ='2023-09-25 00:00:00' where BusinessType=2 group by PN,CustomerPartCodeNoSpace,LU) a full join\n" + "(select PN,LU,CustomerPartCodeNoSpace,sum(Qty) qty ,MAX(CreationTime) EDITime from Set_HBPO_SE_EDI group by PN,CustomerPartCodeNoSpace,LU) b on a.PN=b.PN and a.CustomerPartCodeNoSpace=b.CustomerPartCodeNoSpace\n" + "WHERE isnull(A.qty,0)<>isnull(B.qty,0) ) temp order by EDITime,BillTime\n"; var entities = DbConnection.Query(sql, null, null, false, 1200, null).ToList();