修改获取实时状态类型
This commit is contained in:
@ -20,6 +20,12 @@ public class InstructionRecordDto {
|
||||
* 设备IMEI
|
||||
*/
|
||||
private String deviceImei;
|
||||
|
||||
/**
|
||||
* content
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 操作时间-开始时间
|
||||
*/
|
||||
|
@ -113,4 +113,6 @@ public class DeviceQueryCriteria extends BaseEntity {
|
||||
*/
|
||||
private String area;
|
||||
|
||||
private String content;
|
||||
|
||||
}
|
||||
|
@ -36,6 +36,6 @@ public class LocationHistoryDetailVo {
|
||||
* 轨迹详情
|
||||
*/
|
||||
@ExcelProperty(value = "轨迹详情")
|
||||
private List<JSONObject> detailList;
|
||||
private List<Object> detailList;
|
||||
|
||||
}
|
||||
|
@ -28,6 +28,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="bo.deviceImei != null and bo.deviceImei != ''">
|
||||
AND b.device_imei = #{bo.deviceImei}
|
||||
</if>
|
||||
<if test="bo.content != null and bo.content != ''">
|
||||
AND b.device_imei = #{bo.content} or b.device_mac = #{bo.content}
|
||||
</if>
|
||||
<if test="bo.startTime != null and bo.startTime != ''">
|
||||
AND a.create_time <![CDATA[>=]]> #{bo.startTime}
|
||||
</if>
|
||||
|
@ -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