| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ycl.jxkg.mapper.ExamPaperMapper"> |
| | | <resultMap id="BaseResultMap" type="com.ycl.jxkg.domain.entity.ExamPaper"> |
| | | <id column="id" jdbcType="INTEGER" property="id"/> |
| | | <result column="name" jdbcType="VARCHAR" property="name"/> |
| | | <result column="subject_id" jdbcType="INTEGER" property="subjectId"/> |
| | | <result column="paper_type" jdbcType="INTEGER" property="paperType"/> |
| | | <result column="score" jdbcType="INTEGER" property="score"/> |
| | | <result column="question_count" jdbcType="INTEGER" property="questionCount"/> |
| | | <result column="suggest_time" jdbcType="INTEGER" property="suggestTime"/> |
| | | <result column="visibility" jdbcType="INTEGER" property="visibility"/> |
| | | <result column="deduct_type" jdbcType="INTEGER" property="deductType"/> |
| | | <result column="create_user" jdbcType="INTEGER" property="createUser"/> |
| | | <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/> |
| | | <result column="deleted" jdbcType="BIT" property="deleted"/> |
| | | <id column="id" property="id"/> |
| | | <result column="name" property="name"/> |
| | | <result column="subject_id" property="subjectId"/> |
| | | <result column="paper_type" property="paperType"/> |
| | | <result column="score" property="score"/> |
| | | <result column="question_count" property="questionCount"/> |
| | | <result column="suggest_time" property="suggestTime"/> |
| | | <result column="visibility" property="visibility"/> |
| | | <result column="deduct_type" property="deductType"/> |
| | | <result column="deduct_type_score" property="deductTypeScore"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="deleted" property="deleted"/> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | | id, name, subject_id, paper_type, score, question_count, suggest_time,visibility |
| | | ,deduct_type,create_user, create_time,deleted |
| | | ,deduct_type,deduct_type_score,create_user, create_time,deleted |
| | | </sql> |
| | | |
| | | <resultMap id="PaperInfoResultMap" type="com.ycl.jxkg.domain.vo.student.dashboard.PaperInfo"> |