啊鑫
2 天以前 ed05efdc17aab076146b134ebe105b6382f221d7
MESApplication/Controllers/BasicData/SalesDeliveryNoticeDetailController.cs
@@ -1,23 +1,16 @@
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();
        /***进入模版管理可以修改模版***/
@@ -118,12 +111,14 @@
                return ResponseResult.ResponseError(ex);
            }
        }
        /// <summary>
        /// 添加返回自增
        /// </summary>
        /// <returns></returns>
        [HttpPost("InsertReturnIdentity")]
        public ResponseResult InsertReturnIdentity([FromBody] SalesDeliveryNoticeDetail data)
    public ResponseResult InsertReturnIdentity(
        [FromBody] SalesDeliveryNoticeDetail data)
        {
            try
            {
@@ -163,7 +158,6 @@
            catch (Exception ex)
            {
                return ResponseResult.ResponseError(ex);
            }
        }
    }
}