From 1e7bd72bfa74a22ce38e5a0b3c42e0507c779777 Mon Sep 17 00:00:00 2001 From: gx_ma <1773945958@qq.com> Date: Thu, 20 Nov 2025 15:33:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=A4=9A=E6=95=B0=E6=8D=AE=E6=BA=90):?= =?UTF-8?q?=20=E8=BF=90=E8=A1=8C=E6=8A=A5=E9=94=99=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/quartz/SysJobLogMapper.xml | 2 +- .../mapper/SipDeviceChannelMapper.xml | 104 +++++++-------- springboot/sql/dameng/fastbee-v2.1.sql | 22 ++-- springboot/sql/fastbee.sql | 18 +-- springboot/sql/oracle/fastbee-v2.1.sql | 40 +++--- springboot/sql/postgres/fastbee-v2.1.sql | 118 +++++++++--------- 6 files changed, 152 insertions(+), 152 deletions(-) diff --git a/springboot/fastbee-plugs/fastbee-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml b/springboot/fastbee-plugs/fastbee-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml index 2ea754ea..9615269c 100644 --- a/springboot/fastbee-plugs/fastbee-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml +++ b/springboot/fastbee-plugs/fastbee-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml @@ -86,7 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{jobMessage}, #{status}, #{exceptionInfo}, - sysdate() + CURRENT_TIMESTAMP ) diff --git a/springboot/fastbee-server/sip-server/src/main/resources/mapper/SipDeviceChannelMapper.xml b/springboot/fastbee-server/sip-server/src/main/resources/mapper/SipDeviceChannelMapper.xml index 47fca366..93c5cfc7 100644 --- a/springboot/fastbee-server/sip-server/src/main/resources/mapper/SipDeviceChannelMapper.xml +++ b/springboot/fastbee-server/sip-server/src/main/resources/mapper/SipDeviceChannelMapper.xml @@ -18,26 +18,26 @@ - - + + - - + + - - + + - - + + - + @@ -60,26 +60,26 @@ register_time, device_type, channel_type, - cityCode, - civilCode, + city_code, + civil_code, manufacture, model, owner, block, address, - parentId, - ipAddress, + parent_id, + ip_address, port, password, - PTZType, - PTZTypeText, + ptz_type, + ptz_type_text, status, longitude, latitude, - streamId, - subCount, + stream_id, + sub_count, parental, - hasAudio, + has_audio, del_flag, create_by, create_time, @@ -104,26 +104,26 @@ and register_time = #{registerTime} and device_type = #{deviceType} and channel_type = #{channelType} - and cityCode = #{citycode} - and civilCode = #{civilcode} + and city_code = #{citycode} + and civil_code = #{civilcode} and manufacture = #{manufacture} and model = #{model} and owner = #{owner} and block = #{block} and address = #{address} - and parentId = #{parentid} - and ipAddress = #{ipaddress} + and parent_id = #{parentid} + and ip_address = #{ipaddress} and port = #{port} and password = #{password} - and PTZType = #{ptztype} - and PTZTypeText = #{ptztypetext} + and ptz_type = #{ptztype} + and ptz_type_text = #{ptztypetext} and status = #{status} and longitude = #{longitude} and latitude = #{latitude} - and streamId = #{streamid} - and subCount = #{subcount} + and stream_id = #{streamid} + and sub_count = #{subcount} and parental = #{parental} - and hasAudio = #{hasaudio} + and has_audio = #{hasaudio} @@ -147,26 +147,26 @@ register_time, device_type, channel_type, - cityCode, - civilCode, + city_code, + civil_code, manufacture, model, owner, block, address, - parentId, - ipAddress, + parent_id, + ip_address, port, password, - PTZType, - PTZTypeText, + ptz_type, + ptz_type_text, status, longitude, latitude, - streamId, - subCount, + stream_id, + sub_count, parental, - hasAudio, + has_audio, del_flag, create_by, create_time, @@ -231,26 +231,26 @@ register_time = #{registerTime}, device_type = #{deviceType}, channel_type = #{channelType}, - cityCode = #{citycode}, - civilCode = #{civilcode}, + city_code = #{citycode}, + civil_code = #{civilcode}, manufacture = #{manufacture}, model = #{model}, owner = #{owner}, block = #{block}, address = #{address}, - parentId = #{parentid}, - ipAddress = #{ipaddress}, + parent_id = #{parentid}, + ip_address = #{ipaddress}, port = #{port}, password = #{password}, - PTZType = #{ptztype}, - PTZTypeText = #{ptztypetext}, + ptz_type = #{ptztype}, + ptz_type_text = #{ptztypetext}, status = #{status}, longitude = #{longitude}, latitude = #{latitude}, - streamId = #{streamid}, - subCount = #{subcount}, + stream_id = #{streamid}, + sub_count = #{subcount}, parental = #{parental}, - hasAudio = #{hasaudio}, + has_audio = #{hasaudio}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, @@ -287,20 +287,20 @@