提交代码
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web.Http;
|
||||
using BLL;
|
||||
using Model;
|
||||
|
||||
namespace WebAPI.Controllers.CQMS
|
||||
{
|
||||
/// <summary>
|
||||
/// 共检通知单控制器
|
||||
/// </summary>
|
||||
public class InspectionManagementController : ApiController
|
||||
{
|
||||
#region 根据二维码ID验收日期、是否一次合格
|
||||
/// <summary>
|
||||
/// 根据二维码ID修改验收日期、是否一次合格
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public Model.ResponeData SavePersonQuality([FromBody] Model.ProcessControl_InspectionManagement model)
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
InspectionManagementService.UpdateByInspectionManagementId(model);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
|
||||
return responeData;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user