This commit is contained in:
gcw_MV9p2JJN 2026-01-12 11:27:54 +08:00
parent d823351e8f
commit c179af0480
2 changed files with 8 additions and 8 deletions

View File

@ -201,9 +201,9 @@ namespace MDM.Controllers.Process
// 查询某个工序下的流程
[HttpGet("get_operation_flow_list")]
public IActionResult GetOperationFlowList(string routing_code, string operation_code)
public IActionResult GetOperationFlowList(string? routing_code, string? operation_code)
{
var response = _ProcessOperationService.GetOperationFlowList(routing_code, operation_code);
var response = _ProcessOperationService.GetOperationFlowList(routing_code??"", operation_code??"");
return SUCCESS(response);
}
@ -233,9 +233,9 @@ namespace MDM.Controllers.Process
/// <param name="parm"></param>
/// <returns></returns>
[HttpGet("search_material_errorproof_dict")]
public IActionResult SearchMaterialErrorproofDict(string error_proof_rule_code)
public IActionResult SearchMaterialErrorproofDict(string? error_proof_rule_code)
{
var response = _ProcessOperationService.SearchMaterialErrorproofDict(error_proof_rule_code);
var response = _ProcessOperationService.SearchMaterialErrorproofDict(error_proof_rule_code??"");
return SUCCESS(response);
}

View File

@ -48,9 +48,9 @@ namespace MDM.Controllers.Process
//TODO 查询工艺路线绑定工序
[HttpGet("queryProcess")]
public IActionResult QueryProcess(string RoutingCode)
public IActionResult QueryProcess(string? RoutingCode)
{
var response = _ProcessRoutingService.QueryProcess(RoutingCode);
var response = _ProcessRoutingService.QueryProcess(RoutingCode??"");
return SUCCESS(response);
}
@ -124,9 +124,9 @@ namespace MDM.Controllers.Process
/// <param name="material_info">物料编码或者物料名称</param>
/// <returns></returns>
[HttpGet("search_material_info")]
public IActionResult SearchMaterialInfo(string material_info)
public IActionResult SearchMaterialInfo(string? material_info)
{
var response = _ProcessRoutingService.SearchMaterialInfo(material_info);
var response = _ProcessRoutingService.SearchMaterialInfo(material_info??"");
return SUCCESS(response);
}