|
@@ -96,6 +96,7 @@ public class UserCenterServiceImpl extends ServiceImpl<UserDao, User> implements
|
|
|
@Override
|
|
|
public UserCenterResponse getUserCenterInfo() {
|
|
|
Integer uid = userService.getUserId();
|
|
|
+ uid =50;
|
|
|
UserCenterResponse response = new UserCenterResponse();
|
|
|
response.setCenterBanner(systemGroupDataService.getListMapByGid(GroupDataConstants.GROUP_DATA_ID_USER_CENTER_BANNER));
|
|
|
response.setCenterMenu(systemGroupDataService.getListMapByGid(GroupDataConstants.GROUP_DATA_ID_USER_CENTER_MENU));
|
|
@@ -134,6 +135,7 @@ public class UserCenterServiceImpl extends ServiceImpl<UserDao, User> implements
|
|
|
//企业用户获取企业以及部门
|
|
|
LambdaQueryWrapper<UserEnterprise> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
queryWrapper.eq(UserEnterprise::getUserId, uid);
|
|
|
+ queryWrapper.eq(UserEnterprise::getIsDelete,0);
|
|
|
UserEnterprise userEnterprise = userEnterpriseService.getOne(queryWrapper);
|
|
|
User user1 = userService.getById(uid);
|
|
|
|