This commit is contained in:
gcw_MV9p2JJN 2026-01-12 08:51:46 +08:00
parent 61b23ae4be
commit a833ac680a
4 changed files with 7 additions and 7 deletions

View File

@ -116,9 +116,9 @@ namespace MDM.Controllers.Process
//TODO 下拉工艺路线
[HttpGet("SelectRouting")]
public IActionResult SelectRouting(string routingcode)
public IActionResult SelectRouting(string? routingcode)
{
var response = _ProcessOperationService.SelectRouting(routingcode);
var response = _ProcessOperationService.SelectRouting(routingcode??"");
return SUCCESS(response);
}
@ -159,7 +159,7 @@ namespace MDM.Controllers.Process
[HttpGet("get_flow")]
public IActionResult GetFlow(string? flow_type_code)
{
var response = _ProcessOperationService.GetFlow(flow_type_code);
var response = _ProcessOperationService.GetFlow(flow_type_code??"");
return SUCCESS(response);
}

View File

@ -115,9 +115,9 @@ namespace MDM.Controllers.Process
//TODO 下拉工艺路线
[HttpGet("SelectRouting")]
public IActionResult SelectRouting(string routingcode)
public IActionResult SelectRouting(string? routingcode)
{
var response = _ProcessOperationWorkstationMappingService.SelectRouting(routingcode);
var response = _ProcessOperationWorkstationMappingService.SelectRouting(routingcode??"");
return SUCCESS(response);
}

View File

@ -32,7 +32,7 @@ namespace MDM.Services.IProcessService
List<ProcessOprerationTransitionDict> QueryProcessOprerationTransitionDict(ProcessOprerationTransitionDictQueryDto parm);
List<ProcessFlowList> GetFlow(string? flow_type_code);
List<ProcessFlowList> GetFlow(string flow_type_code);
int BindFlow(ProcessOperationBindFlowDto parm);

View File

@ -203,7 +203,7 @@ namespace MDM.Services.Process
return response;
}
public List<ProcessFlowList> GetFlow(string? flow_type_code)
public List<ProcessFlowList> GetFlow(string flow_type_code)
{
var response = Context.Queryable<ProcessFlowList>()
.WhereIF(!string.IsNullOrEmpty(flow_type_code), m => m.FlowTypeCode.Contains(flow_type_code))