duheng
2025-01-13 e7df5d1ece7ecabaa7a3943f24a6621649fdc455
BLL/HStation.BLL.Assets.Core/03-localclient/06-Elbow/AssetsElbowMain.cs
@@ -1,4 +1,8 @@
namespace HStation.CAL.LocalClient
using Mapster;
using System.Collections.Generic;
using Yw.Dto;
namespace HStation.CAL.LocalClient
{
    /// <summary>
    /// 弯头型号
@@ -108,7 +112,13 @@
        {
            return await Task.Factory.StartNew(() =>
            {
                return false;
                var list = inputList.Select(x => x.Adapt<AddAssetsElbowMainInput, Model.AssetsElbowMain>()).ToList();
                list.ForEach(x =>
                {
                    x.SortCode = _service.GetMaxSortCode(x.SeriesID) + 1 + list.IndexOf(x);
                });
                var bol = _service.Inserts(list);
                return bol;
            });
        }