| | |
| | | public class MesOqcItemsDetect02Controller : ControllerBase |
| | | { |
| | | private readonly MesOqcItemsDetect02Manager m = new(); |
| | | |
| | | |
| | | [HttpPost("SetQSItemDetail")] |
| | | public ResponseResult SetQSItemDetail( |
| | | [FromBody] MesOqcItemsDetectDetail12 detail) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var detail021 = m.SetQSItemDetail(detail); |
| | | resultInfos.tbBillList = detail021; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | //saveRemarksGid 主表添加不合格描述 |
| | | [HttpPost("saveRemarksGid")] |
| | | public ResponseResult saveRemarksGid([FromBody] LLJDto rkjDto) |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | //IqcQaSubmit |
| | | [HttpPost("IqcQaSubmit")] |
| | | public ResponseResult IqcQaSubmit(LLJDto rkjDto) |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost("saveRemarksPid")] |
| | | public ResponseResult saveRemarksPid([FromBody] LLJDto rkjDto) |
| | | { |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost("UpdateQSItemDetail")] |
| | | public ResponseResult UpdateQSItemDetail( |
| | | [FromBody] MesOqcItemsDetectDetail12 detail) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var detail021 = m.UpdateQSItemDetail(detail); |
| | | resultInfos.tbBillList = detail021; |
| | | return new ResponseResult |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost("getXjDetail02ById")] |
| | | public ResponseResult getXjDetail02ById([FromBody] JObject data) |
| | | { |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | //ItemBarCodeSubmit(OQCDto dto) |
| | | [HttpPost("ItemBarCodeSubmit")] |
| | | public ResponseResult ItemBarCodeSubmit([FromBody] OQCDto dto) |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | [HttpPost("Regenerate")] |
| | | public ResponseResult Regenerate([FromBody] MesOqcItemsDetect02 from) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var item = m.Regenerate(from); |
| | | var tbBillList = |
| | | resultInfos.tbBillList = item; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = tbBillList |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | [HttpPost("GetDetail5")] |
| | | public ResponseResult GetDetail5([FromBody] OQCDto dto) |
| | | { |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost("getPage")] |
| | | public ResponseResult getPage([FromBody] XJPageResult queryObj) |
| | | { |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost("GetItemBarCode")] |
| | | public ResponseResult GetItemBarCode(XJPageResult queryObj) |
| | | { |