| | |
| | | import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO; |
| | | import com.panzhihua.common.model.dtos.user.SysUserFeedbackDTO; |
| | | import com.panzhihua.common.model.vos.*; |
| | | import com.panzhihua.common.model.vos.community.ComMngVolunteerMngVO; |
| | | import com.panzhihua.common.model.vos.partybuilding.ActivityManagerVO; |
| | | import com.panzhihua.common.model.vos.user.*; |
| | | import com.panzhihua.common.utlis.RealNameUtil; |
| | |
| | | }); |
| | | loginUserInfoVO.setRoles(set); |
| | | } |
| | | // 志愿者状态 |
| | | String phone = sysUserDO.getPhone(); |
| | | if (!ObjectUtils.isEmpty(phone)) { |
| | | ComMngVolunteerMngVO comMngVolunteerMngVO= userDao.selectVolunteerMngByPhone(phone); |
| | | if (ObjectUtils.isEmpty(comMngVolunteerMngVO)) { |
| | | loginUserInfoVO.setVolunteerStatus(0); |
| | | }else{ |
| | | int state = comMngVolunteerMngVO.getState().intValue(); |
| | | loginUserInfoVO.setVolunteerStatus(state); |
| | | } |
| | | } |
| | | return R.ok(loginUserInfoVO); |
| | | } |
| | | |