copy from MESApplication/Controllers/MesLineUserController.cs
copy to MESApplication/Controllers/Warehouse/PurdkaController.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 PurdkaController : ControllerBase |
| | | { |
| | | private readonly MesLineUserManager m = new(); |
| | | private readonly PurdkaManager m = new(); |
| | | |
| | | |
| | | /***杩涘叆妯$増绠$悊鍙互淇敼妯$増***/ |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Insert")] |
| | | public ResponseResult Add([FromBody] MesLineUser data) |
| | | public ResponseResult Add([FromBody] Purdka data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data) |
| | | public ResponseResult InsertReturnIdentity([FromBody] Purdka data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Update")] |
| | | public ResponseResult Update([FromBody] MesLineUser data) |
| | | public ResponseResult Update([FromBody] Purdka data) |
| | | { |
| | | try |
| | | { |