diff --git a/src/BarCode.Web.Api/Controllers/SerialNumberController.cs b/src/BarCode.Web.Api/Controllers/SerialNumberController.cs index 5af5383..e003ac8 100644 --- a/src/BarCode.Web.Api/Controllers/SerialNumberController.cs +++ b/src/BarCode.Web.Api/Controllers/SerialNumberController.cs @@ -169,7 +169,7 @@ namespace BarCode.Web.Api.Controllers Task.Run(async () => { - await _exportExcelService.ExportList(dto, fileName, loginInfo.UserInfo.UcId, loginInfo, FileDownLoadOrderType.SerialNumberInfo, orgCode); + await _exportExcelService.ExportList(dto, fileName, loginInfo.UserInfo.UcId, loginInfo, FileDownLoadOrderType.SerialNumberInfo, orgCode); }); return Task.FromResult(Result.ReSuccess(res)); diff --git a/src/BarCode.Web.Api/wwwroot/BarCode.Web.Core.xml b/src/BarCode.Web.Api/wwwroot/BarCode.Web.Core.xml index 5872caf..e8b855a 100644 --- a/src/BarCode.Web.Api/wwwroot/BarCode.Web.Core.xml +++ b/src/BarCode.Web.Api/wwwroot/BarCode.Web.Core.xml @@ -3019,116 +3019,6 @@ 第二个序列号 - - - 序列号列表搜索返回参数 - - - - - 物料编码 - - - - - 物料名称 - - - - - 物料规格型号 - - - - - 转换前规格型号 - - - - - 物料条码 - - - - - 序列码 - - - - - 数字序列码 - - - - - 序列码流水号 - - - - - 数量 - - - - - 是否使用 - - - - - 是否使用 - - - - - 箱号 - - - - - 创建人 - - - - - 生成时间 - - - - - 打印次数 - - - - - 下载次数 - - - - - 最新打印时间 - - - - - 最新下载时间 - - - - - 是否允许打印(序列码已经被使用 但没有箱号,那么就是被wms系统拉去使用了,不能再被打印) - - - - - 是否为两件装,为了控制后面的变动,设为整数形,0和1看作1,2代表2件装,3代表三件装 alter by yzh - - - - - 第二个序列号 - - 序列号列表搜索请求参数 diff --git a/src/BarCode.Web.Core/Dto/SerialNumbers/SerialNumberInfoResponse.cs b/src/BarCode.Web.Core/Dto/SerialNumbers/SerialNumberInfoResponse.cs index 5e5b777..22c5623 100644 --- a/src/BarCode.Web.Core/Dto/SerialNumbers/SerialNumberInfoResponse.cs +++ b/src/BarCode.Web.Core/Dto/SerialNumbers/SerialNumberInfoResponse.cs @@ -111,10 +111,12 @@ namespace BarCode.Web.Core.Dto.SerialNumbers /// /// 是否为两件装,为了控制后面的变动,设为整数形,0和1看作1,2代表2件装,3代表三件装 alter by yzh /// + [Ignore] public int IsTwo { get; set; } = 1; /// /// 第二个序列号 /// + [Ignore] public string TwoSerialNumber { get; set; } = string.Empty; } @@ -123,113 +125,113 @@ namespace BarCode.Web.Core.Dto.SerialNumbers /// /// 序列号列表搜索返回参数 /// - public class SerialNumberInfoResponseNoIsTwo - { - /// - /// 物料编码 - /// - [Column("物料编码")] - public string MaterialNumber { get; set; } = string.Empty; - /// - /// 物料名称 - /// - [Column("名称")] - public string MaterialName { get; set; } = string.Empty; - /// - /// 物料规格型号 - /// - [Column("规格型号")] - public string Specifications { get; set; } = string.Empty; - /// - /// 转换前规格型号 - /// - [Column("转换前规格型号")] - public string Old_Specifications { get; set; } = string.Empty; - /// - /// 物料条码 - /// - [Column("条码")] - public string BarCode { get; set; } = string.Empty; - /// - /// 序列码 - /// - [Column("序列码")] - public string SerialNumber { get; set; } = string.Empty; - /// - /// 数字序列码 - /// - [Column("数字序列码")] - public string NumberCode { get; set; } = string.Empty; - /// - /// 序列码流水号 - /// - [Column("序号")] - public long Id { get; set; } - /// - /// 数量 - /// - [Column("数量")] - public int Number { get; set; } = 0; - /// - /// 是否使用 - /// - [Ignore] - public bool IsUse { get; set; } = false; - /// - /// 是否使用 - /// - [Column("是否使用")] - public string IsUseStr { get; set; } = ""; - /// - /// 箱号 - /// - [Column("所在箱号")] - public string Box { get; set; } = string.Empty; - /// - /// 创建人 - /// - [Ignore] - public string Creator { get; set; } = string.Empty; - /// - /// 生成时间 - /// - [Column("生成时间")] - public string CreateTime { get; set; } = string.Empty; - /// - /// 打印次数 - /// - [Column("打印次数")] - public int PrintNumber { get; set; } = 0; - /// - /// 下载次数 - /// - [Column("下载次数")] - public int DownLoadNumber { get; set; } = 0; - /// - /// 最新打印时间 - /// - [Column("最近打印时间")] - public string PrintTime { get; set; } = string.Empty; - /// - /// 最新下载时间 - /// - [Column("最近下载时间")] - public string DownLoadTime { get; set; } = string.Empty; - /// - /// 是否允许打印(序列码已经被使用 但没有箱号,那么就是被wms系统拉去使用了,不能再被打印) - /// - [Ignore] - public bool IsEnablePrint { get; set; } = true; + //public class SerialNumberInfoResponseNoIsTwo + //{ + // /// + // /// 物料编码 + // /// + // [Column("物料编码")] + // public string MaterialNumber { get; set; } = string.Empty; + // /// + // /// 物料名称 + // /// + // [Column("名称")] + // public string MaterialName { get; set; } = string.Empty; + // /// + // /// 物料规格型号 + // /// + // [Column("规格型号")] + // public string Specifications { get; set; } = string.Empty; + // /// + // /// 转换前规格型号 + // /// + // [Column("转换前规格型号")] + // public string Old_Specifications { get; set; } = string.Empty; + // /// + // /// 物料条码 + // /// + // [Column("条码")] + // public string BarCode { get; set; } = string.Empty; + // /// + // /// 序列码 + // /// + // [Column("序列码")] + // public string SerialNumber { get; set; } = string.Empty; + // /// + // /// 数字序列码 + // /// + // [Column("数字序列码")] + // public string NumberCode { get; set; } = string.Empty; + // /// + // /// 序列码流水号 + // /// + // [Column("序号")] + // public long Id { get; set; } + // /// + // /// 数量 + // /// + // [Column("数量")] + // public int Number { get; set; } = 0; + // /// + // /// 是否使用 + // /// + // [Ignore] + // public bool IsUse { get; set; } = false; + // /// + // /// 是否使用 + // /// + // [Column("是否使用")] + // public string IsUseStr { get; set; } = ""; + // /// + // /// 箱号 + // /// + // [Column("所在箱号")] + // public string Box { get; set; } = string.Empty; + // /// + // /// 创建人 + // /// + // [Ignore] + // public string Creator { get; set; } = string.Empty; + // /// + // /// 生成时间 + // /// + // [Column("生成时间")] + // public string CreateTime { get; set; } = string.Empty; + // /// + // /// 打印次数 + // /// + // [Column("打印次数")] + // public int PrintNumber { get; set; } = 0; + // /// + // /// 下载次数 + // /// + // [Column("下载次数")] + // public int DownLoadNumber { get; set; } = 0; + // /// + // /// 最新打印时间 + // /// + // [Column("最近打印时间")] + // public string PrintTime { get; set; } = string.Empty; + // /// + // /// 最新下载时间 + // /// + // [Column("最近下载时间")] + // public string DownLoadTime { get; set; } = string.Empty; + // /// + // /// 是否允许打印(序列码已经被使用 但没有箱号,那么就是被wms系统拉去使用了,不能再被打印) + // /// + // [Ignore] + // public bool IsEnablePrint { get; set; } = true; - /// - /// 是否为两件装,为了控制后面的变动,设为整数形,0和1看作1,2代表2件装,3代表三件装 alter by yzh - /// - public int IsTwo { get; set; } = 1; - /// - /// 第二个序列号 - /// - public string TwoSerialNumber { get; set; } = string.Empty; + // /// + // /// 是否为两件装,为了控制后面的变动,设为整数形,0和1看作1,2代表2件装,3代表三件装 alter by yzh + // /// + // public int IsTwo { get; set; } = 1; + // /// + // /// 第二个序列号 + // /// + // public string TwoSerialNumber { get; set; } = string.Empty; - } + //} }