修改质量验收

This commit is contained in:
2023-07-24 19:52:40 +08:00
parent 08b7fd28c8
commit 359e8058fe
2 changed files with 14 additions and 0 deletions
@@ -25,6 +25,8 @@ namespace WebAPI.Controllers.CQMS
try
{
InspectionManagementService.UpdateByInspectionManagementId(model);
//上传附件
SaveAttachFile(model.InspectionId, BLL.Const.InspectionNoticeMenuId, model.AttachUrl);
}
catch (Exception ex)
{
@@ -35,5 +37,16 @@ namespace WebAPI.Controllers.CQMS
return responeData;
}
#endregion
public static void SaveAttachFile(string dataId, string menuId, string url)
{
Model.ToDoItem toDoItem = new Model.ToDoItem
{
MenuId = menuId,
DataId = dataId,
UrlStr = url,
};
APIUpLoadFileService.SaveAttachUrl(toDoItem);
}
}
}