| | |
| | | R<LoginUserInfoVO> userInfoByUserId = userService.getUserInfoByUserId(loginUserInfoVO.getUserId().toString()); |
| | | loginUserInfoVO = userInfoByUserId.getData(); |
| | | } |
| | | int length = loginUserInfoVO.getCommunityName().length(); |
| | | String sub = StrUtil.sub(loginUserInfoVO.getCommunityName(),length-1,length); |
| | | Integer type=1; |
| | | if (sub.equals(Constants.VILLAGE)){ |
| | | Integer type=null; |
| | | if (loginUserInfoVO.getAccount().equals("pannongyenongcunju")){ |
| | | type=2; |
| | | } |
| | | if (loginUserInfoVO.getAccount().equals("fangyipingtai")){ |
| | | }else if (loginUserInfoVO.getAccount().equals("pandashujuzhongxin")){ |
| | | type=1; |
| | | }else if (loginUserInfoVO.getAccount().equals("fangyipingtai")){ |
| | | type=3; |
| | | } |
| | | return userService.communityList(type); |