Browse Source

修改BBAC、HBPO发运数据列

master
mahao 1 year ago
parent
commit
45426cac50
  1. 4
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs
  2. 343
      code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_DETAIL_DTO.cs
  3. 347
      code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_DETAIL_DTO.cs
  4. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/BBACSeSyncAppService.cs
  5. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/HBPOSeSyncAppService.cs
  6. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/BBAC_SE_DETAIL.cs
  7. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/HBPO_SE_DETAIL.cs

4
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs

@ -51,8 +51,8 @@ public class Startup
app.UseEndpoints(endpoints => endpoints.MapHub<PageHub>("/api/hub"));
app.ApplicationServices.UseScheduler(scheduler =>
{
//scheduler.Schedule<HBPOSeSyncAppService>().EveryMinute();
//scheduler.Schedule<BBACSeSyncAppService>().EveryMinute();
scheduler.Schedule<HBPOSeSyncAppService>().EveryMinute();
scheduler.Schedule<BBACSeSyncAppService>().EveryMinute();
scheduler.Schedule<ZhiGongBBACSeSyncAppService>().EveryMinute();
scheduler.Schedule<ZhiGongHBPOSeSyncAppService>().EveryMinute();
scheduler.Schedule<BeiSeSyncAppService>().EveryMinute();

343
code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_DETAIL_DTO.cs

@ -3,157 +3,354 @@ using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
/// <summary>
/// BBAC发运
/// </summary>
public class BBAC_SE_DETAIL_DTO : EntityDto<Guid>
{
/// <summary>
/// BBAC发运
/// 发货单号
/// </summary>
public class BBAC_SE_DETAIL_DTO : EntityDto<Guid>
{
[Display(Name = "发货单号")]
public string WmsBillNum { get; set; }
/// <summary>
/// 期间
/// 单据编号
/// </summary>
[Display(Name = "期间")]
public int Version { set; get; }
[Display(Name = "单据编号")]
public string Num { get; set; }
/// <summary>
/// 发货时间
/// </summary>
[Display(Name = "发货时间")]
public DateTime ShippingDate { set; get; }
public DateTime BillTime { get; set; }
/// <summary>
/// 发货人
/// </summary>
[Display(Name = "发货人")]
public string Oper { get; set; }
/// <summary>
/// 排序单号
/// </summary>
[Display(Name = "排序单号")]
public string OrderNum { get; set; }
/// <summary>
/// 订单序号
/// </summary>
[Display(Name = "订单序号")]
public string Seq { get; set; }
/// <summary>
/// 发运单号
/// 实际生产码
/// </summary>
[Display(Name = "发运单号")]
public string WmsBillNum { set; get; }
[Display(Name = "实际生产码")]
public string RealCode { get; set; }
/// <summary>
/// 订单生产码
/// </summary>
[Display(Name = "订单生产码")]
public string VinCode { get; set; }
/// <summary>
/// 生产码类型
/// </summary>
[Display(Name = "生产码类型")]
public string CodeType { get; set; }
/// <summary>
/// 实际零件号
/// </summary>
[Display(Name = "实际零件号")]
public string RealPartCode { get; set; }
/// <summary>
/// 零件号
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; }
[ExporterHeader(DisplayName = "物料描述")]
public string MaterialDesc { get; set; }
public string PartCode { get; set; }
/// <summary>
/// 批次
/// </summary>
[Display(Name = "批次")]
public string Batch { get; set; }
/// <summary>
/// 生产号
/// MES配置码
/// </summary>
[Display(Name = "生产号")]
public string PN { get; set; }
[Display(Name = "MES配置码")]
public string MESConfigCode { get; set; }
/// <summary>
/// 组合键值(LU+PN)
/// 来源库位
/// </summary>
[Display(Name = "组合键值(LU+PN)")]
public string KeyCode { get; set; }
[Display(Name = "来源库位")]
public string FromLoc { get; set; }
/// <summary>
/// 数量
/// 目标库位
/// </summary>
[Display(Name = "数量")]
public decimal Qty { get; set; }
[Display(Name = "目标库位")]
public string ToLoc { get; set; }
/// <summary>
/// 日顺序号
/// 参照订单生产码
/// </summary>
[Display(Name = "日顺序号")]
public string SeqNumber { get; set; }
[Display(Name = "参照订单生产码")]
public string RefVinCode { get; set; }
/// <summary>
/// 小总成号
/// 单据性质
/// </summary>
[Display(Name = "小总成号")]
public string AssemblyCode { get; set; }
[Display(Name = "单据性质")]
public string BillCharacter { get; set; }
/// <summary>
/// 注塑码
/// 发货关联单号
/// </summary>
[Display(Name = "注塑码")]
public string InjectionCode { get; set; }
[Display(Name = "发货关联单号")]
public string RefBillNum { get; set; }
/// <summary>
/// 订单时间
/// Erp目标库位
/// </summary>
[Display(Name = "订单时间")]
public DateTime BeginDate { get; set; }
}
[Display(Name = "Erp目标库位")]
public string ErpToLoc { get; set; }
/// <summary>
/// 导出
/// 原生产码
/// </summary>
public class BBAC_SE_DETAIL_EXPORT_DTO
{
[Display(Name = "原生产码")]
public string OrigiCode { get; set; }
/// <summary>
/// 期间
/// 备注
/// </summary>
[ExporterHeader(DisplayName = "期间")]
public int Version { set; get; }
[Display(Name = "备注")]
public string Remark { get; set; }
/// <summary>
/// 塑件唯一码
/// </summary>
[Display(Name = "塑件唯一码")]
public string UniqueCode { get; set; }
/// <summary>
/// PJS顺序号
/// </summary>
[Display(Name = "PJS顺序号")]
public string PjsNum { get; set; }
/// <summary>
/// 虚拟小总成
/// </summary>
[Display(Name = "虚拟小总成")]
public string MatchNumber { get; set; }
/// <summary>
/// 发货条码
/// </summary>
[Display(Name = "发货条码")]
public string DeliverCode { get; set; }
/// <summary>
/// 客户位置
/// </summary>
[Display(Name = "客户位置")]
public string Position { get; set; }
}
/// <summary>
/// 导出
/// </summary>
public class BBAC_SE_DETAIL_EXPORT_DTO
{
/// <summary>
/// 发货单号
/// </summary>
[Display(Name = "发货单号")]
[ExporterHeader(DisplayName = "发货单号")]
public string WmsBillNum { get; set; }
/// <summary>
/// 单据编号
/// </summary>
[Display(Name = "单据编号")]
[ExporterHeader(DisplayName = "单据编号")]
public string Num { get; set; }
/// <summary>
/// 发货时间
/// </summary>
[Display(Name = "发货时间")]
[ExporterHeader(DisplayName = "发货时间")]
public DateTime ShippingDate { set; get; }
public DateTime BillTime { get; set; }
/// <summary>
/// 发货人
/// </summary>
[Display(Name = "发货人")]
[ExporterHeader(DisplayName = "发货人")]
public string Oper { get; set; }
/// <summary>
/// 排序单号
/// </summary>
[Display(Name = "排序单号")]
[ExporterHeader(DisplayName = "排序单号")]
public string OrderNum { get; set; }
/// <summary>
/// 订单序号
/// </summary>
[Display(Name = "订单序号")]
[ExporterHeader(DisplayName = "订单序号")]
public string Seq { get; set; }
/// <summary>
/// 发运单号
/// 实际生产码
/// </summary>
[ExporterHeader(DisplayName = "发运单号")]
public string WmsBillNum { set; get; }
[Display(Name = "实际生产码")]
[ExporterHeader(DisplayName = "实际生产码")]
public string RealCode { get; set; }
/// <summary>
/// 订单生产码
/// </summary>
[Display(Name = "订单生产码")]
[ExporterHeader(DisplayName = "订单生产码")]
public string VinCode { get; set; }
/// <summary>
/// 生产码类型
/// </summary>
[Display(Name = "生产码类型")]
[ExporterHeader(DisplayName = "生产码类型")]
public string CodeType { get; set; }
/// <summary>
/// 实际零件号
/// </summary>
[Display(Name = "实际零件号")]
[ExporterHeader(DisplayName = "实际零件号")]
public string RealPartCode { get; set; }
/// <summary>
/// 零件号
/// </summary>
[Display(Name = "零件号")]
[ExporterHeader(DisplayName = "零件号")]
public string LU { get; set; }
public string PartCode { get; set; }
/// <summary>
/// 批次
/// </summary>
[Display(Name = "批次")]
[ExporterHeader(DisplayName = "批次")]
public string Batch { get; set; }
/// <summary>
/// MES配置码
/// </summary>
[Display(Name = "MES配置码")]
[ExporterHeader(DisplayName = "MES配置码")]
public string MESConfigCode { get; set; }
/// <summary>
/// 来源库位
/// </summary>
[Display(Name = "来源库位")]
[ExporterHeader(DisplayName = "来源库位")]
public string FromLoc { get; set; }
/// <summary>
/// 目标库位
/// </summary>
[Display(Name = "目标库位")]
[ExporterHeader(DisplayName = "目标库位")]
public string ToLoc { get; set; }
/// <summary>
/// 生产号
/// 参照订单生产码
/// </summary>
[ExporterHeader(DisplayName = "生产号")]
public string PN { get; set; }
[Display(Name = "参照订单生产码")]
[ExporterHeader(DisplayName = "参照订单生产码")]
public string RefVinCode { get; set; }
/// <summary>
/// 组合键值(LU+PN)
/// 单据性质
/// </summary>
[ExporterHeader(DisplayName = "日顺序号")]
public string KeyCode { get; set; }
[Display(Name = "单据性质")]
[ExporterHeader(DisplayName = "单据性质")]
public string BillCharacter { get; set; }
/// <summary>
/// 数量
/// 发货关联单号
/// </summary>
[ExporterHeader(DisplayName = "日顺序号")]
public decimal Qty { get; set; }
[Display(Name = "发货关联单号")]
[ExporterHeader(DisplayName = "发货关联单号")]
public string RefBillNum { get; set; }
/// <summary>
/// 日顺序号
/// Erp目标库位
/// </summary>
[Display(Name = "日顺序号")]
[ExporterHeader(DisplayName = "日顺序号")]
public string SeqNumber { get; set; }
[Display(Name = "Erp目标库位")]
[ExporterHeader(DisplayName = "Erp目标库位")]
public string ErpToLoc { get; set; }
/// <summary>
/// 小总成号
/// 原生产码
/// </summary>
[Display(Name = "小总成号")]
[ExporterHeader(DisplayName = "小总成号")]
public string AssemblyCode { get; set; }
[Display(Name = "原生产码")]
[ExporterHeader(DisplayName = "原生产码")]
public string OrigiCode { get; set; }
/// <summary>
/// 注塑码
///
/// </summary>
[Display(Name = "注塑码")]
[ExporterHeader(DisplayName = "注塑码")]
public string InjectionCode { get; set; }
[Display(Name = "注")]
[ExporterHeader(DisplayName = "注")]
public string Remark { get; set; }
/// <summary>
/// 订单时间
/// 塑件唯一码
/// </summary>
[Display(Name = "订单时间")]
[ExporterHeader(DisplayName = "订单时间")]
public DateTime BeginDate { get; set; }
}
[Display(Name = "塑件唯一码")]
[ExporterHeader(DisplayName = "塑件唯一码")]
public string UniqueCode { get; set; }
/// <summary>
/// PJS顺序号
/// </summary>
[Display(Name = "PJS顺序号")]
[ExporterHeader(DisplayName = "PJS顺序号")]
public string PjsNum { get; set; }
/// <summary>
/// 虚拟小总成
/// </summary>
[Display(Name = "虚拟小总成")]
[ExporterHeader(DisplayName = "虚拟小总成")]
public string MatchNumber { get; set; }
/// <summary>
/// 发货条码
/// </summary>
[Display(Name = "发货条码")]
[ExporterHeader(DisplayName = "发货条码")]
public string DeliverCode { get; set; }
/// <summary>
/// 客户位置
/// </summary>
[Display(Name = "客户位置")]
[ExporterHeader(DisplayName = "客户位置")]
public string Position { get; set; }
}

347
code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_DETAIL_DTO.cs

@ -1,177 +1,356 @@
using Magicodes.ExporterAndImporter.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
/// <summary>
/// HBPO发运单
/// </summary>
public class HBPO_SE_DETAIL_DTO : EntityDto<Guid>
{
/// <summary>
/// HBPO发运单
/// 发货单号
/// </summary>
public class HBPO_SE_DETAIL_DTO : EntityDto<Guid>
{
[Display(Name = "发货单号")]
public string WmsBillNum { get; set; }
/// <summary>
/// 期间
/// 单据编号
/// </summary>
[Display(Name = "期间")]
public int Version { set; get; }
[Display(Name = "单据编号")]
public string Num { get; set; }
/// <summary>
/// 发货时间
/// </summary>
[Display(Name = "发货时间")]
public DateTime ShippingDate { set; get; }
public DateTime BillTime { get; set; }
/// <summary>
/// 发货人
/// </summary>
[Display(Name = "发货人")]
public string Oper { get; set; }
/// <summary>
/// 排序单号
/// </summary>
[Display(Name = "排序单号")]
public string OrderNum { get; set; }
/// <summary>
/// 订单序号
/// </summary>
[Display(Name = "订单序号")]
public string Seq { get; set; }
/// <summary>
/// 实际生产码
/// </summary>
[Display(Name = "实际生产码")]
public string RealCode { get; set; }
/// <summary>
/// 订单生产码
/// </summary>
[Display(Name = "订单生产码")]
public string VinCode { get; set; }
/// <summary>
/// 生产码类型
/// </summary>
[Display(Name = "生产码类型")]
public string CodeType { get; set; }
/// <summary>
/// 发运单号
/// 实际零件
/// </summary>
[Display(Name = "发运单号")]
public string WmsBillNum { set; get; }
[Display(Name = "实际零件号")]
public string RealPartCode { get; set; }
/// <summary>
/// 零件号
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; }
public string PartCode { get; set; }
/// <summary>
/// 生产号
/// 批次
/// </summary>
[Display(Name = "生产号")]
public string PN { get; set; }
[Display(Name = "批次")]
public string Batch { get; set; }
/// <summary>
/// 组合键值(LU+PN)
/// MES配置码
/// </summary>
[Display(Name = "组合键值(LU+PN)")]
public string KeyCode { get; set; }
[Display(Name = "MES配置码")]
public string MESConfigCode { get; set; }
/// <summary>
/// 数量
/// 来源库位
/// </summary>
[Display(Name = "数量")]
public decimal Qty { get; set; }
[Display(Name = "来源库位")]
public string FromLoc { get; set; }
/// <summary>
/// 日顺序号
/// 目标库位
/// </summary>
[Display(Name = "日顺序号")]
public string SeqNumber { get; set; }
[Display(Name = "目标库位")]
public string ToLoc { get; set; }
/// <summary>
/// 小总成号
/// 参照订单生产码
/// </summary>
[Display(Name = "小总成号")]
public string AssemblyCode { get; set; }
[Display(Name = "参照订单生产码")]
public string RefVinCode { get; set; }
/// <summary>
/// 注塑码
/// 单据性质
/// </summary>
[Display(Name = "注塑码")]
public string InjectionCode { get; set; }
[Display(Name = "单据性质")]
public string BillCharacter { get; set; }
/// <summary>
/// 订单时间
/// 发货关联单号
/// </summary>
[Display(Name = "订单时间")]
public DateTime BeginDate { get; set; }
}
[Display(Name = "发货关联单号")]
public string RefBillNum { get; set; }
/// <summary>
/// 导出
/// Erp目标库位
/// </summary>
public class HBPO_SE_DETAIL_EXPORT_DTO
{
[Display(Name = "Erp目标库位")]
public string ErpToLoc { get; set; }
/// <summary>
/// 发运单号
/// 原生产码
/// </summary>
[Display(Name = "发运单号")]
[ExporterHeader(DisplayName = "JIS单据编号")]
public string WmsBillNum { set; get; }
[Display(Name = "原生产码")]
public string OrigiCode { get; set; }
/// <summary>
/// 发货时间
/// 备注
/// </summary>
[Display(Name = "发货时间")]
[ExporterHeader(DisplayName = "发货时间")]
public DateTime ShippingDate { set; get; }
[Display(Name = "备注")]
public string Remark { get; set; }
/// <summary>
/// 日顺序号
/// 塑件唯一码
/// </summary>
[Display(Name = "塑件唯一码")]
public string UniqueCode { get; set; }
/// <summary>
/// PJS顺序号
/// </summary>
[Display(Name = "PJS顺序号")]
public string PjsNum { get; set; }
/// <summary>
/// 虚拟小总成
/// </summary>
[Display(Name = "虚拟小总成")]
public string MatchNumber { get; set; }
/// <summary>
/// 发货条码
/// </summary>
[Display(Name = "发货条码")]
public string DeliverCode { get; set; }
/// <summary>
/// 客户位置
/// </summary>
[Display(Name = "客户位置")]
public string Position { get; set; }
}
/// <summary>
/// 导出
/// </summary>
public class HBPO_SE_DETAIL_EXPORT_DTO
{
/// <summary>
/// 发货单号
/// </summary>
[Display(Name = "日顺序号")]
[ExporterHeader(DisplayName = "JIS排序单号")]
public string SeqNumber { get; set; }
[Display(Name = "发货单号")]
[ExporterHeader(DisplayName = "发货单号")]
public string WmsBillNum { get; set; }
/// <summary>
/// 单据编号
/// </summary>
[Display(Name = "单据编号")]
[ExporterHeader(DisplayName = "单据编号")]
public string Num { get; set; }
/// <summary>
/// 发货时间
/// </summary>
[Display(Name = "发货时间")]
[ExporterHeader(DisplayName = "发货时间")]
public DateTime BillTime { get; set; }
/// <summary>
/// 发货人
/// </summary>
[Display(Name = "发货人")]
[ExporterHeader(DisplayName = "发货人")]
public string Oper { get; set; }
/// <summary>
/// 排序单号
/// </summary>
[Display(Name = "排序单号")]
[ExporterHeader(DisplayName = "排序单号")]
public string OrderNum { get; set; }
/// <summary>
/// 期间
/// 订单序号
/// </summary>
[Display(Name = "期间")]
[ExporterHeader(DisplayName = "期间")]
public int Version { set; get; }
[Display(Name = "订单序号")]
[ExporterHeader(DisplayName = "订单序号")]
public string Seq { get; set; }
/// <summary>
/// 实际生产码
/// </summary>
[Display(Name = "实际生产码")]
[ExporterHeader(DisplayName = "实际生产码")]
public string RealCode { get; set; }
/// <summary>
/// 订单生产码
/// </summary>
[Display(Name = "订单生产码")]
[ExporterHeader(DisplayName = "订单生产码")]
public string VinCode { get; set; }
/// <summary>
/// 生产码类型
/// </summary>
[Display(Name = "生产码类型")]
[ExporterHeader(DisplayName = "生产码类型")]
public string CodeType { get; set; }
/// <summary>
/// 实际零件号
/// </summary>
[Display(Name = "实际零件号")]
[ExporterHeader(DisplayName = "实际零件号")]
public string RealPartCode { get; set; }
/// <summary>
/// 零件号
/// </summary>
[Display(Name = "零件号")]
[ExporterHeader(DisplayName = "零件号")]
public string LU { get; set; }
public string PartCode { get; set; }
/// <summary>
/// 生产号
/// 批次
/// </summary>
[Display(Name = "生产号")]
[ExporterHeader(DisplayName = "生产号")]
public string PN { get; set; }
[Display(Name = "批次")]
[ExporterHeader(DisplayName = "批次")]
public string Batch { get; set; }
/// <summary>
/// 组合键值(LU+PN)
/// MES配置码
/// </summary>
[Display(Name = "组合键值(LU+PN)")]
[ExporterHeader(DisplayName = "组合键值(LU+PN)")]
public string KeyCode { get; set; }
[Display(Name = "MES配置码")]
[ExporterHeader(DisplayName = "MES配置码")]
public string MESConfigCode { get; set; }
/// <summary>
/// 数量
/// 来源库位
/// </summary>
[Display(Name = "数量")]
[ExporterHeader(DisplayName = "数量")]
public decimal Qty { get; set; }
[Display(Name = "来源库位")]
[ExporterHeader(DisplayName = "来源库位")]
public string FromLoc { get; set; }
/// <summary>
/// 目标库位
/// </summary>
[Display(Name = "目标库位")]
[ExporterHeader(DisplayName = "目标库位")]
public string ToLoc { get; set; }
/// <summary>
/// 参照订单生产码
/// </summary>
[Display(Name = "参照订单生产码")]
[ExporterHeader(DisplayName = "参照订单生产码")]
public string RefVinCode { get; set; }
/// <summary>
/// 单据性质
/// </summary>
[Display(Name = "单据性质")]
[ExporterHeader(DisplayName = "单据性质")]
public string BillCharacter { get; set; }
/// <summary>
/// 小总成号
/// 发货关联单
/// </summary>
[Display(Name = "小总成号")]
[ExporterHeader(DisplayName = "小总成号")]
public string AssemblyCode { get; set; }
[Display(Name = "发货关联单号")]
[ExporterHeader(DisplayName = "发货关联单号")]
public string RefBillNum { get; set; }
/// <summary>
/// 注塑码
/// Erp目标库位
/// </summary>
[Display(Name = "注塑码")]
[ExporterHeader(DisplayName = "注塑码")]
public string InjectionCode { get; set; }
[Display(Name = "Erp目标库位")]
[ExporterHeader(DisplayName = "Erp目标库位")]
public string ErpToLoc { get; set; }
/// <summary>
/// 订单时间
/// 原生产码
/// </summary>
[Display(Name = "订单时间")]
[ExporterHeader(DisplayName = "订单时间")]
public DateTime BeginDate { get; set; }
}
[Display(Name = "原生产码")]
[ExporterHeader(DisplayName = "原生产码")]
public string OrigiCode { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "备注")]
[ExporterHeader(DisplayName = "备注")]
public string Remark { get; set; }
/// <summary>
/// 塑件唯一码
/// </summary>
[Display(Name = "塑件唯一码")]
[ExporterHeader(DisplayName = "塑件唯一码")]
public string UniqueCode { get; set; }
/// <summary>
/// PJS顺序号
/// </summary>
[Display(Name = "PJS顺序号")]
[ExporterHeader(DisplayName = "PJS顺序号")]
public string PjsNum { get; set; }
/// <summary>
/// 虚拟小总成
/// </summary>
[Display(Name = "虚拟小总成")]
[ExporterHeader(DisplayName = "虚拟小总成")]
public string MatchNumber { get; set; }
/// <summary>
/// 发货条码
/// </summary>
[Display(Name = "发货条码")]
[ExporterHeader(DisplayName = "发货条码")]
public string DeliverCode { get; set; }
/// <summary>
/// 客户位置
/// </summary>
[Display(Name = "客户位置")]
[ExporterHeader(DisplayName = "客户位置")]
public string Position { get; set; }
}

