diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/222 b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/222 deleted file mode 100644 index 6108d7f6..00000000 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/222 +++ /dev/null @@ -1,84 +0,0 @@ -", stream_push_id = #{streamPushId}" + -", stream_push_id is null" + -", stream_proxy_id = #{streamProxyId}" + -", stream_proxy_id is null" + -", create_time = #{createTime}" + -", create_time is null" + -", sub_count = #{subCount}" + -", sub_count is null" + -", stream_id = #{streamId}" + -", stream_id is null" + -", has_audio = #{hAudio}" + -", has_audio is null" + -", gps_time = #{gpsTime}" + -", gps_time is null" + -", stream_identification = #{streamIdentification}" + -", stream_identification is null" + -", gb_device_id = #{gbDeviceId}" + -", gb_device_id is null" + -", gb_name = #{gbName}" + -", gb_name is null" + -", gb_manufacturer = #{gbManufacturer}" + -", gb_manufacturer is null" + -", gb_model = #{gbModel}" + -", gb_model is null" + -", gb_owner = #{gbOwner}" + -", gb_owner is null" + -", gbCivilCode = #{gbCivilCode}" + -", gb_civil_code is null" + -", gb_block = #{gbBlock}" + -", gb_block is null" + -", gb_address = #{gbAddress}" + -", gb_address is null" + -", gb_parental = #{gbParental}" + -", gb_parental is null" + -", gb_parent_id = #{gbParentId}" + -", gb_parent_id is null" + -", gb_safety_way = #{gbSafetyWay}" + -", gb_safety_way is null" + -", gb_register_way = #{gbRegisterWay}" + -", gb_register_way is null" + -", gb_cert_num = #{gbCertNum}" + -", gb_cert_num is null" + -", gb_certifiable = #{gbCertifiable}" + -", gb_certifiable is null" + -", gb_err_code = #{gbErrCode}" + -", gb_err_code is null" + -", gb_end_time = #{gbEndTime}" + -", gb_end_time is null" + -", gb_secrecy = #{gbSecrecy}" + -", gb_secrecy is null" + -", gb_ip_address = #{gbIpAddress}" + -", gb_ip_address is null" + -", gb_ip_address = #{gbPort}" + -", gb_port is null" + -", gb_password = #{gbPassword}" + -", gb_password is null" + -", gb_status = #{gbStatus}" + -", gb_status is null" + -", gb_longitude = #{gbLongitude}" + -", gb_longitude is null" + -", gb_latitude = #{gbLatitude}" + -", gb_latitude is null" + -", gb_ptz_type = #{gbPtzType}" + -", gb_ptz_type is null" + -", gb_position_type = #{gbPositionType}" + -", gb_position_type is null" + -", gb_room_type = #{gbRoomType}" + -", gb_room_type is null" + -", gb_use_type = #{gbUseType}" + -", gb_use_type is null" + -", gb_supply_light_type = #{gbSupplyLightType}" + -", gb_supply_light_type is null" + -", gb_direction_type = #{gbDirectionType}" + -", gb_direction_type is null" + -", gb_resolution = #{gbResolution}" + -", gb_resolution is null" + -", gb_business_group_id = #{gbBusinessGroupId}" + -", gb_business_group_id is null" + -", gb_download_speed = #{gbDownloadSpeed}" + -", gb_download_speed is null" + -", gb_svc_space_support_mod = #{gbSvcSpaceSupportMod}" + -", gb_svc_space_support_mod is null" + -", gb_svc_time_support_mode = #{gbSvcTimeSupportMode}" + -", gb_svc_time_support_mode is null" + \ No newline at end of file diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java index bcddfa90..241c96f2 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java @@ -17,14 +17,16 @@ import java.util.List; @Repository public interface DeviceChannelMapper { - @Insert("INSERT INTO wvp_device_channel (channel_id, device_id, name, manufacture, model, owner, civil_code, block, " + - "address, parental, parent_id, safety_way, register_way, cert_num, certifiable, err_code, secrecy, " + - "ip_address, port, password, ptz_type, status, stream_id, longitude, latitude, longitude_gcj02, latitude_gcj02, " + - "longitude_wgs84, latitude_wgs84, has_audio, create_time, update_time, business_group_id, gps_time, stream_identification) " + - "VALUES (#{channelId}, #{deviceId}, #{name}, #{manufacture}, #{model}, #{owner}, #{civilCode}, #{block}," + - "#{address}, #{parental}, #{parentId}, #{safetyWay}, #{registerWay}, #{certNum}, #{certifiable}, #{errCode}, #{secrecy}, " + - "#{ipAddress}, #{port}, #{password}, #{ptzType}, #{status}, #{streamId}, #{longitude}, #{latitude}, #{longitudeGcj02}, " + - "#{latitudeGcj02}, #{longitudeWgs84}, #{latitudeWgs84}, #{hasAudio}, #{createTime}, #{updateTime}, #{businessGroupId}, #{gpsTime}, #{streamIdentification})") + @Insert("INSERT INTO wvp_device_channel (device_id, device_db_id, name, manufacture, model, owner, civil_code, block, " + + "address, parental, parent_id, safety_way, register_way, cert_num, certifiable, err_code, end_time, secrecy, " + + "ip_address, port, password, status, longitude, latitude, ptz_type, position_type, room_type, use_type, " + + "supply_light_type, direction_type, resolution, business_group_id, download_speed, svc_space_support_mod, " + + "svc_time_support_mode, create_time, update_time, sub_count,stream_id, has_audio, gps_time, stream_identification) " + + "VALUES (#{deviceId}, #{deviceDbId}, #{name}, #{manufacture}, #{model}, #{owner}, #{civilCode}, #{block}," + + "#{address}, #{parental}, #{parentId}, #{safetyWay}, #{registerWay}, #{certNum}, #{certifiable}, #{errCode}, #{endTime}, #{secrecy}, " + + "#{ipAddress}, #{port}, #{password}, #{status}, #{longitude}, #{latitude}, #{ptzType}, #{positionType}, #{roomType}, #{useType}, " + + "#{supplyLightType}, #{directionType}, #{resolution}, #{businessGroupId}, #{downloadSpeed}, #{svcSpaceSupportMod}," + + " #{svcTimeSupportMode}, #{createTime}, #{updateTime}, #{subCount}, #{streamId}, #{hasAudio}, #{gpsTime}, #{streamIdentification})") int add(DeviceChannel channel); @Update(value = {"