修改质量验收
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user