| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngVolunteerMngAppletsVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngVolunteerMngVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngVolunteerMngVO; |
| | | import com.panzhihua.common.model.vos.user.UserPhoneVO; |
| | | import com.panzhihua.service_community.dao.ComMngVolunteerMngDAO; |
| | |
| | | return R.fail(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 志愿者详情 |
| | | * |
| | | * @param id 主键 |
| | | * @return 志愿者 |
| | | */ |
| | | @Override |
| | | public R detailVolunteer(Long id) { |
| | | ComMngVolunteerMngDO comMngVolunteerMngDO = comMngVolunteerMngDAO.selectById(id); |
| | | if (ObjectUtils.isEmpty(comMngVolunteerMngDO)) { |
| | | return R.fail("志愿者不存在"); |
| | | } |
| | | ComMngVolunteerMngAppletsVO comMngVolunteerMngAppletsVO=new ComMngVolunteerMngAppletsVO(); |
| | | BeanUtils.copyProperties(comMngVolunteerMngDO,comMngVolunteerMngAppletsVO); |
| | | return R.ok(comMngVolunteerMngAppletsVO); |
| | | } |
| | | |
| | | |
| | | } |