523 lines
45 KiB
XML
523 lines
45 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||
|
|
<mapper namespace="com.sercurityControl.proteam.testdata.mapper.DataImportDataMapper">
|
||
|
|
|
||
|
|
<insert id="addJjBall">
|
||
|
|
replace into jj_ball(
|
||
|
|
id, camera_name, camera_no, delete_flag, puid, province_code,
|
||
|
|
creater_id, create_time, updater_id, updater_time
|
||
|
|
)values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id},#{item.camera_name},#{item.camera_no},#{item.delete_flag},
|
||
|
|
#{item.puid},#{item.province_code},#{item.creater_id},#{item.create_time},
|
||
|
|
#{item.updater_id},#{item.updater_time}
|
||
|
|
)
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjBidInfo">
|
||
|
|
replace into jj_bid_info(
|
||
|
|
id, single_project_code, bidding_section_id, bidding_section_name, safety_code, bidding_section_code,
|
||
|
|
safety_project_status, province_code, build_unit_code, build_unit_con_person, build_unit_mobile, across_area,
|
||
|
|
tower_no, actual_commencement_date, actual_finish_time, current_drp_rate, current_work_stage, tower_found_com_num,
|
||
|
|
tower_assem_num, line_com_num, remark, huv_flag, creater_id, prj_code, delete_flag
|
||
|
|
)values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id},#{item.single_project_code},#{item.bidding_section_id},#{item.bidding_section_name}, #{item.safety_code},#{item.bidding_section_code},
|
||
|
|
#{item.safety_project_status},#{item.province_code}, #{item.build_unit_code},#{item.build_unit_con_person},#{item.build_unit_mobile},#{item.across_area},
|
||
|
|
#{item.tower_no},#{item.actual_commencement_date},#{item.actual_finish_time},#{item.current_drp_rate}, #{item.current_work_stage},#{item.tower_found_com_num},
|
||
|
|
#{item.tower_assem_num},#{item.line_com_num},#{item.remark},#{item.huv_flag}, #{item.creater_id},#{item.prj_code},#{item.delete_flag}
|
||
|
|
)
|
||
|
|
</foreach>
|
||
|
|
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjBidProject" >
|
||
|
|
REPLACE INTO jj_bid_project (
|
||
|
|
id, project_no, single_name, single_no, bid_name,
|
||
|
|
bid_no, build_unit, build_no, build_nature, facts, end_time,
|
||
|
|
plan_statrt_time, plan_end_time, start_time, sg_dw, jl_dw, voltage,
|
||
|
|
status, pro_type, is_stop, gc_jd, jl_phone, create_time,
|
||
|
|
del_flag ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.project_no}, #{item.single_name}, #{item.single_no}, #{item.bid_name},
|
||
|
|
#{item.bid_no}, #{item.build_unit}, #{item.build_no}, #{item.build_nature}, #{item.facts}, #{item.end_time},
|
||
|
|
#{item.plan_statrt_time}, #{item.plan_end_time}, #{item.start_time}, #{item.sg_dw}, #{item.jl_dw}, #{item.voltage},
|
||
|
|
#{item.status}, #{item.pro_type}, #{item.is_stop}, #{item.gc_jd}, #{item.jl_phone}, #{item.create_time},
|
||
|
|
#{item.del_flag} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjBiddingProject" >
|
||
|
|
REPLACE INTO jj_bidding_project (
|
||
|
|
id, CONSTR_TRANSFORMER_CAPACITY, LINE_QUANTITY, MAIN_TRANSFORMER_QUANTITY, STATUS,
|
||
|
|
CONSTRUCTION_STATUS, SUB_FLAG, PLAN_START_DATE, ACTUAL_START_DATE, PLAN_FIN_DATE, ACTUAL_FIN_DATE,
|
||
|
|
PRJ_CODE, PLAN_COMPL_DATE, ACTUAL_COMPL_DATE, DELETE_FLAG, CREATER_ID, CREATE_TIME,
|
||
|
|
UPDATER_ID, UPDATE_TIME, CREATE_TYPE, SINGLE_PROJECT_CODE, BIDDING_SECTION_CODE, BIDDING_SECTION_NAME,
|
||
|
|
PROVINCE_CODE, BUILD_UNIT_CODE, BIDDING_SECTION_TYPE, CONSTRUCTION_LINE_LENGTH ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.CONSTR_TRANSFORMER_CAPACITY}, #{item.LINE_QUANTITY}, #{item.MAIN_TRANSFORMER_QUANTITY}, #{item.STATUS},
|
||
|
|
#{item.CONSTRUCTION_STATUS}, #{item.SUB_FLAG}, #{item.PLAN_START_DATE}, #{item.ACTUAL_START_DATE}, #{item.PLAN_FIN_DATE}, #{item.ACTUAL_FIN_DATE},
|
||
|
|
#{item.PRJ_CODE}, #{item.PLAN_COMPL_DATE}, #{item.ACTUAL_COMPL_DATE}, #{item.DELETE_FLAG}, #{item.CREATER_ID}, #{item.CREATE_TIME},
|
||
|
|
#{item.UPDATER_ID}, #{item.UPDATE_TIME}, #{item.CREATE_TYPE}, #{item.SINGLE_PROJECT_CODE}, #{item.BIDDING_SECTION_CODE}, #{item.BIDDING_SECTION_NAME},
|
||
|
|
#{item.PROVINCE_CODE}, #{item.BUILD_UNIT_CODE}, #{item.BIDDING_SECTION_TYPE}, #{item.CONSTRUCTION_LINE_LENGTH} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjClassMeetingPeople" >
|
||
|
|
REPLACE INTO jj_class_meeting_people (
|
||
|
|
id, registration_date, validity_period, province_code, creater_id,
|
||
|
|
create_time, updater_id, update_time, delete_flag, work_code, personnel_id,
|
||
|
|
tool_box_talk_id, real_name, id_card, position_code, safety_guardian_flag, position_flag,
|
||
|
|
work_division ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.registration_date}, #{item.validity_period}, #{item.province_code}, #{item.creater_id},
|
||
|
|
#{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.delete_flag}, #{item.work_code}, #{item.personnel_id},
|
||
|
|
#{item.tool_box_talk_id}, #{item.real_name}, #{item.id_card}, #{item.position_code}, #{item.safety_guardian_flag}, #{item.position_flag},
|
||
|
|
#{item.work_division} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjClassMeetting" >
|
||
|
|
REPLACE INTO jj_class_meetting (
|
||
|
|
id, work_start_time, current_constr_date, current_construction_status, work_overnight_flag,
|
||
|
|
tool_box_talk_address, tool_box_talk_longitude, tool_box_talk_Latitude, mc_work_site_id, bidding_section_code, bidding_section_name,
|
||
|
|
off_online_flag, single_project_code, single_project_name, single_project_type, constr_unified_social_credit_id, supervision_unit_name,
|
||
|
|
supervision_social_credit_code, voltage_level, huv_flag, build_unit_code, province_code, creater_id,
|
||
|
|
prj_name, create_time, updater_id, update_time, delete_flag, risk_precaution_id,
|
||
|
|
talk_des_status_change_id, file_id, camera_id, prj_code, ticket_id, ticket_no,
|
||
|
|
re_assessment_risk_level, current_constr_headcount, construction_headcount, change_time,
|
||
|
|
camera_id2, camera_id3, camera_id4, camera_id5,
|
||
|
|
camera_no,camera_no2,camera_no3,camera_no4,camera_no5,construction_unit_name
|
||
|
|
) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.work_start_time}, #{item.current_constr_date}, #{item.current_construction_status}, #{item.work_overnight_flag},
|
||
|
|
#{item.tool_box_talk_address}, #{item.tool_box_talk_longitude}, #{item.tool_box_talk_Latitude}, #{item.mc_work_site_id}, #{item.bidding_section_code}, #{item.bidding_section_name},
|
||
|
|
#{item.off_online_flag}, #{item.single_project_code}, #{item.single_project_name}, #{item.single_project_type}, #{item.constr_unified_social_credit_id}, #{item.supervision_unit_name},
|
||
|
|
#{item.supervision_social_credit_code}, #{item.voltage_level}, #{item.huv_flag}, #{item.build_unit_code}, #{item.province_code}, #{item.creater_id},
|
||
|
|
#{item.prj_name}, #{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.delete_flag}, #{item.risk_precaution_id},
|
||
|
|
#{item.talk_des_status_change_id}, #{item.file_id}, #{item.camera_id}, #{item.prj_code}, #{item.ticket_id}, #{item.ticket_no},
|
||
|
|
#{item.re_assessment_risk_level}, #{item.current_constr_headcount}, #{item.construction_headcount}, #{item.change_time},
|
||
|
|
#{item.camera_id2}, #{item.camera_id3}, #{item.camera_id4}, #{item.camera_id5},
|
||
|
|
#{item.camera_no},#{item.camera_no2}, #{item.camera_no3}, #{item.camera_no4},#{item.camera_no5},#{item.construction_unit_name}
|
||
|
|
)
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjClassMettingInfo">
|
||
|
|
REPLACE INTO jj_class_metting_info (
|
||
|
|
class_id, work_gx, work_type, work_manage, team_id,
|
||
|
|
work_manage_phone, work_manage_num, work_content, work_site, main_risk, team_name,
|
||
|
|
work_day, types ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.class_id}, #{item.work_gx}, #{item.work_type}, #{item.work_manage}, #{item.team_id},
|
||
|
|
#{item.work_manage_phone}, #{item.work_manage_num}, #{item.work_content}, #{item.work_site}, #{item.main_risk}, #{item.team_name},
|
||
|
|
#{item.work_day}, #{item.types} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjCode" >
|
||
|
|
REPLACE INTO jj_code (
|
||
|
|
id, code_type, code_value, name, content,
|
||
|
|
content2, content3, content4 ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.code_type}, #{item.code_value}, #{item.name}, #{item.content},
|
||
|
|
#{item.content2}, #{item.content3}, #{item.content4} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
|
||
|
|
<insert id="addJjDataCode" >
|
||
|
|
REPLACE INTO jj_data_code (
|
||
|
|
id, major, code, name, code_value,
|
||
|
|
value, remarks ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.major}, #{item.code}, #{item.name}, #{item.code_value},
|
||
|
|
#{item.value}, #{item.remarks} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjDayPlan">
|
||
|
|
REPLACE INTO jj_day_plan (
|
||
|
|
id, c_delete_flag, creater_id, create_time, updater_id,
|
||
|
|
update_time, batch_no, task_daily_id, ticket_id, risk_precaution_id, work_site_id,
|
||
|
|
build_unit_code, t_delete_flag, exec_status, tool_box_talk_id, sub_section_project_id, sub_section_project_name,
|
||
|
|
sub_entry_project_id, sub_entry_project_name, cancel_reason, work_overnight_flag, audit_hierarchy, single_project_code,
|
||
|
|
plan_status, t_planned_start_date, bidding_section_code, bidding_section_name, team_id, c_planned_start_date,
|
||
|
|
additional_plan_flag, province_code, planned_start_date, delete_flag ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.c_delete_flag}, #{item.creater_id}, #{item.create_time}, #{item.updater_id},
|
||
|
|
#{item.update_time}, #{item.batch_no}, #{item.task_daily_id}, #{item.ticket_id}, #{item.risk_precaution_id}, #{item.work_site_id},
|
||
|
|
#{item.build_unit_code}, #{item.t_delete_flag}, #{item.exec_status}, #{item.tool_box_talk_id}, #{item.sub_section_project_id}, #{item.sub_section_project_name},
|
||
|
|
#{item.sub_entry_project_id}, #{item.sub_entry_project_name}, #{item.cancel_reason}, #{item.work_overnight_flag}, #{item.audit_hierarchy}, #{item.single_project_code},
|
||
|
|
#{item.plan_status}, #{item.t_planned_start_date}, #{item.bidding_section_code}, #{item.bidding_section_name}, #{item.team_id}, #{item.c_planned_start_date},
|
||
|
|
#{item.additional_plan_flag}, #{item.province_code}, #{item.planned_start_date}, #{item.delete_flag} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjDeptGcProject">
|
||
|
|
REPLACE INTO jj_dept_gc_project (
|
||
|
|
id, dept_id, prj_code, single_project_code, bidding_section_code,
|
||
|
|
disband_flag, d_delete_flag, year, province_code, build_unit_code, project_dept_no,
|
||
|
|
project_department_name, affiliation_code, establishment_date, dept_province_code, dept_cities_code, dept_district_code,
|
||
|
|
address, postal_code, contact_telephone, email_address, fax_no, group_markup,
|
||
|
|
department_type, department_status, history_flag, p_delete_flag, creater_id, create_time,
|
||
|
|
updater_id, update_time ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.dept_id}, #{item.prj_code}, #{item.single_project_code}, #{item.bidding_section_code},
|
||
|
|
#{item.disband_flag}, #{item.d_delete_flag}, #{item.year}, #{item.province_code}, #{item.build_unit_code}, #{item.project_dept_no},
|
||
|
|
#{item.project_department_name}, #{item.affiliation_code}, #{item.establishment_date}, #{item.dept_province_code}, #{item.dept_cities_code}, #{item.dept_district_code},
|
||
|
|
#{item.address}, #{item.postal_code}, #{item.contact_telephone}, #{item.email_address}, #{item.fax_no}, #{item.group_markup},
|
||
|
|
#{item.department_type}, #{item.department_status}, #{item.history_flag}, #{item.p_delete_flag}, #{item.creater_id}, #{item.create_time},
|
||
|
|
#{item.updater_id}, #{item.update_time} )
|
||
|
|
</foreach>
|
||
|
|
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjGt">
|
||
|
|
REPLACE INTO jj_gt (
|
||
|
|
id, topography, stent_flag, borrowed_flag, span,
|
||
|
|
tower_cuircuit_number, circuit_quantity, longitude, latitude, east_coordinate, north_coordinate,
|
||
|
|
single_project_code, center_pile_elevation, rotation_degree, geology, tower_leg_baseform_first, tower_leg_baseform_second,
|
||
|
|
tower_leg_baseform_third, tower_leg_baseform_fourth, tower_leg_max_depth_first, tower_leg_max_depth_second, tower_leg_max_depth_third, bidding_section_code,
|
||
|
|
tower_leg_max_depth_fourth, tower_type, tension_tower_flag, tower_structure, creater_id, create_time,
|
||
|
|
updater_id, update_time, delete_flag, province_code, general_design_flag, tower_type_no,
|
||
|
|
upstream_tower_no, dismantle_flag, cover4g_flag, tower_sequence_no, remark, representative_span,
|
||
|
|
tension_section_length, county, town, tower_no, village, run_tower_code,
|
||
|
|
ground_thing_name, design_change_no, section_divide_point_flag, section_adjust_num, tower_weight, slope,
|
||
|
|
construction_dept_id, supervision_dept_id, module_no, devise_dept_id, owner_dept_id, uhv_flag,
|
||
|
|
address, custom_flag, nominal_height, tower_full_height, major_crossing_flag ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.topography}, #{item.stent_flag}, #{item.borrowed_flag}, #{item.span},
|
||
|
|
#{item.tower_cuircuit_number}, #{item.circuit_quantity}, #{item.longitude}, #{item.latitude}, #{item.east_coordinate}, #{item.north_coordinate},
|
||
|
|
#{item.single_project_code}, #{item.center_pile_elevation}, #{item.rotation_degree}, #{item.geology}, #{item.tower_leg_baseform_first}, #{item.tower_leg_baseform_second},
|
||
|
|
#{item.tower_leg_baseform_third}, #{item.tower_leg_baseform_fourth}, #{item.tower_leg_max_depth_first}, #{item.tower_leg_max_depth_second}, #{item.tower_leg_max_depth_third}, #{item.bidding_section_code},
|
||
|
|
#{item.tower_leg_max_depth_fourth}, #{item.tower_type}, #{item.tension_tower_flag}, #{item.tower_structure}, #{item.creater_id}, #{item.create_time},
|
||
|
|
#{item.updater_id}, #{item.update_time}, #{item.delete_flag}, #{item.province_code}, #{item.general_design_flag}, #{item.tower_type_no},
|
||
|
|
#{item.upstream_tower_no}, #{item.dismantle_flag}, #{item.cover4g_flag}, #{item.tower_sequence_no}, #{item.remark}, #{item.representative_span},
|
||
|
|
#{item.tension_section_length}, #{item.county}, #{item.town}, #{item.tower_no}, #{item.village}, #{item.run_tower_code},
|
||
|
|
#{item.ground_thing_name}, #{item.design_change_no}, #{item.section_divide_point_flag}, #{item.section_adjust_num}, #{item.tower_weight}, #{item.slope},
|
||
|
|
#{item.construction_dept_id}, #{item.supervision_dept_id}, #{item.module_no}, #{item.devise_dept_id}, #{item.owner_dept_id}, #{item.uhv_flag},
|
||
|
|
#{item.address}, #{item.custom_flag}, #{item.nominal_height}, #{item.tower_full_height}, #{item.major_crossing_flag} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjInfo">
|
||
|
|
REPLACE INTO jj_info (
|
||
|
|
id, replenish_content_1, replenish_content_2, replenish_content_3, replenish_content_4,
|
||
|
|
replenish_content_5, replenish_content_6, replenish_content_7, delete_flag, create_time, update_time,
|
||
|
|
ref_id, ref_id2, sort_no, ext_type, content_type ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.replenish_content_1}, #{item.replenish_content_2}, #{item.replenish_content_3}, #{item.replenish_content_4},
|
||
|
|
#{item.replenish_content_5}, #{item.replenish_content_6}, #{item.replenish_content_7}, #{item.delete_flag}, #{item.create_time}, #{item.update_time},
|
||
|
|
#{item.ref_id}, #{item.ref_id2}, #{item.sort_no}, #{item.ext_type}, #{item.content_type} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjOnDuty">
|
||
|
|
REPLACE INTO jj_on_duty (
|
||
|
|
id, bidding_section_code, single_project_code, prj_code, id_card,
|
||
|
|
build_unit_code, province_code, creater_id, create_time, updater_id, update_time,
|
||
|
|
tool_box_talk_id, delete_flag, onduty_longitude, onduty_latitude, onduty_address, personnel_id,
|
||
|
|
real_name, unit_name, position_code, mobile, onduty_hierarchy, remark ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.bidding_section_code}, #{item.single_project_code}, #{item.prj_code}, #{item.id_card},
|
||
|
|
#{item.build_unit_code}, #{item.province_code}, #{item.creater_id}, #{item.create_time}, #{item.updater_id}, #{item.update_time},
|
||
|
|
#{item.tool_box_talk_id}, #{item.delete_flag}, #{item.onduty_longitude}, #{item.onduty_latitude}, #{item.onduty_address}, #{item.personnel_id},
|
||
|
|
#{item.real_name}, #{item.unit_name}, #{item.position_code}, #{item.mobile}, #{item.onduty_hierarchy}, #{item.remark} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjPerson">
|
||
|
|
REPLACE INTO jj_person (
|
||
|
|
id, name, bak_ic, people_type, single_no,
|
||
|
|
bid_no, phone, team_name, people_type_name, entrance_time, create_time,
|
||
|
|
ic_card ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.name}, #{item.bak_ic}, #{item.people_type}, #{item.single_no},
|
||
|
|
#{item.bid_no}, #{item.phone}, #{item.team_name}, #{item.people_type_name}, #{item.entrance_time}, #{item.create_time},
|
||
|
|
#{item.ic_card} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjPrjEnginneringExperience">
|
||
|
|
REPLACE INTO jj_prj_enginnering_experience (
|
||
|
|
id, unit_code, personnel_id, project_department_id, position_code,
|
||
|
|
position_name, entry_date, exit_date, province_code, depart_type, working_team_id,
|
||
|
|
job_code, job_name, specialty, manage_unit, delete_flag, creater_id,
|
||
|
|
create_time, updater_id, update_time ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.unit_code}, #{item.personnel_id}, #{item.project_department_id}, #{item.position_code},
|
||
|
|
#{item.position_name}, #{item.entry_date}, #{item.exit_date}, #{item.province_code}, #{item.depart_type}, #{item.working_team_id},
|
||
|
|
#{item.job_code}, #{item.job_name}, #{item.specialty}, #{item.manage_unit}, #{item.delete_flag}, #{item.creater_id},
|
||
|
|
#{item.create_time}, #{item.updater_id}, #{item.update_time} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjProject">
|
||
|
|
REPLACE INTO jj_project (
|
||
|
|
id, non_constr_department_impl, fea_line_length, feas_trans_capacity, construction_line_length,
|
||
|
|
constr_transformer_capacity, production_line_length, prod_trans_capacity, line_quantity, main_transformer_quantity, fea_dinvest,
|
||
|
|
prj_code, fea_sinvest, appr_file_no, project_approval_document_no, location_province, location_province_name,
|
||
|
|
location_municipality, location_municipality_name, location_area, location_area_name, constr_address, prj_name,
|
||
|
|
prj_manage_mode, construction_status, planned_commencement_date, actual_commencement_date, planned_commissioning_date, actual_commissioning_date,
|
||
|
|
plan_compl_date, actual_compl_date, prj_source, g_delete_flag, province_code, creater_id,
|
||
|
|
create_time, updater_id, update_time, settlement_id, initial_design_approval_no, initial_design_approval_date,
|
||
|
|
initial_desg_estim_dynamic_inv, initial_desg_estim_static_inv, initial_desg_approval_filename, build_unit_code, estimate_status, constr_instln_bgt_prep_method,
|
||
|
|
constr_instln_bgt_rev_date, constr_instln_bgt_dynamic_inv, constr_instln_bgt_static_inv, constr_instln_review_filename, constr_and_instln_maj_chg_num, constr_and_instln_maj_chg_amt,
|
||
|
|
db_flag, constr_instln_budget_status, voltage_level, full_caliber_bgt_prep_method, full_cal_bgt_rev_compl_date, full_caliber_bgt_dynamic_inv,
|
||
|
|
full_caliber_bgt_static_inv, overall_review_filename, overall_major_change_item_num, overall_major_change_amount, overall_budget_status, settlement_plan_compl_date,
|
||
|
|
settlement_actual_compl_date, project_type, settlement_dynamic_inv, settlement_static_inv, finance_receive_date, settl_appro_form_filename,
|
||
|
|
settlement_status, e_delete_flag, approve_unit, constr_nature, construction_category ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.non_constr_department_impl}, #{item.fea_line_length}, #{item.feas_trans_capacity}, #{item.construction_line_length},
|
||
|
|
#{item.constr_transformer_capacity}, #{item.production_line_length}, #{item.prod_trans_capacity}, #{item.line_quantity}, #{item.main_transformer_quantity}, #{item.fea_dinvest},
|
||
|
|
#{item.prj_code}, #{item.fea_sinvest}, #{item.appr_file_no}, #{item.project_approval_document_no}, #{item.location_province}, #{item.location_province_name},
|
||
|
|
#{item.location_municipality}, #{item.location_municipality_name}, #{item.location_area}, #{item.location_area_name}, #{item.constr_address}, #{item.prj_name},
|
||
|
|
#{item.prj_manage_mode}, #{item.construction_status}, #{item.planned_commencement_date}, #{item.actual_commencement_date}, #{item.planned_commissioning_date}, #{item.actual_commissioning_date},
|
||
|
|
#{item.plan_compl_date}, #{item.actual_compl_date}, #{item.prj_source}, #{item.g_delete_flag}, #{item.province_code}, #{item.creater_id},
|
||
|
|
#{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.settlement_id}, #{item.initial_design_approval_no}, #{item.initial_design_approval_date},
|
||
|
|
#{item.initial_desg_estim_dynamic_inv}, #{item.initial_desg_estim_static_inv}, #{item.initial_desg_approval_filename}, #{item.build_unit_code}, #{item.estimate_status}, #{item.constr_instln_bgt_prep_method},
|
||
|
|
#{item.constr_instln_bgt_rev_date}, #{item.constr_instln_bgt_dynamic_inv}, #{item.constr_instln_bgt_static_inv}, #{item.constr_instln_review_filename}, #{item.constr_and_instln_maj_chg_num}, #{item.constr_and_instln_maj_chg_amt},
|
||
|
|
#{item.db_flag}, #{item.constr_instln_budget_status}, #{item.voltage_level}, #{item.full_caliber_bgt_prep_method}, #{item.full_cal_bgt_rev_compl_date}, #{item.full_caliber_bgt_dynamic_inv},
|
||
|
|
#{item.full_caliber_bgt_static_inv}, #{item.overall_review_filename}, #{item.overall_major_change_item_num}, #{item.overall_major_change_amount}, #{item.overall_budget_status}, #{item.settlement_plan_compl_date},
|
||
|
|
#{item.settlement_actual_compl_date}, #{item.project_type}, #{item.settlement_dynamic_inv}, #{item.settlement_static_inv}, #{item.finance_receive_date}, #{item.settl_appro_form_filename},
|
||
|
|
#{item.settlement_status}, #{item.e_delete_flag}, #{item.approve_unit}, #{item.constr_nature}, #{item.construction_category} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjRisk">
|
||
|
|
REPLACE INTO jj_risk (
|
||
|
|
id, risk_no, professional, part_subentry, work_type,
|
||
|
|
work_procedure, risk_leve, min_constr_headcount, risk_assessment_value, consequence_due_to_risk, risk_control_key_facto,
|
||
|
|
merge, remark, huv_flag, province_code, creater_id, create_time,
|
||
|
|
updater_id, update_time, delete_flag ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.risk_no}, #{item.professional}, #{item.part_subentry}, #{item.work_type},
|
||
|
|
#{item.work_procedure}, #{item.risk_level}, #{item.min_constr_headcount}, #{item.risk_assessment_value}, #{item.consequence_due_to_risk}, #{item.risk_control_key_facto},
|
||
|
|
#{item.merge}, #{item.remark}, #{item.huv_flag}, #{item.province_code}, #{item.creater_id}, #{item.create_time},
|
||
|
|
#{item.updater_id}, #{item.update_time}, #{item.delete_flag} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjRiskPrecaution">
|
||
|
|
REPLACE INTO jj_risk_precaution (
|
||
|
|
id, part_subentry, work_type, work_procedure, assessment_risk_level,
|
||
|
|
re_assessment_risk_level, min_constr_headcount, risk_assessment_value, work_content, working_condition, voltage_drp_flag,
|
||
|
|
source_risk_precaution_id, merge, risk_status, publish_state, planned_start_date, execute_time,
|
||
|
|
end_time, huv_flag, build_unit_code, province_code, creater_id, risk_no,
|
||
|
|
create_time, updater_id, update_time, delete_flag, working_condition_flag, constr_meth_id,
|
||
|
|
single_project_code, bidding_section_code, work_site_id, work_site_name, work_site_type, professional ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.part_subentry}, #{item.work_type}, #{item.work_procedure}, #{item.assessment_risk_level},
|
||
|
|
#{item.re_assessment_risk_level}, #{item.min_constr_headcount}, #{item.risk_assessment_value}, #{item.work_content}, #{item.working_condition}, #{item.voltage_drp_flag},
|
||
|
|
#{item.source_risk_precaution_id}, #{item.merge}, #{item.risk_status}, #{item.publish_state}, #{item.planned_start_date}, #{item.execute_time},
|
||
|
|
#{item.end_time}, #{item.huv_flag}, #{item.build_unit_code}, #{item.province_code}, #{item.creater_id}, #{item.risk_no},
|
||
|
|
#{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.delete_flag}, #{item.working_condition_flag}, #{item.constr_meth_id},
|
||
|
|
#{item.single_project_code}, #{item.bidding_section_code}, #{item.work_site_id}, #{item.work_site_name}, #{item.work_site_type}, #{item.professional} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjSingleInfo">
|
||
|
|
REPLACE INTO jj_single_info (
|
||
|
|
id, single_project_id, single_project_name, single_project_code, safety_code,
|
||
|
|
safety_project_status, prj_local, province_code, build_unit_code, build_unit_con_person, build_unit_mobile,
|
||
|
|
across_area, tower_no, actual_commencement_date, actual_finish_time, current_drp_rate, current_work_stage,
|
||
|
|
tower_found_com_num, tower_assem_num, line_com_num, remark, last_suspend_time, last_resume_time,
|
||
|
|
huv_flag, creater_id, create_time, updater_id, update_time, delete_flag,
|
||
|
|
prj_type, single_project_type, prj_code, prj_name, is_work, is_stop ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.single_project_id}, #{item.single_project_name}, #{item.single_project_code}, #{item.safety_code},
|
||
|
|
#{item.safety_project_status}, #{item.prj_local}, #{item.province_code}, #{item.build_unit_code}, #{item.build_unit_con_person}, #{item.build_unit_mobile},
|
||
|
|
#{item.across_area}, #{item.tower_no}, #{item.actual_commencement_date}, #{item.actual_finish_time}, #{item.current_drp_rate}, #{item.current_work_stage},
|
||
|
|
#{item.tower_found_com_num}, #{item.tower_assem_num}, #{item.line_com_num}, #{item.remark}, #{item.last_suspend_time}, #{item.last_resume_time},
|
||
|
|
#{item.huv_flag}, #{item.creater_id}, #{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.delete_flag},
|
||
|
|
#{item.prj_type}, #{item.single_project_type}, #{item.prj_code}, #{item.prj_name}, #{item.is_work}, #{item.is_stop} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjSingleProject">
|
||
|
|
REPLACE INTO jj_single_project (
|
||
|
|
id, single_project_type, jgjsver_special_project_expense, jgjsver_auxiliary_facilities_cost, jgjsver_cost_file_name,
|
||
|
|
jgjsver_project_type, jgjsver_software_type, jgjsver_status, single_project_prer_type, single_project_details_type, constr_nature,
|
||
|
|
construction_line_length, constr_transformer_capacity, production_line_length, prod_trans_capacity, fea_line_length, feas_trans_capacity,
|
||
|
|
prj_code, line_quantity, main_transformer_quantity, fea_dinvest, fea_sinvest, apply_flag,
|
||
|
|
integrate_intosys_flag, status, planned_commencement_date, actual_commencement_date, planned_commissioning_date, single_project_code,
|
||
|
|
actual_commissioning_date, plan_compl_date, actual_completion_date, construction_status, constr_address, location_province,
|
||
|
|
location_province_name, location_municipality, location_municipality_name, location_area, single_project_name, location_area_name,
|
||
|
|
delete_flag, creater_id, create_time, updater_id, update_time, gspfver_stage,
|
||
|
|
gspfver_version, gspfver_dynamic_investment, gspfver_static_investment, province_code, gspfver_construction_cost, gspfver_installation_cost,
|
||
|
|
gspfver_cost_of_equip_procurement, gspfver_other_expenses, gspfver_basic_contingency, gspfver_special_project_expense, gspfver_auxiliary_facilities_cost, gspfver_cost_file_name,
|
||
|
|
gspfver_project_type, gspfver_software_type, province_name, gspfver_status, sgtssver_stage, sgtssver_version,
|
||
|
|
sgtssver_dynamic_investment, sgtssver_static_investment, sgtssver_construction_cost, sgtssver_installation_cost, sgtssver_cost_of_equip_procurement, sgtssver_other_expenses,
|
||
|
|
sgtssver_basic_contingency, build_unit_code, sgtssver_special_project_expense, sgtssver_auxiliary_facilities_cost, sgtssver_cost_file_name, sgtssver_project_type,
|
||
|
|
sgtssver_software_type, sgtssver_status, sgtpfver_stag, sgtpfver_version, sgtpfver_dynamic_investment, sgtpfver_static_investment,
|
||
|
|
BUILD_UNIT_NAME, sgtpfver_construction_cost, sgtpfver_installation_cost, sgtpfver_cost_of_equip_procurement, sgtpfver_other_expenses, sgtpfver_basic_contingency,
|
||
|
|
sgtpfver_special_project_expense, sgtpfver_auxiliary_facilities_cost, sgtpfver_cost_file_name, sgtpfver_project_type, sgtpfver_software_type, voltage_level,
|
||
|
|
sgtpfver_status, jgjsver_stage, jgjsver_version, jgjsver_dynamic_investment, jgjsver_static_investment, jgjsver_construction_cost,
|
||
|
|
jgjsver_installation_cost, jgjsver_cost_of_equip_procurement, jgjsver_other_expenses, jgjsver_basic_contingency ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.single_project_type}, #{item.jgjsver_special_project_expense}, #{item.jgjsver_auxiliary_facilities_cost}, #{item.jgjsver_cost_file_name},
|
||
|
|
#{item.jgjsver_project_type}, #{item.jgjsver_software_type}, #{item.jgjsver_status}, #{item.single_project_prer_type}, #{item.single_project_details_type}, #{item.constr_nature},
|
||
|
|
#{item.construction_line_length}, #{item.constr_transformer_capacity}, #{item.production_line_length}, #{item.prod_trans_capacity}, #{item.fea_line_length}, #{item.feas_trans_capacity},
|
||
|
|
#{item.prj_code}, #{item.line_quantity}, #{item.main_transformer_quantity}, #{item.fea_dinvest}, #{item.fea_sinvest}, #{item.apply_flag},
|
||
|
|
#{item.integrate_intosys_flag}, #{item.status}, #{item.planned_commencement_date}, #{item.actual_commencement_date}, #{item.planned_commissioning_date}, #{item.single_project_code},
|
||
|
|
#{item.actual_commissioning_date}, #{item.plan_compl_date}, #{item.actual_completion_date}, #{item.construction_status}, #{item.constr_address}, #{item.location_province},
|
||
|
|
#{item.location_province_name}, #{item.location_municipality}, #{item.location_municipality_name}, #{item.location_area}, #{item.single_project_name}, #{item.location_area_name},
|
||
|
|
#{item.delete_flag}, #{item.creater_id}, #{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.gspfver_stage},
|
||
|
|
#{item.gspfver_version}, #{item.gspfver_dynamic_investment}, #{item.gspfver_static_investment}, #{item.province_code}, #{item.gspfver_construction_cost}, #{item.gspfver_installation_cost},
|
||
|
|
#{item.gspfver_cost_of_equip_procurement}, #{item.gspfver_other_expenses}, #{item.gspfver_basic_contingency}, #{item.gspfver_special_project_expense}, #{item.gspfver_auxiliary_facilities_cost}, #{item.gspfver_cost_file_name},
|
||
|
|
#{item.gspfver_project_type}, #{item.gspfver_software_type}, #{item.province_name}, #{item.gspfver_status}, #{item.sgtssver_stage}, #{item.sgtssver_version},
|
||
|
|
#{item.sgtssver_dynamic_investment}, #{item.sgtssver_static_investment}, #{item.sgtssver_construction_cost}, #{item.sgtssver_installation_cost}, #{item.sgtssver_cost_of_equip_procurement}, #{item.sgtssver_other_expenses},
|
||
|
|
#{item.sgtssver_basic_contingency}, #{item.build_unit_code}, #{item.sgtssver_special_project_expense}, #{item.sgtssver_auxiliary_facilities_cost}, #{item.sgtssver_cost_file_name}, #{item.sgtssver_project_type},
|
||
|
|
#{item.sgtssver_software_type}, #{item.sgtssver_status}, #{item.sgtpfver_stag}, #{item.sgtpfver_version}, #{item.sgtpfver_dynamic_investment}, #{item.sgtpfver_static_investment},
|
||
|
|
#{item.BUILD_UNIT_NAME}, #{item.sgtpfver_construction_cost}, #{item.sgtpfver_installation_cost}, #{item.sgtpfver_cost_of_equip_procurement}, #{item.sgtpfver_other_expenses}, #{item.sgtpfver_basic_contingency},
|
||
|
|
#{item.sgtpfver_special_project_expense}, #{item.sgtpfver_auxiliary_facilities_cost}, #{item.sgtpfver_cost_file_name}, #{item.sgtpfver_project_type}, #{item.sgtpfver_software_type}, #{item.voltage_level},
|
||
|
|
#{item.sgtpfver_status}, #{item.jgjsver_stage}, #{item.jgjsver_version}, #{item.jgjsver_dynamic_investment}, #{item.jgjsver_static_investment}, #{item.jgjsver_construction_cost},
|
||
|
|
#{item.jgjsver_installation_cost}, #{item.jgjsver_cost_of_equip_procurement}, #{item.jgjsver_other_expenses}, #{item.jgjsver_basic_contingency} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjTeam">
|
||
|
|
REPLACE INTO jj_team (
|
||
|
|
id, constr_unit_id, huv_flag, delete_flag, creater_id,
|
||
|
|
create_time, updater_id, update_time, working_team_name, working_team_type, working_team_attribute,
|
||
|
|
team_status, province_code, build_unit_code, single_project_code, bidding_section_code ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.constr_unit_id}, #{item.huv_flag}, #{item.delete_flag}, #{item.creater_id},
|
||
|
|
#{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.working_team_name}, #{item.working_team_type}, #{item.working_team_attribute},
|
||
|
|
#{item.team_status}, #{item.province_code}, #{item.build_unit_code}, #{item.single_project_code}, #{item.bidding_section_code} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjTeamInfo">
|
||
|
|
REPLACE INTO jj_team_info (
|
||
|
|
team_id, zhpj, import_team ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.team_id}, #{item.zhpj}, #{item.import_team} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjTeamPeople">
|
||
|
|
REPLACE INTO jj_team_people (
|
||
|
|
id, province_code, creater_id, create_time, updater_id,
|
||
|
|
update_time, delete_flag, team_id, personnel_id, unit_code, person_type,
|
||
|
|
real_name, work_code, position_code, id_card ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.province_code}, #{item.creater_id}, #{item.create_time}, #{item.updater_id},
|
||
|
|
#{item.update_time}, #{item.delete_flag}, #{item.team_id}, #{item.personnel_id}, #{item.unit_code}, #{item.person_type},
|
||
|
|
#{item.real_name}, #{item.work_code}, #{item.position_code}, #{item.id_card} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjTicket">
|
||
|
|
REPLACE INTO jj_ticket (
|
||
|
|
id, team_id, working_team_name, construction_headcount, planned_start_date,
|
||
|
|
planned_end_date, start_time, end_time, assessment_risk_level, re_assessment_risk_level, ticket_status,
|
||
|
|
ticket_type, current_construction_status, audit_hierarchy, issue_date, build_unit_code, province_code,
|
||
|
|
remark, huv_flag, creater_id, create_time, updater_id, ticket_no,
|
||
|
|
update_time, delete_flag, voltage_level, ticket_name, bidding_section_code, bidding_section_name,
|
||
|
|
single_project_type, single_project_code, single_project_name ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.team_id}, #{item.working_team_name}, #{item.construction_headcount}, #{item.planned_start_date},
|
||
|
|
#{item.planned_end_date}, #{item.start_time}, #{item.end_time}, #{item.assessment_risk_level}, #{item.re_assessment_risk_level}, #{item.ticket_status},
|
||
|
|
#{item.ticket_type}, #{item.current_construction_status}, #{item.audit_hierarchy}, #{item.issue_date}, #{item.build_unit_code}, #{item.province_code},
|
||
|
|
#{item.remark}, #{item.huv_flag}, #{item.creater_id}, #{item.create_time}, #{item.updater_id}, #{item.ticket_no},
|
||
|
|
#{item.update_time}, #{item.delete_flag}, #{item.voltage_level}, #{item.ticket_name}, #{item.bidding_section_code}, #{item.bidding_section_name},
|
||
|
|
#{item.single_project_type}, #{item.single_project_code}, #{item.single_project_name} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjTicketInfo">
|
||
|
|
REPLACE INTO jj_ticket_info (
|
||
|
|
job_gx, job_lx, work_content, job_site, main_risk ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.job_gx}, #{item.job_lx}, #{item.work_content}, #{item.job_site}, #{item.main_risk} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjTicketPeople">
|
||
|
|
REPLACE INTO jj_ticket_people (
|
||
|
|
id, work_division, creater_id, create_time, updater_id,
|
||
|
|
update_time, delete_flag, province_code, chosed_flag, position_flag, ticket_id,
|
||
|
|
tool_box_talk_id, personnel_id, id_card, real_name, mobile, work_code,
|
||
|
|
position_code ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.work_division}, #{item.creater_id}, #{item.create_time}, #{item.updater_id},
|
||
|
|
#{item.update_time}, #{item.delete_flag}, #{item.province_code}, #{item.chosed_flag}, #{item.position_flag}, #{item.ticket_id},
|
||
|
|
#{item.tool_box_talk_id}, #{item.personnel_id}, #{item.id_card}, #{item.real_name}, #{item.mobile}, #{item.work_code},
|
||
|
|
#{item.position_code} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjUnit">
|
||
|
|
REPLACE INTO jj_unit (
|
||
|
|
id, legal_repr_mobile, contact_phone, unit_type, unit_nature,
|
||
|
|
sys_type, sys_categ, unit_sign, establishment_date, register_capital, website,
|
||
|
|
isc_unit_id, province, city, county, address, main_business,
|
||
|
|
data_source, huv_flag, province_code, build_unit_code, creater_id, safety_sgc_unit_id,
|
||
|
|
create_time, updater_id, update_time, delete_flag, legal_id_card, business_file_id,
|
||
|
|
unit_name, unit_abbr_name, unit_code, main_code, unified_social_credit_id, legal_repr ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.legal_repr_mobile}, #{item.contact_phone}, #{item.unit_type}, #{item.unit_nature},
|
||
|
|
#{item.sys_type}, #{item.sys_categ}, #{item.unit_sign}, #{item.establishment_date}, #{item.register_capital}, #{item.website},
|
||
|
|
#{item.isc_unit_id}, #{item.province}, #{item.city}, #{item.county}, #{item.address}, #{item.main_business},
|
||
|
|
#{item.data_source}, #{item.huv_flag}, #{item.province_code}, #{item.build_unit_code}, #{item.creater_id}, #{item.safety_sgc_unit_id},
|
||
|
|
#{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.delete_flag}, #{item.legal_id_card}, #{item.business_file_id},
|
||
|
|
#{item.unit_name}, #{item.unit_abbr_name}, #{item.unit_code}, #{item.main_code}, #{item.unified_social_credit_id}, #{item.legal_repr} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjUser">
|
||
|
|
REPLACE INTO jj_user (
|
||
|
|
id, nation, birth_place, unit_id, dept_id,
|
||
|
|
head_file_id, data_source, huv_flag, province_code, build_unit_code, creater_id,
|
||
|
|
real_name, create_time, updater_id, update_time, delete_flag, dept_name,
|
||
|
|
personnel_id, access_date, access_state, access_start_date, access_end_date, gender,
|
||
|
|
professionalskill_name, professionalskill_level, tech_qual_level, id_card, isc_account, safety_personnel_id,
|
||
|
|
mobile, education, politics_status ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.nation}, #{item.birth_place}, #{item.unit_id}, #{item.dept_id},
|
||
|
|
#{item.head_file_id}, #{item.data_source}, #{item.huv_flag}, #{item.province_code}, #{item.build_unit_code}, #{item.creater_id},
|
||
|
|
#{item.real_name}, #{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.delete_flag}, #{item.dept_name},
|
||
|
|
#{item.personnel_id}, #{item.access_date}, #{item.access_state}, #{item.access_start_date}, #{item.access_end_date}, #{item.gender},
|
||
|
|
#{item.professionalskill_name}, #{item.professionalskill_level}, #{item.tech_qual_level}, #{item.id_card}, #{item.isc_account}, #{item.safety_personnel_id},
|
||
|
|
#{item.mobile}, #{item.education}, #{item.politics_status} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjWeeksPlan">
|
||
|
|
REPLACE INTO jj_weeks_plan (
|
||
|
|
id, current_signal_flag, additional_plan_flag, single_project_type, audit_hierarchy,
|
||
|
|
plan_status, excute_flag, team_update_flag, electricity_risk_level, build_unit_code, province_code,
|
||
|
|
risk_precaution_id, huv_flag, c_delete_flag, creater_id, create_time, updater_id,
|
||
|
|
update_time, sub_section_project_id, sub_section_project_name, ticket_id, t_delete_flag, bidding_section_code,
|
||
|
|
re_assessment_risk_level, single_project_code, bidding_section_name, planned_start_date, planned_end_date, team_id,
|
||
|
|
work_site_id, delete_flag ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.current_signal_flag}, #{item.additional_plan_flag}, #{item.single_project_type}, #{item.audit_hierarchy},
|
||
|
|
#{item.plan_status}, #{item.excute_flag}, #{item.team_update_flag}, #{item.electricity_risk_level}, #{item.build_unit_code}, #{item.province_code},
|
||
|
|
#{item.risk_precaution_id}, #{item.huv_flag}, #{item.c_delete_flag}, #{item.creater_id}, #{item.create_time}, #{item.updater_id},
|
||
|
|
#{item.update_time}, #{item.sub_section_project_id}, #{item.sub_section_project_name}, #{item.ticket_id}, #{item.t_delete_flag}, #{item.bidding_section_code},
|
||
|
|
#{item.re_assessment_risk_level}, #{item.single_project_code}, #{item.bidding_section_name}, #{item.planned_start_date}, #{item.planned_end_date}, #{item.team_id},
|
||
|
|
#{item.work_site_id}, #{item.delete_flag} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addTDevice">
|
||
|
|
REPLACE INTO t_device (
|
||
|
|
id, device_name, mac_id, puid, gb_code,
|
||
|
|
type_code, device_type, ss_dw, update_time, state, create_time,
|
||
|
|
remark, mac, ip_address, is_flag, pro_id, is_t,
|
||
|
|
t_name, t_code, tw_code, td_code, pass_way, qj_xh,
|
||
|
|
lat, lon ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.device_name}, #{item.mac_id}, #{item.puid}, #{item.gb_code},
|
||
|
|
#{item.type_code}, #{item.device_type}, #{item.ss_dw}, #{item.update_time}, #{item.state}, #{item.create_time},
|
||
|
|
#{item.remark}, #{item.mac}, #{item.ip_address}, #{item.is_flag}, #{item.pro_id}, #{item.is_t},
|
||
|
|
#{item.t_name}, #{item.t_code}, #{item.tw_code}, #{item.td_code}, #{item.pass_way}, #{item.qj_xh},
|
||
|
|
#{item.lat}, #{item.lon} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
<insert id="addJjContract">
|
||
|
|
REPLACE INTO jj_contract (
|
||
|
|
id, province_code, build_unit_code, integration_flag, contract_number,
|
||
|
|
contract_name, bid_time, contract_amount, company_name, sign_time, bidpkg_code,
|
||
|
|
bidpkg_name, bidding_plan_integer, tendering_batch_name, contract_type, status, delete_flag,
|
||
|
|
creater_id, create_time, updater_id, update_time, company_code, prj_code,
|
||
|
|
single_project_code, bidding_section_code ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.province_code}, #{item.build_unit_code}, #{item.integration_flag}, #{item.contract_number},
|
||
|
|
#{item.contract_name}, #{item.bid_time}, #{item.contract_amount}, #{item.company_name}, #{item.sign_time}, #{item.bidpkg_code},
|
||
|
|
#{item.bidpkg_name}, #{item.bidding_plan_integer}, #{item.tendering_batch_name}, #{item.contract_type}, #{item.status}, #{item.delete_flag},
|
||
|
|
#{item.creater_id}, #{item.create_time}, #{item.updater_id}, #{item.update_time}, #{item.company_code}, #{item.prj_code},
|
||
|
|
#{item.single_project_code}, #{item.bidding_section_code} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
|
||
|
|
|
||
|
|
<insert id="addJjFile" >
|
||
|
|
REPLACE INTO jj_file (
|
||
|
|
id, tool_box_talk_id, onduty_record_id, file_type, prj_code,
|
||
|
|
shooting_longitude, shooting_latitude, shooting_address, shooting_time, watermark_file_id, file_id,
|
||
|
|
file_name, province_code, creater_id, create_time, updater_id, update_time,
|
||
|
|
delete_flag, suffix_type ) values
|
||
|
|
<foreach collection="list" item="item" separator=",">(
|
||
|
|
#{item.id}, #{item.tool_box_talk_id}, #{item.onduty_record_id}, #{item.file_type}, #{item.prj_code},
|
||
|
|
#{item.shooting_longitude}, #{item.shooting_latitude}, #{item.shooting_address}, #{item.shooting_time}, #{item.watermark_file_id}, #{item.file_id},
|
||
|
|
#{item.file_name}, #{item.province_code}, #{item.creater_id}, #{item.create_time}, #{item.updater_id}, #{item.update_time},
|
||
|
|
#{item.delete_flag}, #{item.suffix_type} )
|
||
|
|
</foreach>
|
||
|
|
</insert>
|
||
|
|
|
||
|
|
</mapper>
|