| | |
| | | using System.Security.Claims; |
| | | using System.Runtime.Intrinsics.Arm; |
| | | using MapsterMapper; |
| | | using ECTESTOA; |
| | | |
| | | |
| | | namespace cylsg.Application.Users |
| | | { |
| | |
| | | private readonly ISystemService _systemService; |
| | | private ISqlSugarClient _sqlSugarClient; |
| | | private IMapper _mapper; |
| | | public UserAppService(ISystemService systemService, ISqlSugarClient sqlSugarClient, IMapper mapper) |
| | | private readonly IOAServices _OAServices; |
| | | public UserAppService(ISystemService systemService, ISqlSugarClient sqlSugarClient, IMapper mapper |
| | | ,IOAServices oAServices |
| | | ) |
| | | { |
| | | _systemService = systemService; |
| | | _sqlSugarClient = sqlSugarClient; |
| | | _mapper = mapper; |
| | | _OAServices = oAServices; |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | userDto.userCompany = _mapper.Map<UserCompanyDto>(userCompany); |
| | | } |
| | | |
| | | |
| | | //增加川印权限获取 |
| | | userDto.OAPermissions= await _OAServices.GetOAPermissions(); |
| | | |
| | | |
| | | return userDto; |