|
@@ -863,10 +863,10 @@
|
|
|
WHERE
|
|
WHERE
|
|
|
`status` = 2
|
|
`status` = 2
|
|
|
<if test="startTime != null and startTime != ''" >
|
|
<if test="startTime != null and startTime != ''" >
|
|
|
- AND used_time > #{startTime}
|
|
|
|
|
|
|
+ AND `order`.updated_time > #{startTime}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="endTime != null and endTime != ''" >
|
|
<if test="endTime != null and endTime != ''" >
|
|
|
- AND used_time < #{endTime}
|
|
|
|
|
|
|
+ AND `order`.updated_time < #{endTime}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="storeId != null and storeId != ''" >
|
|
<if test="storeId != null and storeId != ''" >
|
|
|
AND store_id like concat('%',#{storeId},'%')
|
|
AND store_id like concat('%',#{storeId},'%')
|