|
@@ -277,7 +277,7 @@ namespace Business.ResourceExamineManagement
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 生产排产
|
|
/// 生产排产
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
- private readonly ProductionScheduleAppService _productionScheduleAppService;
|
|
|
|
|
|
|
+ private readonly ProdScheduleAppService _prodScheduleAppService;
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 优先级
|
|
/// 优先级
|
|
@@ -357,7 +357,7 @@ namespace Business.ResourceExamineManagement
|
|
|
MorderAppService morderAppService,
|
|
MorderAppService morderAppService,
|
|
|
BusinessBangDbContext businessBangDbContext,
|
|
BusinessBangDbContext businessBangDbContext,
|
|
|
BusinessDbContext businessDbContext,
|
|
BusinessDbContext businessDbContext,
|
|
|
- ProductionScheduleAppService productionScheduleAppService,
|
|
|
|
|
|
|
+ ProdScheduleAppService prodScheduleAppService,
|
|
|
ISqlRepository<RoutingOpDetail> routingOpDetail,
|
|
ISqlRepository<RoutingOpDetail> routingOpDetail,
|
|
|
ISqlRepository<ProductStructureMaster> productStructureMaster,
|
|
ISqlRepository<ProductStructureMaster> productStructureMaster,
|
|
|
ISqlRepository<WorkOrdRouting> workOrdRouting,
|
|
ISqlRepository<WorkOrdRouting> workOrdRouting,
|
|
@@ -429,7 +429,7 @@ namespace Business.ResourceExamineManagement
|
|
|
_morderAppService = morderAppService;
|
|
_morderAppService = morderAppService;
|
|
|
_businessBangDbContext = businessBangDbContext;
|
|
_businessBangDbContext = businessBangDbContext;
|
|
|
_businessDbContext = businessDbContext;
|
|
_businessDbContext = businessDbContext;
|
|
|
- _productionScheduleAppService = productionScheduleAppService;
|
|
|
|
|
|
|
+ _prodScheduleAppService = prodScheduleAppService;
|
|
|
_routingOpDetail = routingOpDetail;
|
|
_routingOpDetail = routingOpDetail;
|
|
|
_productStructureMaster = productStructureMaster;
|
|
_productStructureMaster = productStructureMaster;
|
|
|
_workOrdRouting = workOrdRouting;
|
|
_workOrdRouting = workOrdRouting;
|
|
@@ -2153,5 +2153,17 @@ namespace Business.ResourceExamineManagement
|
|
|
_rf_serialnumber.Update(model);
|
|
_rf_serialnumber.Update(model);
|
|
|
return Wildcard.Replace(serialNumber, formData);
|
|
return Wildcard.Replace(serialNumber, formData);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 生产排产
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ /// <param name="workOrds"></param>
|
|
|
|
|
+ /// <returns></returns>
|
|
|
|
|
+ /// <exception cref="NotImplementedException"></exception>
|
|
|
|
|
+ public async Task<string> ProductionSchedule(List<string> workOrds)
|
|
|
|
|
+ {
|
|
|
|
|
+ await _prodScheduleAppService.ProductionSchedule(workOrds);
|
|
|
|
|
+ return "ok";
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|