This commit is contained in:
DESKTOP-H2PAFLR\Administrator
2023-08-16 09:51:28 +08:00
parent 6f79a94316
commit 8a28305ffc
13 changed files with 671 additions and 40 deletions

View File

@@ -53,7 +53,8 @@ namespace ZR.Admin.WebApi.Controllers.mes.md
[HttpPost("updateWorkshop")]
public IActionResult UpdateWorkshop([FromBody] MdWorkshop workshop)
{
if(workshop!=null)
workshop.ToUpdate(HttpContext);
int result = mdWorkshopService.UpdateWorkshop(workshop);
return SUCCESS(result);
}