|
@@ -140,16 +140,16 @@
|
|
on t1.item_id = t2.item_id
|
|
on t1.item_id = t2.item_id
|
|
where 1 = 1
|
|
where 1 = 1
|
|
<if test="start != null and start != ''">
|
|
<if test="start != null and start != ''">
|
|
- and order_create_time >= #{start}
|
|
|
|
|
|
+ and t1.order_create_time >= #{start}
|
|
</if>
|
|
</if>
|
|
<if test="end != null and end != ''">
|
|
<if test="end != null and end != ''">
|
|
- and order_create_time <= #{end}
|
|
|
|
|
|
+ and t1.order_create_time <= #{end}
|
|
</if>
|
|
</if>
|
|
<if test="itemId != null and itemId != ''">
|
|
<if test="itemId != null and itemId != ''">
|
|
- and item_id = #{itemId}
|
|
|
|
|
|
+ and t1.item_id = #{itemId}
|
|
</if>
|
|
</if>
|
|
<if test="itemTitle != null and itemTitle != ''">
|
|
<if test="itemTitle != null and itemTitle != ''">
|
|
- and item_title like concat(concat('%',#{itemTitle}),'%')
|
|
|
|
|
|
+ and t1.item_title like concat(concat('%',#{itemTitle}),'%')
|
|
</if>
|
|
</if>
|
|
group by t1.item_id) t
|
|
group by t1.item_id) t
|
|
where 1 = 1
|
|
where 1 = 1
|