|
@@ -30,8 +30,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="classIssue" column="class_issue" />
|
|
|
<result property="placeIssue" column="place_issue" />
|
|
|
<result property="excellIssue" column="excell_issue" />
|
|
|
- <result property="copyIssue" column="copy_issue" />
|
|
|
- <result property="mockIssue" column="mock_issue" />
|
|
|
<result property="sequeIssueName" column="seque_issue_name" />
|
|
|
<result property="placeIssueName" column="place_issue_name" />
|
|
|
<result property="excellIssueName" column="excell_issue_name" />
|
|
@@ -78,8 +76,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="classIssue != null and classIssue != ''"> and class_issue = #{classIssue}</if>
|
|
|
<if test="placeIssue != null and placeIssue != ''"> and place_issue = #{placeIssue}</if>
|
|
|
<if test="excellIssue != null and excellIssue != ''"> and excell_issue = #{excellIssue}</if>
|
|
|
- <if test="copyIssue != null and copyIssue != ''"> and copy_issue = #{copyIssue}</if>
|
|
|
- <if test="mockIssue != null and mockIssue != ''"> and mock_issue = #{mockIssue}</if>
|
|
|
<if test="sequeIssueName != null and sequeIssueName != ''"> and seque_issue_name like concat('%', #{sequeIssueName}, '%')</if>
|
|
|
<if test="placeIssueName != null and placeIssueName != ''"> and place_issue_name like concat('%', #{placeIssueName}, '%')</if>
|
|
|
<if test="excellIssueName != null and excellIssueName != ''"> and excell_issue_name like concat('%', #{excellIssueName}, '%')</if>
|
|
@@ -119,8 +115,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="classIssue != null and classIssue != ''"> and class_issue = #{classIssue}</if>
|
|
|
<if test="placeIssue != null and placeIssue != ''"> and place_issue = #{placeIssue}</if>
|
|
|
<if test="excellIssue != null and excellIssue != ''"> and excell_issue = #{excellIssue}</if>
|
|
|
- <if test="copyIssue != null and copyIssue != ''"> and copy_issue = #{copyIssue}</if>
|
|
|
- <if test="mockIssue != null and mockIssue != ''"> and mock_issue = #{mockIssue}</if>
|
|
|
<if test="sequeIssueName != null and sequeIssueName != ''"> and seque_issue_name like concat('%', #{sequeIssueName}, '%')</if>
|
|
|
<if test="placeIssueName != null and placeIssueName != ''"> and place_issue_name like concat('%', #{placeIssueName}, '%')</if>
|
|
|
<if test="excellIssueName != null and excellIssueName != ''"> and excell_issue_name like concat('%', #{excellIssueName}, '%')</if>
|
|
@@ -315,6 +309,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selecQuestionInfoExcel4" resultType="com.miaxis.question.vo.QuestionInfoExcelVo">
|
|
|
SELECT id,
|
|
|
+ id_kt,
|
|
|
+ id_ydt,
|
|
|
number,
|
|
|
issue,
|
|
|
image,
|
|
@@ -328,6 +324,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectQuestionInfoSortList" resultType="com.miaxis.question.vo.QuestionInfoExcelVo">
|
|
|
SELECT id,
|
|
|
+ id_kt,
|
|
|
+ id_ydt,
|
|
|
number,
|
|
|
issue,
|
|
|
image,
|
|
@@ -349,7 +347,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectTestQuestionInfoList" resultMap="QuestionInfoResult">
|
|
|
select * from question_info
|
|
|
<where>
|
|
|
- <if test="liceMoto == null or liceMoto == ''"> and excell_issue_name like '%必学%'</if>
|
|
|
+ <if test="liceMoto == null or liceMoto == ''"> and excell_issue_name like concat('%',#{excellIssueName},'%') </if>
|
|
|
<if test="subject != null"> and subject = #{subject}</if>
|
|
|
<if test="questionType != null"> and question_type = #{questionType}</if>
|
|
|
<if test="liceCar != null and liceCar != ''"> and lice_car = #{liceCar} </if>
|