|
@@ -194,7 +194,6 @@
|
|
|
min_price as price,
|
|
min_price as price,
|
|
|
(
|
|
(
|
|
|
case when type = 2 and ${isPayNf} then 999
|
|
case when type = 2 and ${isPayNf} then 999
|
|
|
- when type = 2 and !${isPayNf} then 666
|
|
|
|
|
when category = 1 then 888
|
|
when category = 1 then 888
|
|
|
when category = 2 then 777
|
|
when category = 2 then 777
|
|
|
when category = 3 then 755
|
|
when category = 3 then 755
|
|
@@ -204,7 +203,12 @@
|
|
|
<foreach collection="list" item="item" open="(" separator="," close=")">
|
|
<foreach collection="list" item="item" open="(" separator="," close=")">
|
|
|
#{item}
|
|
#{item}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
- and type in (1,2)
|
|
|
|
|
|
|
+ <if test="isPayNf">
|
|
|
|
|
+ and type in (1,2)
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="!isPayNf">
|
|
|
|
|
+ and type = 1
|
|
|
|
|
+ </if>
|
|
|
and deleted is true and status is true) s order by s.sorted desc,sort_by desc
|
|
and deleted is true and status is true) s order by s.sorted desc,sort_by desc
|
|
|
</select>
|
|
</select>
|
|
|
</mapper>
|
|
</mapper>
|