1、新增预任务生成帮助类

2、齐套配送接口参数调整
This commit is contained in:
yang.lee
2023-11-23 14:13:03 +08:00
parent 242ec34a9a
commit 71c4dbd254
8 changed files with 217 additions and 37 deletions

View File

@@ -28,7 +28,7 @@ namespace Tnb.WarehouseMgr
/// 采购收货、销售发货,通用业务类
/// </summary>
/// <typeparam name="TSubEntity"></typeparam>
public class WmsPurchaseAndSaleCommonService<TSubEntity> : BaseWareHouseService where TSubEntity : BaseEntity<string>, IPurchaseAndSaleEntity, IPurchaseAndSaleQueryEntity,new()
public class WmsPurchaseAndSaleCommonService<TSubEntity> : BaseWareHouseService where TSubEntity : BaseEntity<string>, IPurchaseAndSaleEntity, IPurchaseAndSaleQueryEntity, new()
{
private readonly ISqlSugarClient _db;
private readonly IUserManager _userManager;
@@ -103,8 +103,7 @@ namespace Tnb.WarehouseMgr
}
}
}
return await Task.FromResult(purchaseDs);
return purchaseDs ?? Enumerable.Empty<TSubEntity>().ToList();
}