|
@@ -269,16 +269,6 @@
|
|
left join base_device_info c on c.id_=b.device_id
|
|
left join base_device_info c on c.id_=b.device_id
|
|
<where>
|
|
<where>
|
|
a.del_flag = false and b.del_flag = false and c.del_flag=false
|
|
a.del_flag = false and b.del_flag = false and c.del_flag=false
|
|
- <if test="searchParams.beginTime != null">
|
|
|
|
- <![CDATA[
|
|
|
|
- and a.record_time >= #{searchParams.beginTime}
|
|
|
|
- ]]>
|
|
|
|
- </if>
|
|
|
|
- <if test="searchParams.endTime != null">
|
|
|
|
- <![CDATA[
|
|
|
|
- and a.record_time <= #{searchParams.endTime}
|
|
|
|
- ]]>
|
|
|
|
- </if>
|
|
|
|
GROUP BY a.id_
|
|
GROUP BY a.id_
|
|
</where>
|
|
</where>
|
|
<foreach item="sort" collection="sortList" open="order by" separator=",">
|
|
<foreach item="sort" collection="sortList" open="order by" separator=",">
|