啊鑫
2 天以前 ed05efdc17aab076146b134ebe105b6382f221d7
MESApplication/Controllers/BasicData/SalesDeliveryNoticeController.cs
@@ -1,36 +1,27 @@
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.Dto.webApi;
using MES.Service.Modes;
using MES.Service.service;
using MES.Service.util;
using MES.Service.service.BasicData;
using MES.Service.Dto.webApi;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace MESApplication.Controllers
{
namespace MESApplication.Controllers;
    [ApiController]
    [Route("api/[controller]")]
    public class SalesDeliveryNoticeController : ControllerBase
    {
        private readonly MessageCenterManager _manager = new();
        private SalesDeliveryNoticeManager m = new SalesDeliveryNoticeManager();
    private readonly SalesDeliveryNoticeManager m = new();
        private readonly string METHOD = "POST";
        private readonly string TableName = "SALES_DELIVERY_NOTICE";
        private readonly string URL = "http://localhost:10054/api/SalesDeliveryNotice/";
    private readonly string URL =
        "http://localhost:10054/api/SalesDeliveryNotice/";
        //
@@ -220,12 +211,14 @@
                return ResponseResult.ResponseError(ex);
            }
        }
        /// <summary>
        /// 添加返回自增
        /// </summary>
        /// <returns></returns>
        [HttpPost("InsertReturnIdentity")]
        public ResponseResult InsertReturnIdentity([FromBody] SalesDeliveryNotice data)
    public ResponseResult InsertReturnIdentity(
        [FromBody] SalesDeliveryNotice data)
        {
            try
            {
@@ -265,7 +258,6 @@
            catch (Exception ex)
            {
                return ResponseResult.ResponseError(ex);
            }
        }
    }
}