| | |
| | | using NewPdaSqlServer.Dto.service; |
| | | using NewPdaSqlServer.entity; |
| | | using NewPdaSqlServer.service.QC; |
| | | using NewPdaSqlServer.service.Warehouse; |
| | | using NewPdaSqlServer.util; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | |
| | | [ApiController] |
| | | public class OaToMesController : ControllerBase |
| | | { |
| | | OaApiService m = new OaApiService(); |
| | | MesOaToMesManager m = new MesOaToMesManager(); |
| | | |
| | | [HttpPost("ApproveIqcEx")] |
| | | public ResponseResult ApproveIqc(dynamic queryObj) |
| | | public ResponseResult ApproveIqcEx(OaToMesQuery queryObj) |
| | | { |
| | | try |
| | | { |
| | | string rtnMsg = m.ApproveIqcEx(queryObj); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "异常处置单审批接口开发中", |
| | | data = "" |
| | | message = rtnMsg, |
| | | data = null |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | |
| | | |
| | | |
| | | [HttpPost("RetrunIqcEx")] |
| | | public ResponseResult APVMes_QC_Exceptional(dynamic queryObj) |
| | | public ResponseResult RetrunIqcEx(OaToMesRQuery queryObj) |
| | | { |
| | | try |
| | | { |
| | | string rtnMsg = m.RetrunIqcEx(queryObj); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "异常处置单退回接口开发中", |
| | | message = rtnMsg, |
| | | data = "" |
| | | }; |
| | | } |