From f3fad0d16c1ecf11dfa2c69d140cf80536dd8d6f Mon Sep 17 00:00:00 2001 From: mahao Date: Fri, 18 Aug 2023 11:43:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=BF=90=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs | 1 - .../SettleAccountJob/Report/PubSaSeCompareDapperRepository.cs | 4 ++-- .../SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs | 4 +--- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs index fbd80e37..a727dc1f 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Coravel.Invocable; using LinqToDB; using Microsoft.AspNetCore.Mvc; -using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using SettleAccount.Domain.BQ; using Volo.Abp.Application.Services; diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/PubSaSeCompareDapperRepository.cs b/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/PubSaSeCompareDapperRepository.cs index e4bb0795..1331cf9b 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/PubSaSeCompareDapperRepository.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/PubSaSeCompareDapperRepository.cs @@ -27,11 +27,11 @@ public class PubSaSeCompareDapperRepository : DapperRepository= {seStartDateTime} "; + strSeWhere = $" AND BillTime >= '{seStartDateTime}' "; } if (!string.IsNullOrWhiteSpace(seEndDateTime)) { - strSeWhere = $" AND BillTime <= {seEndDateTime} "; + strSeWhere = $" AND BillTime <= '{seEndDateTime}' "; } string strSqlText = @$" SELECT diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs index ac93419d..ea66b2d3 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs @@ -27,9 +27,7 @@ namespace SettleAccount.Job /// private void CreateMapPubSaSeCompare() { - CreateMap() - .ForMember(x => x.ReplaceLU, y => y.MapFrom(y => y.ReplaceLU)); - + CreateMap(); CreateMap(); CreateMap();