using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using BLL;
using Model;
namespace WebAPI.Controllers.CQMS
{
///
/// 共检通知单控制器
///
public class InspectionManagementController : ApiController
{
#region 根据二维码ID验收日期、是否一次合格
///
/// 根据二维码ID修改验收日期、是否一次合格
///
///
///
[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
}
}