刘磊
2025-06-14 08d4252c79d088d7bf97a08d314ec8577d96e2d2
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MOM/Error/MoMErrorMsg.cs
@@ -1,8 +1,9 @@
using Masuit.Tools;
using LogLibrary.Log;
using Masuit.Tools;
using SqlSugar;
using WIDESEA_Core;
using WIDESEA_Core.Helper;
using WIDESEA_DTO.MOM;
using WIDESEA_Model.Models;
namespace WIDESEA_StoragIntegrationServices
{
@@ -10,7 +11,7 @@
    {
        public static SqlSugarScope Db = SqlSugarHelper.DbWMS;
        public static WebResponseContent AddMoMErrorMsg(int TaskNum, string PalletCode, string ErrorMsg,string ApiName)
        public static WebResponseContent AddMoMErrorMsg(int TaskNum, string PalletCode, string ErrorMsg, string ApiName)
        {
            WebResponseContent content = new WebResponseContent();
            try
@@ -42,6 +43,7 @@
                    var isResult = Db.Insertable(result).ExecuteCommand() > 0;
                    content.OK(data: result);
                }
            }
            catch (Exception ex)
            {