select id, build_id, idc_no, type, business_type, frame_num, frame_power, name, province, city, area, address, address_ext, building, credit_code, mainbody, mainbody_header, mainbody_type, investment, production_time, dc_building_level, dc_all_area, dc_it_area, building_type, city_electricity_type, city_electricity_type_other, power_distribution, electricity_type, electricity_type_other, pue_design, water_design, net_level, net_operator, net_operator_other, air_refrigeration_type, air_refrigeration_type_other, sort_, message, state, is_enable, create_user, create_time, update_user, update_time, remark from idc_use_base
insert into idc_use_base
build_id,
idc_no,
type,
business_type,
frame_num,
frame_power,
name,
province,
city,
area,
address,
address_ext,
building,
credit_code,
mainbody,
mainbody_header,
mainbody_type,
investment,
production_time,
dc_building_level,
dc_all_area,
dc_it_area,
building_type,
city_electricity_type,
city_electricity_type_other,
power_distribution,
electricity_type,
electricity_type_other,
pue_design,
water_design,
net_level,
net_operator,
net_operator_other,
air_refrigeration_type,
air_refrigeration_type_other,
sort_,
message,
state,
is_enable,
create_user,
create_time,
update_user,
update_time,
remark,
#{buildId},
#{idcNo},
#{type},
#{businessType},
#{frameNum},
#{framePower},
#{name},
#{province},
#{city},
#{area},
#{address},
#{addressExt},
#{building},
#{creditCode},
#{mainbody},
#{mainbodyHeader},
#{mainbodyType},
#{investment},
#{productionTime},
#{dcBuildingLevel},
#{dcAllArea},
#{dcItArea},
#{buildingType},
#{cityElectricityType},
#{cityElectricityTypeOther},
#{powerDistribution},
#{electricityType},
#{electricityTypeOther},
#{pueDesign},
#{waterDesign},
#{netLevel},
#{netOperator},
#{netOperatorOther},
#{airRefrigerationType},
#{airRefrigerationTypeOther},
#{sort},
#{message},
#{state},
#{isEnable},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{remark},
update idc_use_base
build_id = #{buildId},
idc_no = #{idcNo},
type = #{type},
business_type = #{businessType},
frame_num = #{frameNum},
frame_power = #{framePower},
name = #{name},
province = #{province},
city = #{city},
area = #{area},
address = #{address},
address_ext = #{addressExt},
building = #{building},
credit_code = #{creditCode},
mainbody = #{mainbody},
mainbody_header = #{mainbodyHeader},
mainbody_type = #{mainbodyType},
investment = #{investment},
production_time = #{productionTime},
dc_building_level = #{dcBuildingLevel},
dc_all_area = #{dcAllArea},
dc_it_area = #{dcItArea},
building_type = #{buildingType},
city_electricity_type = #{cityElectricityType},
city_electricity_type_other = #{cityElectricityTypeOther},
power_distribution = #{powerDistribution},
electricity_type = #{electricityType},
electricity_type_other = #{electricityTypeOther},
pue_design = #{pueDesign},
water_design = #{waterDesign},
net_level = #{netLevel},
net_operator = #{netOperator},
net_operator_other = #{netOperatorOther},
air_refrigeration_type = #{airRefrigerationType},
air_refrigeration_type_other = #{airRefrigerationTypeOther},
sort_ = #{sort},
message = #{message},
state = #{state},
is_enable = #{isEnable},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from idc_use_base where id = #{id}
delete from idc_use_base where id in
#{id}