| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Microsoft.Extensions.Logging; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Threading.Tasks; |
| | | using System.Dynamic; |
| | | using System.Dynamic; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers |
| | | { |
| | | namespace MESApplication.Controllers; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
| | | public class SalesDeliveryNoticeDetailController : ControllerBase |
| | | { |
| | | |
| | | private SalesDeliveryNoticeDetailManager m = new SalesDeliveryNoticeDetailManager(); |
| | | private readonly SalesDeliveryNoticeDetailManager m = new(); |
| | | |
| | | |
| | | /***进入模版管理可以修改模版***/ |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 添加返回自增 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] SalesDeliveryNoticeDetail data) |
| | | public ResponseResult InsertReturnIdentity( |
| | | [FromBody] SalesDeliveryNoticeDetail data) |
| | | { |
| | | try |
| | | { |
| | |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | } |
| | | } |