| | |
| | | using Castle.Core.Resource; |
| | | using MES.Service.DB; |
| | | using MES.Service.DB; |
| | | using MES.Service.Dto.webApi; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | |
| | | 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 |
| | | }; |
| | | } |
| | | |