|
@@ -1204,10 +1204,10 @@
|
|
|
select count(1) 数量, DATE_FORMAT(send_time,'%Y-%m-%d') 日期
|
|
|
from sc_work_order_manage t1
|
|
|
where t1.send_time >= date_format(#{order.startDate,jdbcType=VARCHAR},'%Y-%m-%d')
|
|
|
- and t1.send_time < date_format(#{order.endDate,jdbcType=VARCHAR},'%Y-%m-%d')
|
|
|
- device_id in
|
|
|
+ and t1.send_time < date_format(#{order.endDate,jdbcType=VARCHAR},'%Y-%m-%d')
|
|
|
+ and device_id in
|
|
|
<foreach collection="idList" item="item" open="(" close=")" separator=",">
|
|
|
- #{item}
|
|
|
+ #{item,jdbcType=INTEGER}
|
|
|
</foreach>
|
|
|
group by DATE_FORMAT(send_time,'%Y-%m-%d')
|
|
|
</select>
|
|
@@ -1219,7 +1219,7 @@
|
|
|
and t1.send_time < date_format(#{order.endDate,jdbcType=VARCHAR},'%Y-%m-%d')
|
|
|
and device_id in
|
|
|
<foreach collection="idList" item="item" open="(" close=")" separator=",">
|
|
|
- #{item}
|
|
|
+ #{item,jdbcType=INTEGER}
|
|
|
</foreach>
|
|
|
group by DATE_FORMAT(send_time,'%Y-%m')
|
|
|
</select>
|