1
This commit is contained in:
parent
549d100cc9
commit
61b23ae4be
@ -119,7 +119,7 @@ namespace MDM.Controllers.Plant
|
||||
/// <param name="site_code">工厂code</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("get_factory_site")]
|
||||
public IActionResult GetFactorySite(string site_code)
|
||||
public IActionResult GetFactorySite(string? site_code)
|
||||
{
|
||||
var response = _PlantProductlinebodyService.GetFactorySite(site_code);
|
||||
|
||||
@ -129,7 +129,7 @@ namespace MDM.Controllers.Plant
|
||||
//获取车间
|
||||
|
||||
[HttpGet("get_workshop")]
|
||||
public IActionResult GetWorkShop(string site_code, string workshop_code)
|
||||
public IActionResult GetWorkShop(string? site_code, string? workshop_code)
|
||||
{
|
||||
var response = _PlantProductlinebodyService.GetWorkShop(site_code,workshop_code);
|
||||
|
||||
|
||||
@ -117,7 +117,7 @@ namespace MDM.Controllers.Plant
|
||||
/// <param name="site_code">工厂code</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("get_factory_site")]
|
||||
public IActionResult GetFactorySite(string site_code)
|
||||
public IActionResult GetFactorySite(string? site_code)
|
||||
{
|
||||
var response = _PlantWorkstationService.GetFactorySite(site_code);
|
||||
|
||||
@ -127,7 +127,7 @@ namespace MDM.Controllers.Plant
|
||||
|
||||
//获取车间
|
||||
[HttpGet("get_workshop")]
|
||||
public IActionResult GetWorkShop(string site_code,string workshop_code)
|
||||
public IActionResult GetWorkShop(string? site_code,string? workshop_code)
|
||||
{
|
||||
var response = _PlantWorkstationService.GetWorkShop(site_code,workshop_code);
|
||||
|
||||
@ -136,7 +136,7 @@ namespace MDM.Controllers.Plant
|
||||
|
||||
//获取产线
|
||||
[HttpGet("get_productlinebody")]
|
||||
public IActionResult GetProductlinebody(string site_code, string workshop_code,string linecode)
|
||||
public IActionResult GetProductlinebody(string? site_code, string? workshop_code,string? linecode)
|
||||
{
|
||||
var response = _PlantWorkstationService.GetPlantProductlinebodies(site_code, workshop_code,linecode);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user