|
|
@ -115,7 +115,9 @@ public class VolunteerServiceImpl extends BaseServiceImpl<VolunteerDao, Voluntee |
|
|
|
@Override |
|
|
|
public Result getVolunteerDetail(AppVolunteerApplyDTO formDto) { |
|
|
|
AppVolunteerDetailDTO result = baseDao.selectAppDetailById(formDto.getUserId()); |
|
|
|
result.setVolunteerOrgIds(volunteerOrgRelationDao.selectOrgIdByVolunteerId(result.getId())); |
|
|
|
if(result != null){ |
|
|
|
result.setVolunteerOrgIds(volunteerOrgRelationDao.selectOrgIdByVolunteerId(result.getId())); |
|
|
|
} |
|
|
|
return new Result().ok(result); |
|
|
|
} |
|
|
|
|
|
|
|