| | |
| | | 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 itemId = Convert.ToDecimal(data["itemId"].ToString()); |
| | | var itemNo = "XJ001"; |
| | | try |
| | | { |
| | | |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new XJService().setJYItem(itemId); |
| | | new XJService().setJYItem(itemNo); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | //saveRemarksPid |
| | | [HttpPost("saveRemarksPid")] |
| | | public ResponseResult saveRemarksPid([FromBody] XJDto rkjDto) |