|
|
@@ -164,6 +164,7 @@
|
|
|
WHERE a.order_number in (SELECT a.order_number FROM tz_order_item a
|
|
|
LEFT JOIN tz_order b on a.order_number=b.order_number
|
|
|
WHERE a.prod_id = #{prodId} and a.shop_id = #{shopId} and b.channel_id=#{channelId}) and a.`status`=1
|
|
|
+ <if test="commStatus != null">
|
|
|
<choose>
|
|
|
<when test="commStatus == 3">
|
|
|
and !ISNULL(a.pics)
|
|
|
@@ -172,6 +173,7 @@
|
|
|
and a.evaluate = #{commStatus}
|
|
|
</otherwise>
|
|
|
</choose>
|
|
|
+ </if>
|
|
|
ORDER BY a.rec_time desc
|
|
|
</select>
|
|
|
|