2
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/BBACSeSyncAppService.cs

@ -84,6 +84,7 @@ public class BBACSeSyncAppService : ApplicationService, IInvocable
var bbacSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIT_RECORD>, List<BBAC_SE_DETAIL>>(wmsSeRecords);
if (bbacSeDetails.Any())
{
bbacSeDetails.ForEach(bbacSeDetail => bbacSeDetail.KeyCode = bbacSeDetail.PN + bbacSeDetail.LU);
await _bbacSeDetailRepository.InsertManyAsync(bbacSeDetails);
if (syncPositionFlag != null)
@ -131,6 +132,7 @@ public class BBACSeSyncAppService : ApplicationService, IInvocable
var bbacSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIS_RECORD>, List<BBAC_SE_DETAIL>>(wmsRecords);
if (bbacSeDetails.Any())
{
bbacSeDetails.ForEach(bbacSeDetail => bbacSeDetail.KeyCode = bbacSeDetail.PN + bbacSeDetail.LU);
await _bbacSeDetailRepository.InsertManyAsync(bbacSeDetails);
if (syncPositionFlag != null)

2
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/HBPOSeSyncAppService.cs

@ -84,6 +84,7 @@ public class HBPOSeSyncAppService : ApplicationService, IInvocable //IJobService
var hbpoSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIT_RECORD>, List<HBPO_SE_DETAIL>>(wmsRecords);
if (hbpoSeDetails.Any())
{
hbpoSeDetails.ForEach(hbpoSeDetail => hbpoSeDetail.KeyCode = hbpoSeDetail.PN + hbpoSeDetail.LU);
await _hbpoSeDetailRepository.InsertManyAsync(hbpoSeDetails);
if (syncPositionFlag != null)
@ -131,6 +132,7 @@ public class HBPOSeSyncAppService : ApplicationService, IInvocable //IJobService
var hbpoSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIS_RECORD>, List<HBPO_SE_DETAIL>>(wmsRecords);
if (hbpoSeDetails.Any())
{
hbpoSeDetails.ForEach(hbpoSeDetail => hbpoSeDetail.KeyCode = hbpoSeDetail.PN + hbpoSeDetail.LU);
await _hbpoSeDetailRepository.InsertManyAsync(hbpoSeDetails);
if (syncPositionFlag != null)

2
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/BBAC_SE_DETAIL.cs

@ -63,7 +63,7 @@ public class BBAC_SE_DETAIL:SE_BASE
public string Oper { get; set; }
/// <summary>
///
/// 排序单号
/// </summary>
[Display(Name = "排序单号")]
public string OrderNum { get; set; }

2
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/HBPO_SE_DETAIL.cs

@ -62,7 +62,7 @@ public class HBPO_SE_DETAIL :SE_BASE
public string Oper { get; set; }
/// <summary>
///
/// 排序单号
/// </summary>
[Display(Name = "排序单号")]
public string OrderNum { get; set; }

Loading…
Cancel
Save