修改获取实时状态类型
This commit is contained in:
@ -257,8 +257,11 @@
|
||||
<if test="criteria.deviceName != null and criteria.deviceName != ''">
|
||||
and d.device_name like concat('%', #{criteria.deviceName}, '%')
|
||||
</if>
|
||||
<if test="criteria.deviceImei != null">
|
||||
and (d.device_imei = #{criteria.deviceImei} or d.device_mac = #{criteria.deviceImei})
|
||||
<if test="criteria.deviceImei != null and criteria.deviceImei != ''">
|
||||
and (d.device_imei = #{criteria.deviceImei}
|
||||
</if>
|
||||
<if test="criteria.content != null and criteria.content != ''">
|
||||
AND d.device_imei = #{criteria.content} or d.device_mac = #{criteria.content}
|
||||
</if>
|
||||
<if test="criteria.deviceStatus != null">
|
||||
and d.device_status = #{criteria.deviceStatus}
|
||||
@ -289,6 +292,9 @@
|
||||
<if test="bo.deviceImei != null and bo.deviceImei != ''">
|
||||
AND a.device_imei = #{bo.deviceImei}
|
||||
</if>
|
||||
<if test="bo.content != null and bo.content != ''">
|
||||
AND a.device_imei = #{bo.content} or a.device_mac = #{bo.content}
|
||||
</if>
|
||||
<if test="bo.startTime != null and bo.startTime != ''">
|
||||
AND a.create_time <![CDATA[>=]]> #{bo.startTime}
|
||||
</if>
|
||||
|
Reference in New Issue
Block a user