|
@@ -139,8 +139,19 @@
|
139
|
139
|
AND
|
140
|
140
|
</if>
|
141
|
141
|
<if test='priceArr.length > 1 and priceArr[1] != null and priceArr[1] != ""'>
|
142
|
|
- <![CDATA[ end_price <= ${priceArr[1]} ]]>
|
|
142
|
+ <![CDATA[ start_price <= ${priceArr[1]} ]]>
|
143
|
143
|
</if>
|
|
144
|
+ ) or
|
|
145
|
+ (
|
|
146
|
+ <if test='priceArr[0] != null and priceArr[0] != ""'>
|
|
147
|
+ <![CDATA[ end_price >= ${priceArr[0]} ]]>
|
|
148
|
+ </if>
|
|
149
|
+ <if test='priceArr.length > 1 and priceArr[0] != null and priceArr[0] != ""'>
|
|
150
|
+ AND
|
|
151
|
+ </if>
|
|
152
|
+ <if test='priceArr.length > 1 and priceArr[1] != null and priceArr[1] != ""'>
|
|
153
|
+ <![CDATA[ end_price <= ${priceArr[1]} ]]>
|
|
154
|
+ </if>
|
144
|
155
|
)
|
145
|
156
|
</foreach>
|
146
|
157
|
</if>
|