|
|
@@ -83,6 +83,9 @@
|
|
|
<if test="jdrq != null and jdrq != ''">
|
|
|
and #{startTime} <![CDATA[ <= ]]> a.jdrq and #{endTime} <![CDATA[ > ]]> jdrq
|
|
|
</if>
|
|
|
+ <if test="features != null and features != ''">
|
|
|
+ and a.features = #{features}
|
|
|
+ </if>
|
|
|
and state_type = '1'
|
|
|
</trim>
|
|
|
UNION ALL
|
|
|
@@ -125,6 +128,9 @@
|
|
|
<if test="jdrq != null and jdrq != ''">
|
|
|
and #{startTime} <![CDATA[ <= ]]> a.jdrq and #{endTime} <![CDATA[ > ]]> jdrq
|
|
|
</if>
|
|
|
+ <if test="features != null and features != ''">
|
|
|
+ and a.features = #{features}
|
|
|
+ </if>
|
|
|
and state_type = '1'
|
|
|
</trim>
|
|
|
) e
|
|
|
@@ -144,6 +150,9 @@
|
|
|
<if test="jdrq != null and jdrq != ''">
|
|
|
and #{startTime} <![CDATA[ <= ]]> jdrq and #{endTime} <![CDATA[ > ]]> jdrq
|
|
|
</if>
|
|
|
+ <if test="features != null and features != ''">
|
|
|
+ and features = #{features}
|
|
|
+ </if>
|
|
|
and state_type = '1'
|
|
|
</trim>
|
|
|
UNION ALL
|
|
|
@@ -160,6 +169,9 @@
|
|
|
<if test="jdrq != null and jdrq != ''">
|
|
|
and #{startTime} <![CDATA[ <= ]]> jdrq and #{endTime} <![CDATA[ > ]]> jdrq
|
|
|
</if>
|
|
|
+ <if test="features != null and features != ''">
|
|
|
+ and features = #{features}
|
|
|
+ </if>
|
|
|
and state_type = '1'
|
|
|
</trim>
|
|
|
) f ORDER BY f.jdrq desc)
|
|
|
@@ -306,6 +318,9 @@
|
|
|
<if test="titleTravel != null and titleTravel != ''">
|
|
|
and title_travel like CONCAT(CONCAT('%', #{titleTravel}), '%')
|
|
|
</if>
|
|
|
+ <if test="features != null and features != ''">
|
|
|
+ and features = #{features}
|
|
|
+ </if>
|
|
|
<if test="jdrq != null and jdrq != ''">
|
|
|
and #{startTime} <![CDATA[ <= ]]> jdrq and #{endTime} <![CDATA[ > ]]> jdrq
|
|
|
</if>
|
|
|
@@ -330,6 +345,9 @@
|
|
|
<if test="jdrq != null and jdrq != ''">
|
|
|
and #{startTime} <![CDATA[ <= ]]> jdrq and #{endTime} <![CDATA[ > ]]> jdrq
|
|
|
</if>
|
|
|
+ <if test="features != null and features != ''">
|
|
|
+ and features = #{features}
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
) a
|
|
|
</select>
|