using Admin.NET.Plugin.AiDOP.Rule;
using Yitter.IdGenerator;
namespace Admin.NET.Plugin.AiDOP.Supply;
///
/// 物料交货计划服务
///
[ApiDescriptionSettings(Order = 306, Description = "物料交货计划")]
[Route("api/Supply")]
[AllowAnonymous]
[NonUnify]
public class DeliveryScheduleService : IDynamicApiController, ITransient
{
private readonly ISqlSugarClient _db;
private readonly SqlSugarRepository _rep;
private readonly UserManager _userManager;
private readonly NumberRuleService _numberRuleService;
private readonly PurchaseRequestMergeService _purchaseRequestMergeService;
private readonly PurchaseOrderTransferService _purchaseOrderTransferService;
private readonly PurchaseRequestExternalPushService _purchaseRequestExternalPushService;
private readonly S3OperationLogService _operationLogService;
private readonly RuleConfigService _ruleConfigService;
public DeliveryScheduleService(
ISqlSugarClient db,
SqlSugarRepository rep,
UserManager userManager,
NumberRuleService numberRuleService,
PurchaseRequestMergeService purchaseRequestMergeService,
PurchaseOrderTransferService purchaseOrderTransferService,
PurchaseRequestExternalPushService purchaseRequestExternalPushService,
S3OperationLogService operationLogService,
RuleConfigService ruleConfigService)
{
_db = db;
_rep = rep;
_userManager = userManager;
_numberRuleService = numberRuleService;
_purchaseRequestMergeService = purchaseRequestMergeService;
_purchaseOrderTransferService = purchaseOrderTransferService;
_purchaseRequestExternalPushService = purchaseRequestExternalPushService;
_operationLogService = operationLogService;
_ruleConfigService = ruleConfigService;
}
[DisplayName("物料交货计划列表")]
[HttpGet("delivery-schedule/list")]
public async Task