| | |
| | | <mapper namespace="com.ycl.jxkg.mapper.ExamTemplateMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.ycl.jxkg.domain.vo.ExamTemplateVO"> |
| | | <resultMap id="BaseResultMap" type="com.ycl.jxkg.domain.entity.ExamTemplate"> |
| | | <result column="name" property="name" /> |
| | | <result column="subject_id" property="subjectId" /> |
| | | <result column="score" property="score" /> |
| | | <result column="visibility" property="visibility" /> |
| | | <result column="suggest_time" property="suggestTime" /> |
| | | <result column="deduct_type" property="deductType" /> |
| | | <result column="deduct_type_score" property="deductTypeScore" /> |
| | | <result column="single_choice" property="singleChoice" /> |
| | | <result column="multiple_choice" property="multipleChoice" /> |
| | | <result column="gap_filling" property="gapFilling" /> |
| | |
| | | <result column="gap_score" property="gapScore" /> |
| | | <result column="true_false_score" property="trueFalseScore" /> |
| | | <result column="short_answer_score" property="shortAnswerScore" /> |
| | | <result column="calculation__score" property="calculationScore" /> |
| | | <result column="calculation_score" property="calculationScore" /> |
| | | <result column="create_user" property="createUser" /> |
| | | <result column="create_time" property="createTime" /> |
| | | </resultMap> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | TET.visibility, |
| | | TET.suggest_time, |
| | | TET.deduct_type, |
| | | TET.deduct_type_score, |
| | | TET.single_choice, |
| | | TET.multiple_choice, |
| | | TET.gap_filling, |
| | |
| | | TET.gap_score, |
| | | TET.true_false_score, |
| | | TET.short_answer_score, |
| | | TET.calculation__score, |
| | | TET.calculation_score, |
| | | TET.create_user, |
| | | TET.create_time, |
| | | TET.id |
| | |
| | | TET.visibility, |
| | | TET.suggest_time, |
| | | TET.deduct_type, |
| | | TET.deduct_type_score, |
| | | TET.single_choice, |
| | | TET.multiple_choice, |
| | | TET.gap_filling, |
| | |
| | | TET.gap_score, |
| | | TET.true_false_score, |
| | | TET.short_answer_score, |
| | | TET.calculation__score, |
| | | TET.calculation_score, |
| | | TET.create_user, |
| | | TET.create_time, |
| | | TET.id |
| | |
| | | </where> |
| | | </select> |
| | | |
| | | <delete id="removeById"> |
| | | delete from t_exam_template where exam_paper_id = #{id} |
| | | </delete> |
| | | </mapper> |