|
|
@@ -551,8 +551,16 @@
|
|
|
AND FIND_IN_SET(a.paperState, #{map.paperState})
|
|
|
</if>
|
|
|
AND examState='已发布'
|
|
|
+ <if test="map.startDate != null and map.startDate == 'ASC'">
|
|
|
+ ORDER BY startDate ASC
|
|
|
+ </if>
|
|
|
+ <if test="map.startDate != null and map.startDate == 'DESC'">
|
|
|
+ ORDER BY startDate DESC
|
|
|
+ </if>
|
|
|
+ <if test="map.startDate == null">
|
|
|
+ ORDER BY startDate DESC
|
|
|
+ </if>
|
|
|
</where>
|
|
|
- ORDER BY startDate
|
|
|
limit ${map.startPage},${map.limit}
|
|
|
</select>
|
|
|
|
|
|
@@ -621,7 +629,7 @@
|
|
|
AND a.limitDate <![CDATA[ <= ]]> #{map.limitDateLower}
|
|
|
</if>
|
|
|
<if test="@o.Ognl@isNotEmpty(map.paperState)">
|
|
|
- AND a.paperState = #{map.paperState}
|
|
|
+ AND FIND_IN_SET(a.paperState, #{map.paperState})
|
|
|
</if>
|
|
|
AND examState='已发布'
|
|
|
</where>
|