| | |
| | | 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 itemId = Convert.ToDecimal(data["itemId"].ToString()); |
| | | try |
| | | { |
| | | |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new XJService().setJYItem(itemNo); |
| | | new XJService().setJYItem(itemId); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |