| | |
| | | //是否医院管理员 |
| | | com.kidgrow.usercenter.model.SysDoctor sysDoctor = findDoctorByUserId(sysUser.getId()); |
| | | if (sysDoctor.getIsAdminUser() != null) { |
| | | sysUser.setHAdminUser(sysDoctor.getIsAdminUser()); |
| | | loginAppUser.setHAdminUser(sysDoctor.getIsAdminUser()); |
| | | } |
| | | //医院信息 只有H端要返回的信息 |
| | | if (sysUser.getTenantId() == CommonConstant.H_TENANT) { |
| | | sysUser.setDoctorUserAllVO(baseMapper.findDoctorUserAllData(sysUser.getId())); |
| | | if (sysUser.getTenantId().toLowerCase().equals(CommonConstant.H_TENANT.toLowerCase())) { |
| | | DoctorUserAll doctorUserAllVo=baseMapper.findDoctorUserAllData(sysUser.getId()); |
| | | loginAppUser.setDoctorUserAllVO(doctorUserAllVo); |
| | | } |
| | | } |
| | | return loginAppUser; |