feat: 练题模块完成
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.landaiqing.practice.server.dao.SubjectRadioDao">
|
||||
|
||||
<select id="selectBySubjectId"
|
||||
resultType="com.landaiqing.practice.server.entity.po.SubjectRadioPO">
|
||||
select option_type as optionType, option_content as optionContent, is_correct as isCorrect
|
||||
from subject_radio
|
||||
where is_deleted = 0
|
||||
and subject_id = #{subjectId,jdbcType=BIGINT}
|
||||
order by option_type
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user