wbc
2025-02-12 b2bc0cccd77524b3ba1f05d5f7854324ce62ba2e
MES.Service/service/BasicData/MesPositionManager.cs
@@ -1,5 +1,4 @@
using Castle.Core.Resource;
using MES.Service.DB;
using MES.Service.DB;
using MES.Service.Dto.webApi;
using MES.Service.Modes;
using SqlSugar;
@@ -103,17 +102,9 @@
            PositionDescription = position.FDESCRIPTIONS,
            Department = position.FDept,
            Fforbidstatus = position.FForbidStatus,
            FSubsidiary = position.FSubsidiary,
            Fumbrella = position.Fumbrella,
            CreationDate = position.FCreateDate != null
                ? DateTime.ParseExact(position.FCreateDate,
                    "yyyy-MM-dd HH:mm:ss", null)
                : null,
            CreationDate = DateTime.Now,
            DisabledBy = position.FForbidderId,
            DisabledDate = position.FForbidDate != null
                ? DateTime.ParseExact(position.FForbidDate,
                    "yyyy-MM-dd HH:mm:ss", null)
                : null
            DisabledDate = position.FForbidDate != null? DateTime.ParseExact(position.FForbidDate, "yyyy-MM-dd HH:mm:ss", null) : null
        };
    }