jianghaiqing 3 months ago
commit 96eb875412

@ -58,7 +58,7 @@ namespace DS.WMS.Core.Op.Entity
/// <summary>
/// 类型 1 收 2 发 3 通
/// </summary>
[SugarColumn(ColumnDescription = "类型 1 收 2 发 3 通", IsNullable = false, Length = 10)]
[SugarColumn(ColumnDescription = "类型 1 收 2 发 3 通", IsNullable = false, Length = 30)]
public string Type { get; set; }
/// <summary>

@ -145,7 +145,7 @@ namespace DS.WMS.Core.Op.Method
{
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
var data = tenantDb.Queryable<SeaExportShippingBillTemplate>()
.Where(a => a.Type == type && a.Status == StatusEnum.Enable)
.Where(a => a.Type.Contains(type) && a.Status == StatusEnum.Enable)
.Select<ShippingBillTemplateSelectRes>()
.ToList();
return DataResult<List<ShippingBillTemplateSelectRes>>.Success(data, MultiLanguageConst.DataQuerySuccess);

Loading…
Cancel
Save