diff --git a/ds-wms-service/DS.WMS.Core/Sys/Dtos/SysPrintTemplateReq.cs b/ds-wms-service/DS.WMS.Core/Sys/Dtos/SysPrintTemplateReq.cs index eca7207d..fb5830d3 100644 --- a/ds-wms-service/DS.WMS.Core/Sys/Dtos/SysPrintTemplateReq.cs +++ b/ds-wms-service/DS.WMS.Core/Sys/Dtos/SysPrintTemplateReq.cs @@ -23,6 +23,10 @@ namespace DS.WMS.Core.Sys.Dtos /// public long ModuleId { get; set; } /// + /// 打印模块唯一编码 + /// + public string ModuleCode { get; set; } + /// ///打印模板唯一编码 /// [Description("打印模板唯一编码")] diff --git a/ds-wms-service/DS.WMS.Core/Sys/Dtos/SysPrintTemplateRes.cs b/ds-wms-service/DS.WMS.Core/Sys/Dtos/SysPrintTemplateRes.cs index 87d62a9f..7d7e95ed 100644 --- a/ds-wms-service/DS.WMS.Core/Sys/Dtos/SysPrintTemplateRes.cs +++ b/ds-wms-service/DS.WMS.Core/Sys/Dtos/SysPrintTemplateRes.cs @@ -23,6 +23,10 @@ namespace DS.WMS.Core.Sys.Dtos /// public long ModuleId { get; set; } /// + /// 打印模块唯一编码 + /// + public string ModuleCode { get; set; } + /// ///打印模板唯一编码 /// [Description("打印模板唯一编码")] diff --git a/ds-wms-service/DS.WMS.Core/Sys/Entity/SysPrintTemplate.cs b/ds-wms-service/DS.WMS.Core/Sys/Entity/SysPrintTemplate.cs index c3815ae2..be628c2a 100644 --- a/ds-wms-service/DS.WMS.Core/Sys/Entity/SysPrintTemplate.cs +++ b/ds-wms-service/DS.WMS.Core/Sys/Entity/SysPrintTemplate.cs @@ -15,6 +15,11 @@ public class SysPrintTemplate : BaseTenantModel [SqlSugar.SugarColumn(ColumnDescription = "打印模块Id", IsNullable = false, DefaultValue = "0")] public long ModuleId { get; set; } /// + /// 打印模块唯一编码 + /// + [SqlSugar.SugarColumn(ColumnDescription = "打印模块唯一编码", IsNullable = false, Length = 100)] + public string ModuleCode { get; set; } + /// ///打印模板唯一编码 /// [Description("打印模板唯一编码")] diff --git a/ds-wms-service/DS.WMS.MainApi/Controllers/BookingGoodsStatusConfigController.cs b/ds-wms-service/DS.WMS.MainApi/Controllers/BookingGoodsStatusConfigController.cs index a6e069d2..06a8b3d1 100644 --- a/ds-wms-service/DS.WMS.MainApi/Controllers/BookingGoodsStatusConfigController.cs +++ b/ds-wms-service/DS.WMS.MainApi/Controllers/BookingGoodsStatusConfigController.cs @@ -62,6 +62,29 @@ public class BookingGoodsStatusConfigController : ApiController var res = _invokeService.GetBookingGoodsStatusConfigInfo(id); return res; } - - + /// + /// 批量删除 + /// + /// 主表Ids + /// + [HttpPost] + [Route("BatchDelBookingStatusConfig")] + public DataResult BatchDelBookingStatusConfig([FromBody] IdModel req) + { + var res = _invokeService.BatchDelBookingStatusConfig(req); + return res; + } + /// + /// 按Excel导入订舱货物状态 + /// + /// Excel文件 + /// + [HttpPost] + [Route("ImportBookingStatusConfigByExcel")] + public async Task> ImportBookingStatusConfigByExcel(IFormFile file) + { + var res = await _invokeService.ImportBookingStatusConfigByExcel(file); + return res; + } + } \ No newline at end of file