diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs new file mode 100644 index 00000000..d3f0ff75 --- /dev/null +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs @@ -0,0 +1,73 @@ +using System; +using System.ComponentModel.DataAnnotations; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; + +namespace Win.Sfs.SettleAccount.Entities.BQ; + +/// +/// BBAC结算明细 +/// +[AllowAnonymous] +[Route("api/settleaccount/[controller]/[action]")] +public class BBAC_SA_DETAIL_SERVICE +{ + #region 对比 + /// + /// BBAC结算与发运比对 + /// + [HttpPost] + public async Task BBACSaSeCompare(JisSaSeCompareRequestDto jisSaSeCompareRequestDto) + { + await Task.CompletedTask; + throw new NotImplementedException(); + } + #endregion +} + +public class JisSaSeCompareRequestDto +{ + /// + /// 期间 + /// + [Display(Name = "期间")] + [Required(ErrorMessage = "{0}不能为空")] + public string Version { get; set; } + + /// + /// 发运开始时间 + /// + [Display(Name = "发运开始时间")] + public DateTime SeStartDateTime { get; set; } + + /// + /// 发运结束时间 + /// + [Display(Name = "发运结束时间")] + public DateTime SeEndDateTime { get; set; } + + /// + /// 下线开始时间 + /// + [Display(Name = "下线开始时间")] + public DateTime DownLineStartDateTime { get; set; } + + /// + /// 下线结束时间 + /// + [Display(Name = "下线结束时间")] + public DateTime DownLineEndDateTime { get; set; } + + /// + /// 零件号 + /// + [Display(Name = "零件号")] + public string LU { get; set; } + + /// + /// 通用码 + /// + [Display(Name = "通用码")] + public string PN { get; set; } +} diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_SA_DETAIL_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_SA_DETAIL_SERVICE.cs new file mode 100644 index 00000000..21e7396d --- /dev/null +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_SA_DETAIL_SERVICE.cs @@ -0,0 +1,26 @@ +using System; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; + +namespace Win.Sfs.SettleAccount.Entities.BQ; + +/// +/// HBPO结算明细 +/// +[AllowAnonymous] +[Route("api/settleaccount/[controller]/[action]")] +public class HBPO_SA_DETAIL_SERVICE +{ + #region 对比 + /// + /// HBPO结算与发运比对 + /// + [HttpPost] + public async Task BBACSaSeCompare(JisSaSeCompareRequestDto jisSaSeCompareRequestDto) + { + await Task.CompletedTask; + throw new NotImplementedException(); + } + #endregion +} diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_DETAIL_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_DETAIL_SERVICE.cs index 852b71ea..1e21d8f3 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_DETAIL_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_DETAIL_SERVICE.cs @@ -14,6 +14,7 @@ using Shouldly; using TaskJob.EventArgs; using Volo.Abp; using Volo.Abp.Caching; +using Volo.Abp.Users; using Win.Abp.Snowflakes; using Win.Sfs.BaseData.ImportExcelCommon; using Win.Sfs.SettleAccount.CommonManagers;