啊鑫
2024-07-24 687c7eb08e7c3a803a3b60dedc9c394dbb6ba411
MESApplication/Controllers/Warehouse/MesInvItemArnController.cs
copy from MESApplication/Controllers/MesLineUserController.cs copy to MESApplication/Controllers/Warehouse/MesInvItemArnController.cs
Îļþ´Ó MESApplication/Controllers/MesLineUserController.cs ¸´ÖÆ
@@ -1,19 +1,38 @@
using System.Dynamic;
using MES.Service.Dto.service;
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 MesInvItemArnController : ControllerBase
{
    private readonly MesLineUserManager m = new();
    private readonly MesInvItemArnManager m = new();
    /***进入模版管理可以修改模版***/
    [HttpPost("GetPageList")]
    public ResponseResult GetPageList(WarehouseQuery query)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            resultInfos.tbBillList = m.GetPagedResults(query);
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
    /// <summary>
    ///     èŽ·å–æ‰€æœ‰
@@ -93,7 +112,7 @@
    /// </summary>
    /// <returns></returns>
    [HttpPost("Insert")]
    public ResponseResult Add([FromBody] MesLineUser data)
    public ResponseResult Add([FromBody] MesInvItemArn data)
    {
        try
        {
@@ -117,7 +136,7 @@
    /// </summary>
    /// <returns></returns>
    [HttpPost("InsertReturnIdentity")]
    public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data)
    public ResponseResult InsertReturnIdentity([FromBody] MesInvItemArn data)
    {
        try
        {
@@ -141,7 +160,7 @@
    /// </summary>
    /// <returns></returns>
    [HttpPost("Update")]
    public ResponseResult Update([FromBody] MesLineUser data)
    public ResponseResult Update([FromBody] MesInvItemArn data)
    {
        try
        {