增加获取工单查询
This commit is contained in:
@@ -67,5 +67,18 @@ namespace ZR.Admin.WebApi.Controllers.MES.pro
|
||||
|
||||
return ToResponse(new ApiResult(200, "success", data));
|
||||
}
|
||||
|
||||
[HttpGet("getworkorderList/{id}")]
|
||||
public IActionResult GetWorkorderList(string id)
|
||||
{
|
||||
List<ProWorkorder> lst = new List<ProWorkorder>();
|
||||
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
lst = proWorkplanService.GetWorkorderList(id);
|
||||
}
|
||||
|
||||
return ToResponse(new ApiResult(200, "success", lst));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user