insert into tht_hidden_danger_road (nid,business_id) values (#{uuid}, #{businessId}) update tht_hidden_danger_road thdr set address = #{address}, coordinate = #{coordinate} where business_id = #{businessId} update tht_hidden_danger_road set section_code = #{sectionCode} where business_id = #{businessId}; update tht_hidden_danger_road thdr set address = #{address}, coordinate = #{coordinate} where business_id = #{businessId} insert into tht_section_info values (nextval('test_id_seq'), #{businessId}, #{roadType}, #{roadWidth}, #{laneCount}, #{roadStructure}, #{sideProtec}, #{centerSeparate}, #{designSpeed}, #{limitSpeed}) RETURNING #{businessId}; update tht_section_info set "ROAD_TYPE" = #{roadType}, "ROAD_WIDTH" = #{roadWidth}, "LANE_COUNT" = #{laneCount}, "ROAD_STRUCTURE" = #{roadStructure}, "SIDE_PROTEC" = #{sideProtec}, "CENTER_SEPARATE" = #{centerSeparate}, "DESIGN_SPEED" = #{designSpeed}, "LIMIT_SPEED" = #{limitSpeed} where "BUSINESS_ID" = #{businessId} insert into tht_section_traffic values (nextval('test_id_seq1'), #{businessId}, #{passingTrend}, #{maxTraffic}, #{peakTraffic}, #{peakHours}, #{normalTraffic}, #{largeVehicleRate}, #{nonvehicleTraffic}, #{lastModeUser}, #{lastModeDate}) update tht_section_traffic set "PASSING_TREND" = #{passingTrend}, "MAX_TRAFFIC" = #{maxTraffic}, "PEAK_TRAFFIC" = #{peakTraffic}, "PEAK_HOURS" = #{peakHours}, "NORMAL_TRAFFIC" = #{normalTraffic}, "LARGE_VEHICLE_RATE" = #{largeVehicleRate}, "NONVEHICLE_TRAFFIC" = #{nonvehicleTraffic}, "LAST_MOD_USER" = #{lastModeUser}, "LAST_MOD_DATE" = #{lastModeDate} where "BUSINESS_ID" = #{businessId} update tht_hidden_danger_base set status = #{temporary} where business_id = #{businessId} INSERT INTO tht_hidden_data_collect_config_extra (nid, itemid, "order", type, name, standar, unit, business_id) VALUES (nextval('test_id_seq2'), #{itemid}, #{order}, #{type}, #{name}, #{standar}, #{unit},#{businessId}) INSERT INTO tht_hidden_danger_road_info (nid, business_id, big_category, small_category, hd_term, hd_desc, pc_count,hd_pic,hd_info,pc_type) VALUES (#{nid}, #{businessId}, #{bigCategory}, #{smallCategory}, #{hdTerm}, #{hdDesc}, #{pcCount},#{hdPic},#{hdInfo},#{pcType}) insert into bis_road ("road_code","road_name","position") values(#{roadCode},#{roadName},#{position}) delete from tht_hidden_danger_road_info where business_id = #{businessId} delete from tht_hidden_data_collect_config_extra where business_id = #{businessId} insert into tht_hidden_data_collect_config_extra ("nid","itemid","order","type","name","standar","unit","business_id","scenes_id","pc_count","danger_id") values (nextval('test_id_seq2'),#{itemid},#{order},#{type},#{name},#{standar},#{unit},#{businessId},#{scenesId},#{pcCount},#{dangerId})