|
@@ -332,6 +332,7 @@
|
|
|
<if test="endTime != null and endTime != '' ">
|
|
|
AND orderTime <![CDATA[<=]]> #{endTime}
|
|
|
</if>
|
|
|
+ and orderSeen != '2'
|
|
|
ORDER BY orderTime DESC
|
|
|
</select>
|
|
|
<select id="getOrderListByKeyword" resultType="com.caimei365.order.model.vo.OrderVo">
|
|
@@ -385,6 +386,7 @@
|
|
|
LEFT JOIN cm_order_product cop ON co.orderID = cop.orderID
|
|
|
WHERE co.delFlag = 0 AND co.userID = #{userId}
|
|
|
AND cop.name LIKE CONCAT('%',#{searchWord},'%')
|
|
|
+ and co.orderSeen != '2'
|
|
|
GROUP BY co.orderID, co.orderTime
|
|
|
ORDER BY co.orderTime DESC
|
|
|
</select>
|