| | |
| | | <result column="visibility" property="visibility"/> |
| | | <result column="deduct_type" property="deductType"/> |
| | | <result column="deduct_type_score" property="deductTypeScore"/> |
| | | <result column="content" property="content"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="deleted" property="deleted"/> |
| | |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="page" resultMap="BaseResultMap" parameterType="com.ycl.jxkg.domain.vo.admin.exam.ExamPaperPageRequestVO"> |
| | | <select id="page" resultMap="BaseResultMap"> |
| | | SELECT |
| | | <include refid="Base_Column_List"/> |
| | | FROM t_exam_paper |
| | | tep.* |
| | | FROM t_exam_paper tep |
| | | <where> |
| | | and deleted=0 |
| | | and tep.deleted=0 |
| | | <if test="id != null "> |
| | | and id= #{id} |
| | | and tep.id= #{id} |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and name like concat('%',#{name},'%') |
| | | and tep.name like concat('%',#{name},'%') |
| | | </if> |
| | | <if test="subjectId != null "> |
| | | and subject_id= #{subjectId} |
| | | and tep.subject_id= #{subjectId} |
| | | </if> |
| | | <if test="paperType != null "> |
| | | and paper_type= #{paperType} |
| | | and tep.paper_type= #{paperType} |
| | | </if> |
| | | </where> |
| | | </select> |