copy from MESApplication/Controllers/MesLineUserController.cs
copy to MESApplication/Controllers/Warehouse/MesQaItemsDetect01Controller.cs
文件从 MESApplication/Controllers/MesLineUserController.cs 复制 |
| | |
| | | 锘縰sing System.Dynamic; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | | using MES.Service.service.Warehouse; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Warehouse; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
| | | public class MesLineUserController : ControllerBase |
| | | public class MesQaItemsDetect01Controller : ControllerBase |
| | | { |
| | | private readonly MesLineUserManager m = new(); |
| | | private readonly MesQaItemsDetect01Manager m = new(); |
| | | |
| | | |
| | | /***杩涘叆妯$増绠$悊鍙互淇敼妯$増***/ |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Insert")] |
| | | public ResponseResult Add([FromBody] MesLineUser data) |
| | | public ResponseResult Add([FromBody] MesQaItemsDetect01 data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data) |
| | | public ResponseResult InsertReturnIdentity( |
| | | [FromBody] MesQaItemsDetect01 data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Update")] |
| | | public ResponseResult Update([FromBody] MesLineUser data) |
| | | public ResponseResult Update([FromBody] MesQaItemsDetect01 data) |
| | | { |
| | | try |
| | | { |