|
@@ -815,18 +815,18 @@
|
|
p.price
|
|
p.price
|
|
from product p
|
|
from product p
|
|
<where>
|
|
<where>
|
|
-
|
|
|
|
|
|
+ and p.showFlag!=5
|
|
|
|
+ and p.newvalidFlag = 1
|
|
|
|
+ and p.newProductType=1
|
|
|
|
+ and p.validFlag = 2
|
|
|
|
+ and p.showFlag!=2
|
|
<if test="brandID != null and brandID.size > 0">
|
|
<if test="brandID != null and brandID.size > 0">
|
|
and
|
|
and
|
|
<foreach collection="brandID" item="item" index="index" open="(" close=")" separator="OR">
|
|
<foreach collection="brandID" item="item" index="index" open="(" close=")" separator="OR">
|
|
p.brandID LIKE CONCAT('%',#{item},'%')
|
|
p.brandID LIKE CONCAT('%',#{item},'%')
|
|
</foreach>
|
|
</foreach>
|
|
</if>
|
|
</if>
|
|
- and p.showFlag!=5
|
|
|
|
- and p.newvalidFlag = 1
|
|
|
|
- and p.newProductType=1
|
|
|
|
- and p.validFlag = 2
|
|
|
|
- and p.showFlag!=2
|
|
|
|
|
|
+
|
|
</where>
|
|
</where>
|
|
|
|
|
|
# order by p.combinationSort != 0 desc, p.combinationSort asc
|
|
# order by p.combinationSort != 0 desc, p.combinationSort asc
|