id, pro_id, param_name, param_value, install_manual, user_manual,deleted
  
  
  
    
    delete from plt_product_params
    where id = #{id,jdbcType=BIGINT}
  
  
    
    insert into plt_product_params (id, pro_id, param_name,
      param_value, install_manual, user_manual,deleted
      )
    values (#{id,jdbcType=BIGINT}, #{proId,jdbcType=BIGINT}, #{paramName,jdbcType=VARCHAR}, 
      #{paramValue,jdbcType=VARCHAR}, #{installManual,jdbcType=BIGINT}, #{userManual,jdbcType=BIGINT},#{deleted,jdbcType=TINYINT}
      )
  
  
    
    insert into plt_product_params
    
      
        id,
      
      
        pro_id,
      
      
        param_name,
      
      
        param_value,
      
      
        install_manual,
      
      
        user_manual,
      
      
        deleted
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{proId,jdbcType=BIGINT},
      
      
        #{paramName,jdbcType=VARCHAR},
      
      
        #{paramValue,jdbcType=VARCHAR},
      
      
        #{installManual,jdbcType=BIGINT},
      
      
        #{userManual,jdbcType=BIGINT},
      
      
        #{deleted,jdbcType=TINYINT}
      
    
  
  
    
    update plt_product_params
    
      
        pro_id = #{proId,jdbcType=BIGINT},
      
      
        param_name = #{paramName,jdbcType=VARCHAR},
      
      
        param_value = #{paramValue,jdbcType=VARCHAR},
      
      
        install_manual = #{installManual,jdbcType=BIGINT},
      
      
        user_manual = #{userManual,jdbcType=BIGINT},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update plt_product_params
    set pro_id = #{proId,jdbcType=BIGINT},
      param_name = #{paramName,jdbcType=VARCHAR},
      param_value = #{paramValue,jdbcType=VARCHAR},
      install_manual = #{installManual,jdbcType=BIGINT},
      user_manual = #{userManual,jdbcType=BIGINT}
    where id = #{id,jdbcType=BIGINT}
  
  
    update plt_product_params set deleted = 1 where id = #{id}