mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 08:25:53 +08:00
feat(多数据源脚本): 达梦、SQL server、postgres
This commit is contained in:
@@ -31,7 +31,7 @@ public interface SipDeviceMapper
|
||||
* @return 监控设备集合
|
||||
*/
|
||||
public List<SipDevice> selectSipDeviceList(SipDevice sipDevice);
|
||||
public List<SipDevice> selectOfflineSipDevice(Integer timeout);
|
||||
public List<SipDevice> selectOfflineSipDevice(String checkTimeCondition);
|
||||
|
||||
/**
|
||||
* 新增监控设备
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
|
||||
<select id="selectOfflineSipDevice" parameterType="Integer" resultMap="SipDeviceResult">
|
||||
<include refid="selectSipDeviceVo"/>
|
||||
where NOW() > DATE_ADD(lastconnecttime, INTERVAL #{timeout} SECOND )
|
||||
${checkTimeCondition}
|
||||
</select>
|
||||
|
||||
<select id="selectSipDeviceBySipId" parameterType="String" resultMap="SipDeviceResult">
|
||||
|
||||
Reference in New Issue
Block a user