设备分享3
This commit is contained in:
@ -60,7 +60,7 @@ public class AppDeviceShareBo extends BaseEntity {
|
||||
/**
|
||||
* 分享时间
|
||||
*/
|
||||
private Date shareStartTime;
|
||||
private Date shareEndTime;
|
||||
private String shareStartTime;
|
||||
private String shareEndTime;
|
||||
|
||||
}
|
||||
|
@ -109,4 +109,9 @@ public class AppDeviceShareVo implements Serializable {
|
||||
* 告警状态(0解除告警,1告警)
|
||||
*/
|
||||
private String alarmStatus;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private String createTime;
|
||||
}
|
||||
|
@ -72,9 +72,12 @@
|
||||
and ad.device_id = #{bo.deviceId}
|
||||
</if>
|
||||
<if test="bo.shareUser != null">
|
||||
and u.user_name = #{bo.shareUser}
|
||||
and ad.phonenumber like concat('%',#{bo.shareUser},'%')
|
||||
</if>
|
||||
<if test="bo.shareStartTime != null and bo.hareEndTime != null">
|
||||
<if test="bo.phonenumber != null">
|
||||
and ad.phonenumber like concat('%',#{bo.phonenumber},'%')
|
||||
</if>
|
||||
<if test="bo.shareStartTime != null and bo.shareEndTime != null">
|
||||
and ad.create_time between #{bo.shareStartTime} and #{bo.shareEndTime}
|
||||
</if>
|
||||
</where>
|
||||
|
Reference in New Issue
Block a user