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();