修改bug
This commit is contained in:
parent
1b05ed20c8
commit
883c4af576
|
|
@ -40,7 +40,7 @@ public class JwtUtil {
|
||||||
|
|
||||||
/**Token有效期为7天(Token在reids中缓存时间为两倍)*/
|
/**Token有效期为7天(Token在reids中缓存时间为两倍)*/
|
||||||
// public static final long EXPIRE_TIME = (7 * 12) * 60 * 60 * 1000;
|
// public static final long EXPIRE_TIME = (7 * 12) * 60 * 60 * 1000;
|
||||||
public static final long EXPIRE_TIME = (12) * 60 * 60 * 1000;
|
public static final long EXPIRE_TIME = 4 * 60 * 60 * 1000;
|
||||||
static final String WELL_NUMBER = SymbolConstant.WELL_NUMBER + SymbolConstant.LEFT_CURLY_BRACKET;
|
static final String WELL_NUMBER = SymbolConstant.WELL_NUMBER + SymbolConstant.LEFT_CURLY_BRACKET;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -84,5 +84,6 @@ public class CameraInfoEntity {
|
||||||
/**护理单元*/
|
/**护理单元*/
|
||||||
@ApiModelProperty(value = "护理单元ID")
|
@ApiModelProperty(value = "护理单元ID")
|
||||||
private String nuId;
|
private String nuId;
|
||||||
|
private String sn;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,11 @@
|
||||||
select b.category_id, b.type_id, b.medication_id
|
select b.category_id, b.type_id, b.medication_id
|
||||||
from nu_invoicing_cgd_info a
|
from nu_invoicing_cgd_info a
|
||||||
left join nu_config_material_info b on a.wl_id = b.id
|
left join nu_config_material_info b on a.wl_id = b.id
|
||||||
|
<where>
|
||||||
|
<if test="params.nuId !=null and params.nuId !=''">
|
||||||
|
and a.nu_id = #{params.nuId}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
<where>
|
<where>
|
||||||
<if test="params.cgdId != null and params.params.cgdId != ''">
|
<if test="params.cgdId != null and params.params.cgdId != ''">
|
||||||
and a.cgd_id = #{params.cgdId}
|
and a.cgd_id = #{params.cgdId}
|
||||||
|
|
|
||||||
|
|
@ -239,6 +239,7 @@ public class CameraInfo implements Serializable {
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String speed;
|
private String speed;
|
||||||
|
|
||||||
|
|
||||||
private String ftpIp; //回放视频转FTP上传IP
|
private String ftpIp; //回放视频转FTP上传IP
|
||||||
private String ftpPort; //回放视频转FTP上传端口
|
private String ftpPort; //回放视频转FTP上传端口
|
||||||
private String ftpUsername; //回放视频转FTP上传用户
|
private String ftpUsername; //回放视频转FTP上传用户
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,8 @@
|
||||||
a.system_type as systemType,
|
a.system_type as systemType,
|
||||||
a.protocol as protocol,
|
a.protocol as protocol,
|
||||||
b.nu_id as nuId,
|
b.nu_id as nuId,
|
||||||
a.channel
|
a.channel,
|
||||||
|
b.sn
|
||||||
from nu_iot_tplink_camera a
|
from nu_iot_tplink_camera a
|
||||||
inner join nu_iot_device_preview b on a.mac = b.sn
|
inner join nu_iot_device_preview b on a.mac = b.sn
|
||||||
where b.device_status != '损坏'
|
where b.device_status != '损坏'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue