| | |
| | | using System.Dynamic; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using NewPdaSqlServer.Dto.service; |
| | | using NewPdaSqlServer.entity; |
| | | using NewPdaSqlServer.service.QC; |
| | | using NewPdaSqlServer.util; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace NewPdaSqlServer.Controllers.QC; |
| | |
| | | [ApiController] |
| | | public class IpqcController : ControllerBase |
| | | { |
| | | IpqcService m = new IpqcService(); |
| | | private readonly IpqcService m = new(); |
| | | |
| | | /// <summary> |
| | | /// 首检单据查询 |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 首检单据查询 |
| | | /// </summary> |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取表格配置 |
| | | /// </summary> |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存表格配置 |
| | | /// </summary> |
| | |
| | | var affectedRows = m.UpdateTableConfig( |
| | | query.selectedWater?.ToString(), |
| | | query.selectedFlow?.ToString(), |
| | | Newtonsoft.Json.JsonConvert.SerializeObject(query.tableData), |
| | | JsonConvert.SerializeObject(query.tableData), |
| | | query.mxguid?.ToString() |
| | | ); |
| | | |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取认证信息列表 |
| | | /// </summary> |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 更新认证信息_生产日期 |
| | | /// </summary> |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存品水测试是否有异味 |
| | | /// </summary> |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |