using Yitter.IdGenerator;
namespace Admin.NET.Plugin.AiDOP.Supply;
///
/// 物料需求计划服务
///
[ApiDescriptionSettings(Order = 305, Description = "物料需求计划")]
[Route("api/Supply")]
[AllowAnonymous]
[NonUnify]
public class DemandScheduleService : IDynamicApiController, ITransient
{
private readonly ISqlSugarClient _db;
private readonly SqlSugarRepository _rep;
private readonly UserManager _userManager;
public DemandScheduleService(
ISqlSugarClient db,
SqlSugarRepository rep,
UserManager userManager)
{
_db = db;
_rep = rep;
_userManager = userManager;
}
[DisplayName("物料需求计划列表")]
[HttpGet("demand-schedule/list")]
public async Task