1
This commit is contained in:
parent
61b23ae4be
commit
a833ac680a
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user