| | |
| | | package com.java110.user.smo.impl; |
| | | |
| | | |
| | | import com.java110.dto.questionAnswer.QuestionAnswerDto; |
| | | import com.java110.user.dao.IUserQuestionAnswerV1ServiceDao; |
| | | import com.java110.intf.user.IUserQuestionAnswerV1InnerServiceSMO; |
| | | import com.java110.dto.user.UserQuestionAnswerDto; |
| | |
| | | |
| | | @Override |
| | | public int queryUserQuestionAnswersCount(@RequestBody UserQuestionAnswerDto userQuestionAnswerDto) { |
| | | return userQuestionAnswerV1ServiceDaoImpl.queryUserQuestionAnswersCount(BeanConvertUtil.beanCovertMap(userQuestionAnswerDto)); } |
| | | return userQuestionAnswerV1ServiceDaoImpl.queryUserQuestionAnswersCount(BeanConvertUtil.beanCovertMap(userQuestionAnswerDto)); |
| | | } |
| | | |
| | | @Override |
| | | public List<QuestionAnswerDto> queryOwnerQuestionAnswers(@RequestBody UserQuestionAnswerDto userQuestionAnswerDto) { |
| | | List<QuestionAnswerDto> questionAnswerDtos = BeanConvertUtil.covertBeanList( |
| | | userQuestionAnswerV1ServiceDaoImpl.queryOwnerQuestionAnswers(BeanConvertUtil.beanCovertMap(userQuestionAnswerDto)), |
| | | QuestionAnswerDto.class); |
| | | return questionAnswerDtos; |
| | | } |
| | | |
| | | } |