|
|
@ -194,8 +194,7 @@ public class PsychologistServiceImpl extends BaseServiceImpl<PsychologistDao, Ps |
|
|
|
public List<PsychologyUnansweredResultDTO> listUnansweredQuestion(PsychologyUnansweredFormDTO dto) { |
|
|
|
// sql limit条件转换
|
|
|
|
dto.setPageIndex((dto.getPageIndex() - 1) * dto.getPageSize()); |
|
|
|
List<PsychologyQuestionEntity> data = psychologyQuestionDao.listUnansweredQuestion(dto); |
|
|
|
|
|
|
|
return ConvertUtils.sourceToTarget(data, PsychologyUnansweredResultDTO.class); |
|
|
|
return psychologyQuestionDao.listUnansweredQuestion(dto); |
|
|
|
} |
|
|
|
} |