insert into sys_project pro_id, pro_name, pro_desc, start_date, pro_time, plan_output, create_time, create_user, pro_number, company_id, create_unit, plan_unit, supervision_unit, construction_unit, outside_diameter, inner_diameter, thickness, ring_width, concrete_strength_grade, impermeability_level, waterproof_type, #{proId,jdbcType=VARCHAR}, #{proName,jdbcType=VARCHAR}, #{proDesc,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{proTime,jdbcType=INTEGER}, #{planOutput,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createUser,jdbcType=VARCHAR}, #{proNumber,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{createUnit,jdbcType=VARCHAR}, #{planUnit,jdbcType=VARCHAR}, #{supervisionUnit,jdbcType=VARCHAR}, #{constructionUnit,jdbcType=VARCHAR}, #{outsideDiameter,jdbcType=DOUBLE}, #{innerDiameter,jdbcType=DOUBLE}, #{thickness,jdbcType=DOUBLE}, #{ringWidth,jdbcType=DOUBLE}, #{concreteStrengthGrade,jdbcType=VARCHAR}, #{impermeabilityLevel,jdbcType=VARCHAR}, #{waterproofType,jdbcType=VARCHAR}, insert into sys_pro_turn id, pro_id, turn, #{id}, #{proId,jdbcType=VARCHAR}, #{turn,jdbcType=VARCHAR}, insert into sys_pro_sizes id, pro_id, sizes, #{id}, #{proId,jdbcType=VARCHAR}, #{sizes,jdbcType=VARCHAR}, insert into sys_pro_has id, pro_id, has_steel, #{id}, #{proId,jdbcType=VARCHAR}, #{hasSteel,jdbcType=VARCHAR}, insert into sys_pro_grouting id, pro_id, grouting_holes, #{id}, #{proId,jdbcType=VARCHAR}, #{groutingHoles,jdbcType=VARCHAR}, insert into sys_pro_blok id, pro_id, block_num, #{id,jdbcType=VARCHAR}, #{proId,jdbcType=VARCHAR}, #{blockNum,jdbcType=VARCHAR}, update sys_project set is_use=2 where pro_id=#{proId} update sys_project pro_name = #{proName,jdbcType=VARCHAR}, pro_desc = #{proDesc,jdbcType=VARCHAR}, start_date = #{startDate,jdbcType=TIMESTAMP}, pro_time = #{proTime,jdbcType=INTEGER}, plan_output = #{planOutput,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_user = #{createUser,jdbcType=VARCHAR}, create_unit = #{createUnit,jdbcType=VARCHAR}, plan_unit = #{planUnit,jdbcType=VARCHAR}, supervision_unit = #{supervisionUnit,jdbcType=VARCHAR}, construction_unit = #{constructionUnit,jdbcType=VARCHAR}, outside_diameter = #{outsideDiameter,jdbcType=DOUBLE}, inner_diameter = #{innerDiameter,jdbcType=DOUBLE}, thickness = #{thickness,jdbcType=DOUBLE}, ring_width = #{ringWidth,jdbcType=DOUBLE}, concrete_strength_grade = #{concreteStrengthGrade,jdbcType=VARCHAR}, impermeability_level = #{impermeabilityLevel,jdbcType=VARCHAR}, waterproof_type = #{waterproofType,jdbcType=VARCHAR}, where pro_id = #{proId,jdbcType=VARCHAR} delete from sys_pro_blok where pro_id=#{proId} delete from sys_pro_grouting where pro_id=#{proId} delete from sys_pro_has where pro_id=#{proId} delete from sys_pro_sizes where pro_id=#{proId} delete from sys_pro_turn where pro_id=#{proId}