| | |
| | | using MES.Service.service.QC; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Microsoft.Data.SqlClient.Server; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers.QC; |
| | |
| | | [HttpPost("setJYItem")] |
| | | public ResponseResult setJYItem([FromBody] JObject data) |
| | | { |
| | | var itemNo = data["itemNo"].ToString(); |
| | | var itemNo = "XJ001"; |
| | | try |
| | | { |
| | | |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new XJService().setJYItem(itemNo); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | //saveCommentGid |
| | | [HttpPost("saveCommentGid")] |
| | | public ResponseResult saveCommentGid([FromBody] XJDto rkjDto) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new XJService().saveCommentGid(rkjDto); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | //saveRemarksPid |
| | | [HttpPost("saveRemarksPid")] |
| | | public ResponseResult saveRemarksPid([FromBody] XJDto rkjDto) |