From 44aaa355ecf9430f8b182654d03c2914287bcba6 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 26 六月 2024 11:55:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/main/resources/mapper/ExamPaperMapper.xml | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/resources/mapper/ExamPaperMapper.xml b/src/main/resources/mapper/ExamPaperMapper.xml index 52d8067..165bcf3 100644 --- a/src/main/resources/mapper/ExamPaperMapper.xml +++ b/src/main/resources/mapper/ExamPaperMapper.xml @@ -12,6 +12,7 @@ <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"/> @@ -29,23 +30,23 @@ </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> -- Gitblit v1.8.0