| | |
| | | using System.Dynamic; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using NewPdaSqlServer.Dto.service; |
| | | using NewPdaSqlServer.entity; |
| | | using NewPdaSqlServer.service.QC; |
| | | using NewPdaSqlServer.service.Warehouse; |
| | | using NewPdaSqlServer.util; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace NewPdaSqlServer.Controllers.QC; |
| | | |
| | |
| | | [ApiController] |
| | | public class OaToMesController : ControllerBase |
| | | { |
| | | MesOaToMesManager m = new MesOaToMesManager(); |
| | | private readonly MesOaToMesManager m = new(); |
| | | |
| | | [HttpPost("ApproveIqcEx")] |
| | | public ResponseResult ApproveIqcEx(OaToMesQuery queryObj) |
| | | { |
| | | try |
| | | { |
| | | string rtnMsg = m.ApproveIqcEx(queryObj); |
| | | var rtnMsg = m.ApproveIqcEx(queryObj); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | |
| | | { |
| | | try |
| | | { |
| | | string rtnMsg = m.RetrunIqcEx(queryObj); |
| | | var rtnMsg = m.RetrunIqcEx(queryObj); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | } |