pan
2025-11-11 fd38e10c2e982540a3aaf5804ecbc925991b06dd
ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs
@@ -1,4 +1,6 @@
using AutoMapper;
using Autofac.Core;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using SqlSugar;
using WIDESEA_Core;
using WIDESEA_Core.BaseRepository;
@@ -179,6 +181,20 @@
            }
        }
        /// <summary>
        /// æ ¹æ®ID获取出库单
        /// </summary>
        public async Task<WebResponseContent> GetById(int id)
        {
            var order = await Db.Queryable<Dt_OutboundOrder>().FirstAsync(o=>o.Id==id);
            if (order == null)
            {
                return WebResponseContent.Instance.Error("未找到出库单信息");
            }
            return WebResponseContent.Instance.OK(null, order);
        }
        static object lock_code = new object();
        public string CreateCodeByRule(string ruleCode)
        {