| | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.system.domain.TbQuestion; |
| | | import com.ruoyi.system.dto.QuestionDTO; |
| | | import com.ruoyi.system.dto.QuestionUpdDto; |
| | | import com.ruoyi.system.dto.update.QuestionUpdDTO; |
| | | import com.ruoyi.system.mapper.TbQuestionMapper; |
| | | import com.ruoyi.system.query.QuestionQuery; |
| | | import com.ruoyi.system.service.TbQuestionService; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void editQuestion(QuestionUpdDto dto) { |
| | | public void editQuestion(QuestionUpdDTO dto) { |
| | | TbQuestion tbQuestion = BeanUtils.copyBean(dto, TbQuestion.class); |
| | | this.updateById(tbQuestion); |
| | | } |