feat: 练题模块完成

This commit is contained in:
2024-04-06 21:04:38 +08:00
parent 43d3a2a6d5
commit 8d1fcf0401
114 changed files with 3667 additions and 21 deletions

View File

@@ -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>