feat(多数据源脚本): 达梦、SQL server、postgres

This commit is contained in:
gx_ma
2025-04-22 10:03:31 +08:00
parent ff51ea78af
commit 54f2487330
13 changed files with 17310 additions and 4 deletions

View File

@@ -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);
/**
* 新增监控设备

View File

@@ -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">