@@ -37,7 +37,7 @@
created_time >= #{startDate}
</if>
<if test="endDate != null">
- created_time <= #{endDate}
+ and created_time <= #{endDate}
</where>
group by area_name
@@ -17,7 +17,7 @@
group by goods_id,sku_id
@@ -18,7 +18,7 @@
group by goods_id