增加获取工单查询

This commit is contained in:
xiaowei.song
2023-11-15 14:38:10 +08:00
parent 79b8251d8e
commit f3712b58e7
5 changed files with 55 additions and 0 deletions

View File

@@ -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));
}
}
}