|
@@ -481,10 +481,12 @@
|
|
<if test="orderState == 5 ">
|
|
<if test="orderState == 5 ">
|
|
AND (orderStatusFlag in (2, 3) or refundStatus in (2, 3)) AND shopStatus not in (0, 4)
|
|
AND (orderStatusFlag in (2, 3) or refundStatus in (2, 3)) AND shopStatus not in (0, 4)
|
|
</if>
|
|
</if>
|
|
- AND userID IN
|
|
|
|
- <foreach item="userId" index="index" collection="userIds" open="(" separator="," close=")">
|
|
|
|
- #{userId}
|
|
|
|
- </foreach>
|
|
|
|
|
|
+ <if test="userIds.size() > 0">
|
|
|
|
+ AND userID IN
|
|
|
|
+ <foreach item="userId" index="index" collection="userIds" open="(" separator="," close=")">
|
|
|
|
+ #{userId}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
</select>
|
|
</select>
|
|
<select id="getLastCheckOrderDate" resultType="java.util.Date">
|
|
<select id="getLastCheckOrderDate" resultType="java.util.Date">
|
|
SELECT lastCheckOrderDate
|
|
SELECT lastCheckOrderDate
|