using Yitter.IdGenerator;
namespace Admin.NET.Plugin.AiDOP.Production;
///
/// 排产异常记录服务 🏭
/// 路由前缀:/api/Production/schedule-exception/...
///
[ApiDescriptionSettings(Order = 267, Description = "排产异常记录")]
[Route("api/Production")]
[AllowAnonymous]
[NonUnify]
public class ScheduleExceptionService : IDynamicApiController, ITransient
{
private const string C = "utf8mb4_general_ci";
private readonly ISqlSugarClient _db;
private readonly SqlSugarRepository _rep;
public ScheduleExceptionService(ISqlSugarClient db, SqlSugarRepository rep)
{
_db = db;
_rep = rep;
}
// ══════════════════════════════════════════════════════════════
// 列表 GET /api/Production/schedule-exception/list
// ══════════════════════════════════════════════════════════════
/// 排产异常分页列表(ScheduleExceptionMaster + ItemMaster.Descr1)
[DisplayName("排产异常记录列表")]
[HttpGet("schedule-exception/list")]
public async Task