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);