Browse Source

发运数据

master
mahao 1 year ago
parent
commit
f3fad0d16c
  1. 1
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs
  2. 4
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/PubSaSeCompareDapperRepository.cs
  3. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs

1
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs

@ -5,7 +5,6 @@ using System.Threading.Tasks;
using Coravel.Invocable; using Coravel.Invocable;
using LinqToDB; using LinqToDB;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using SettleAccount.Domain.BQ; using SettleAccount.Domain.BQ;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;

4
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/PubSaSeCompareDapperRepository.cs

@ -27,11 +27,11 @@ public class PubSaSeCompareDapperRepository : DapperRepository<SettleAccountDbCo
string strSeWhere = string.Empty; string strSeWhere = string.Empty;
if (!string.IsNullOrWhiteSpace(seStartDateTime)) if (!string.IsNullOrWhiteSpace(seStartDateTime))
{ {
strSeWhere = $" AND BillTime >= {seStartDateTime} "; strSeWhere = $" AND BillTime >= '{seStartDateTime}' ";
} }
if (!string.IsNullOrWhiteSpace(seEndDateTime)) if (!string.IsNullOrWhiteSpace(seEndDateTime))
{ {
strSeWhere = $" AND BillTime <= {seEndDateTime} "; strSeWhere = $" AND BillTime <= '{seEndDateTime}' ";
} }
string strSqlText = @$" string strSqlText = @$"
SELECT SELECT

4
code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs

@ -27,9 +27,7 @@ namespace SettleAccount.Job
/// </summary> /// </summary>
private void CreateMapPubSaSeCompare() private void CreateMapPubSaSeCompare()
{ {
CreateMap<PubSaSeCompareDiff, PubSaSeCompareDetailExport>() CreateMap<PubSaSeCompareDiff, PubSaSeCompareDetailExport>();
.ForMember(x => x.ReplaceLU, y => y.MapFrom(y => y.ReplaceLU));
CreateMap<PubSaSeCompareDiff, PUB_SEC_DETAIL>(); CreateMap<PubSaSeCompareDiff, PUB_SEC_DETAIL>();
CreateMap<PubSaSeCompareDetailExport, PubSaSeCompareDetailExportZhiGongJianBBAC>(); CreateMap<PubSaSeCompareDetailExport, PubSaSeCompareDetailExportZhiGongJianBBAC>();

Loading…
Cancel
Save