INSERT INTO tb_pro_bd
id,
bd_name,
bd_code,
bd_ip,
bd_type,
type_code,
gt_id,
bid_code,
del_flag,
update_time,
create_time,
bind_time,
#{id},
#{bdName},
#{bdCode},
#{bdIp},
#{bdType},
#{typeCode},
#{gtId},
#{bidCode},
0,
#{updateTime},
#{createTime},
#{bindTime},
UPDATE tb_pro_bd
bd_name = #{bdName},
bd_code = #{bdCode},
bd_ip = #{bdIp},
bd_type = #{bdType},
type_code = #{typeCode},
gt_id = #{gtId},
bid_code = #{bidCode},
WHERE id = #{id}
DELETE FROM tb_pro_bd WHERE id = #{id}