|
@@ -41,6 +41,7 @@
|
|
|
<result property="excellSort" column="excell_sort" />
|
|
|
<result property="sequeSort" column="seque_sort" />
|
|
|
<result property="placeSort" column="place_sort" />
|
|
|
+ <result property="isNew" column="is_new" />
|
|
|
|
|
|
|
|
|
</resultMap>
|
|
@@ -81,6 +82,7 @@
|
|
|
<if test="excellIssueName != null and excellIssueName != ''"> and excell_issue_name like concat('%', #{excellIssueName}, '%')</if>
|
|
|
<if test="questionType != null "> and question_type = #{questionType}</if>
|
|
|
<if test="subject != null and subject != ''"> and subject = #{subject}</if>
|
|
|
+ <if test="isNew != null "> and is_new = #{isNew}</if>
|
|
|
</where>
|
|
|
|
|
|
<if test="isRand!=null and isRand!=''"> order by rand() </if>
|
|
@@ -120,6 +122,7 @@
|
|
|
<if test="excellIssueName != null and excellIssueName != ''"> and excell_issue_name like concat('%', #{excellIssueName}, '%')</if>
|
|
|
<if test="classIssueName != null and classIssueName != ''"> and class_issue_name like concat('%', #{classIssueName}, '%')</if>
|
|
|
<if test="questionType != null "> and question_type = #{questionType}</if>
|
|
|
+ <if test="isNew != null "> and is_new = #{isNew}</if>
|
|
|
</where>
|
|
|
limit 0,50
|
|
|
</select>
|
|
@@ -150,6 +153,7 @@
|
|
|
<if test="liceBus != null and liceBus != ''"> and lice_bus = #{liceBus}</if>
|
|
|
<if test="liceTruck != null and liceTruck != ''"> and lice_truck = #{liceTruck}</if>
|
|
|
<if test="liceMoto != null and liceMoto != ''"> and lice_moto = #{liceMoto}</if>
|
|
|
+ <if test="isNew != null "> and is_new = #{isNew}</if>
|
|
|
</where>
|
|
|
ORDER BY
|
|
|
excell_issue + 0 ASC
|