From 3b550112b113056f78c818f593fb367a7b1ee695 Mon Sep 17 00:00:00 2001 From: cjy Date: Wed, 21 Aug 2024 14:48:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E5=8F=91=E9=80=9A=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=94=B9=E4=B8=BA=E5=A4=9A=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DS.WMS.Core/Op/Entity/SeaExportShippingBillTemplate.cs | 2 +- .../DS.WMS.Core/Op/Method/ShippingBillTemplateService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ds-wms-service/DS.WMS.Core/Op/Entity/SeaExportShippingBillTemplate.cs b/ds-wms-service/DS.WMS.Core/Op/Entity/SeaExportShippingBillTemplate.cs index 8112d210..b038a78a 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Entity/SeaExportShippingBillTemplate.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Entity/SeaExportShippingBillTemplate.cs @@ -58,7 +58,7 @@ namespace DS.WMS.Core.Op.Entity /// /// 类型 1 收 2 发 3 通 /// - [SugarColumn(ColumnDescription = "类型 1 收 2 发 3 通", IsNullable = false, Length = 10)] + [SugarColumn(ColumnDescription = "类型 1 收 2 发 3 通", IsNullable = false, Length = 30)] public string Type { get; set; } /// diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/ShippingBillTemplateService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/ShippingBillTemplateService.cs index 09846e78..f7f527fb 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/ShippingBillTemplateService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/ShippingBillTemplateService.cs @@ -145,7 +145,7 @@ namespace DS.WMS.Core.Op.Method { var tenantDb = saasService.GetBizDbScopeById(user.TenantId); var data = tenantDb.Queryable() - .Where(a => a.Type == type && a.Status == StatusEnum.Enable) + .Where(a => a.Type.Contains(type) && a.Status == StatusEnum.Enable) .Select() .ToList(); return DataResult>.Success(data, MultiLanguageConst.DataQuerySuccess);