--
-- Host: localhost    Database: main
-- ------------------------------------------------------

 SET NAMES utf8 ;
SET @MYSQLDUMP_TEMP_LOG_BIN = @@SESSION.SQL_LOG_BIN;

--
-- GTID state at the beginning of the backup 
--


--
-- Dumping events for database 'main'
--

--
-- Dumping routines for database 'main'
--
/*!50003 DROP FUNCTION IF EXISTS `create_partner` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` FUNCTION `create_partner`(
in_h_idx bigint
,in_v_id varchar(64)
,in_name varchar(64)
,in_pt_idx bigint
,in_partner_type int
,in_h_domain varchar(100)
,in_h_password varchar(512)
,in_h_second_password varchar(512)
,in_default_type varchar(20)

) RETURNS int
    READS SQL DATA
    DETERMINISTIC
BEGIN

   declare l_temp_id varchar(64);
   declare l_temp_nick_name varchar(64);
   declare l_idx bigint;
   set l_temp_id = concat(in_v_id,'_',in_name);
   set l_temp_nick_name = concat(in_v_id,'_',in_name);
   insert into member (
   id,nick_name,temp_password,second_password,partner_type
   ,money,`point`,hp,is_recommend,`status`
   ,`level`,is_auto_level_up,last_login,temp_dis_id,reg_time
   ,birth,mobile_carrier,member_type,id_color,default_partner_type)
	value(l_temp_id,l_temp_nick_name,in_h_password,in_h_second_password,in_partner_type
	,0,0,'','N',1
	,1,'N',now(),'',now()
	,'',0,'partner','#646464',in_default_type
	);
	
   set l_idx = last_insert_id();
	
   update member set head_office_idx = in_h_idx,unique_id = concat(l_temp_id,'_',in_h_idx),parent_partner_idx = in_pt_idx where idx = l_idx;
	-- 도메인 정보 등록
   insert into member_admin_domain(partner_idx,domain,id) value (l_idx,in_h_domain,l_temp_id);
   insert into partner_rates(partner_idx,rate_type,value) select l_idx,rate_type,0 from partner_rates where partner_idx = in_pt_idx; 
   
   insert into partner_bank(partner_idx,account_bank_id,account_name,account_number,exchange_password)
					value(l_idx,0,'','','');
                    
   INSERT INTO static_partner_admin_rule_set (`partner_idx`,partner_type, head_rule_data, situation_board_rule_data, head_office_tab_rule_data
                   , lnb_member_rule_data,lnb_partner_rule_data ,lnb_sports_rule_data  
                   , lnb_mini_game_rule_data  ,lnb_casino_rule_data  ,lnb_money_rule_data  
				   , lnb_site_rule_data  ,lnb_statistic_rule_data  ,lnb_board_rule_data  
				   , member_detail_rule_data , partner_detail_rule_data ) 
					select l_idx ,in_partner_type, head_rule_data, situation_board_rule_data, head_office_tab_rule_data
                   , lnb_member_rule_data,lnb_partner_rule_data ,lnb_sports_rule_data  
                   , lnb_mini_game_rule_data  ,lnb_casino_rule_data  ,lnb_money_rule_data  
				   , lnb_site_rule_data  ,lnb_statistic_rule_data  ,lnb_board_rule_data  
				   , member_detail_rule_data , partner_detail_rule_data  from static_partner_admin_rule_set_original where partner_type = in_partner_type;
                   
RETURN l_idx;
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `create_user` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` FUNCTION `create_user`(
 in_h_idx bigint
,in_user_id varchar(64)
,in_password varchar(512)
,in_shop_pt_idx bigint
) RETURNS int
    READS SQL DATA
    DETERMINISTIC
BEGIN

	declare l_unique_id  varchar(64);
    declare l_user_idx bigint;
    
    set l_unique_id = concat(in_user_id,'_',in_h_idx);
	INSERT INTO member(id, nick_name,`password`,partner_type,`status`,`level`,parent_partner_idx,head_office_idx,unique_id,is_copy,member_type) 
    VALUES (in_user_id,in_user_id,in_password
	,10001,1,1,in_shop_pt_idx,in_h_idx,l_unique_id,'N','tester');
	
	set l_user_idx = last_insert_id();
	INSERT INTO member_bank(member_idx, account_bank,account_name,account_number) VALUES (l_user_idx, '','','');
	INSERT INTO personal_account_number(member_idx) VALUES (l_user_idx);
	INSERT INTO member_status_security(member_idx,`type`) VALUES (l_user_idx,2),(l_user_idx,4),(l_user_idx,1),(l_user_idx,3);
	INSERT INTO member_event_charge(member_idx) VALUES (l_user_idx);
	
	insert into member_game_betting_type_info(member_idx,id,`name`,`status`,game_type,forder_type) 
	SELECT l_user_idx,id,`name`,`status`,game_type,forder_type FROM static_game_betting_type_mgr;
	
	insert into member_rates(member_idx,rate_type) 
	SELECT l_user_idx,`type` FROM static_rates;
	
	INSERT INTO statistic_member_comprehensive_details(member_idx) VALUES (l_user_idx);
RETURN l_user_idx;
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `fn_generate_where_clause` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` FUNCTION `fn_generate_where_clause`(
	`searchParams` JSON
) RETURNS varchar(800) CHARSET utf8mb4
    DETERMINISTIC
BEGIN
    DECLARE i INT DEFAULT 0;
    DECLARE paramCount INT;
    DECLARE whereClause TEXT DEFAULT '';
    DECLARE searchKey VARCHAR(255);
    DECLARE searchValue VARCHAR(255);
    DECLARE critCondition TEXT;
   
    SET paramCount = JSON_LENGTH(searchParams);

    WHILE i < paramCount DO
        SET searchKey = JSON_UNQUOTE(JSON_EXTRACT(searchParams, CONCAT('$[', i, '].search_key')));
        SET searchValue = JSON_UNQUOTE(JSON_EXTRACT(searchParams, CONCAT('$[', i, '].search_value')));

    IF searchKey IS NOT NULL AND searchKey!= '' THEN
      IF searchValue IS NOT NULL AND searchValue != '' THEN
        SET critCondition = CONCAT(searchKey, ' = "', searchValue, '"');
      ELSE
        SET critCondition =  CONCAT(searchKey, ' LIKE "', '%', searchValue, '%', '"');            
      END IF;

      IF whereClause != '' THEN
        SET whereClause = CONCAT(whereClause, ' OR ', critCondition);
      ELSE
        SET whereClause = critCondition;
      END IF;
        END IF;

        SET i = i + 1;
    END WHILE;

    RETURN whereClause;
END ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `create_default_head_office` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` PROCEDURE `create_default_head_office`(
in_id varchar(20)
,in_nick_name varchar(20)
,in_password varchar(512)
,in_second_password varchar(512)
,in_front_domain varchar(100)
,in_domain varchar(100)
,in_partner_domain varchar(100)
,in_hp varchar(20)
,in_head_office_group_name varchar(45)
)
main : BEGIN
	
    DECLARE ret_code INT;
	DECLARE errno INT;
    DECLARE v_txt_error_msg text;
    DECLARE v_idx bigint;
	DECLARE l_super_idx bigint;
    DECLARE l_port int default 0;
    declare l_number int default 0;
    DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
		GET CURRENT DIAGNOSTICS CONDITION 1 errno = MYSQL_ERRNO
		, v_txt_error_msg = MESSAGE_TEXT;
        set ret_code = -1000;
		SELECT ret_code,errno AS MYSQL_ERROR,v_txt_error_msg as MESSAGE_TEXT;
		ROLLBACK;
    END;
	START TRANSACTION;
    
		select idx into l_super_idx from member where partner_type = 1;
        
		insert into member (id,nick_name,`password`,second_password,partner_type,hp,status,level,member_type,parent_partner_idx)
        value(in_id,in_nick_name,in_password,in_second_password,201,in_hp,1,1,'partner',l_super_idx);
        
        set v_idx = last_insert_id();
        
        update member set head_office_idx = v_idx,unique_id = concat(in_id,'_',v_idx) where idx = v_idx;
        
        insert into partner_detail_info (partner_idx,admin_domain,partner_domain,is_recommend_give_point) value(v_idx,in_domain,in_partner_domain,'OFF');
        
        insert into member_admin_domain (partner_idx,domain,id)
        value(v_idx,in_domain,in_id);
        
		insert into member_domain (partner_idx,domain)
        value(v_idx,in_front_domain);
        
		insert into partner_rates(partner_idx,rate_type,value) 
        SELECT v_idx,type,100 FROM static_rates;
    
        IF EXISTS(SELECT * from static_main_server_mgr ) THEN
		   -- select ifnull(max(`port`),0) into l_port from static_main_server_mgr;
           select ifnull(max(`number`),0) into l_number from static_main_server_mgr;
           set l_number = l_number + 1;
	    ELSE
	       set l_number = 1;
        END IF;
        
		set l_port = 10000 + l_number;
        
        -- select l_port;
		insert into static_main_server_mgr(`number`,`port`,head_office_idxs) value(l_number,l_port,v_idx);
		
        IF NOT EXISTS(SELECT * from static_admin_head_office_group_info where `name` COLLATE utf8mb4_general_ci = in_head_office_group_name) THEN
			  insert into static_admin_head_office_group_info(name,head_office_infos) value(in_head_office_group_name COLLATE utf8mb4_general_ci,'{"infos": []}' COLLATE utf8mb4_general_ci);
        END IF;
      
		UPDATE static_admin_head_office_group_info 
		SET head_office_infos = JSON_ARRAY_INSERT(head_office_infos, '$.infos[0]', JSON_OBJECT('id', in_id, 'idx', v_idx,'is_use','on','nick_name',in_nick_name)) 
		WHERE `name` COLLATE utf8mb4_general_ci = in_head_office_group_name;
                
	    INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`) 
        select v_idx , `rank`, `type`, `level`, `amount` from static_origin.static_dividend_policy_origin;
        		
        INSERT INTO `static_head_office_config_data` (`head_office_idx`, `set_data`) 
        select v_idx,`set_data` from static_origin.static_head_office_config_data_origin;
        
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`) 
        select v_idx, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point` from static_origin.static_level_account_origin;
            
        INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`)
        select v_idx, `rate_type`, `level`, `value`, `recommend_value` from static_origin.static_partner_level_rates_origin;
            		
		INSERT INTO `static_level_auto_level_up_config` (`partner_idx`, `is_use`, `reset_date`) 
		select v_idx, `is_use`, `reset_date` from static_origin.static_level_auto_level_up_config_origin; 
        
        INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`)
        select v_idx, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge` from static_origin.static_level_auto_level_up_detail_origin; 
        		
        INSERT INTO `static_level_bonus_basic_option_rolling_config` (`partner_idx`, `is_use`, `title`, `description`) 
        select v_idx, `is_use`, `title`, `description` from static_origin.static_level_bonus_basic_option_rolling_config_origin;
	    
        INSERT INTO `static_level_bonus_charge_plus_config` (`partner_idx`, `title`, `condition`, `description`)
        select v_idx, `title`, `condition`, `description` from static_origin.static_level_bonus_charge_plus_config_origin;

		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`) 
		select v_idx, `number`, `is_use`, `amount`, `bonus` from static_origin.static_level_bonus_charge_plus_detail_origin;
        
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) 
		select v_idx, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max` from static_origin.static_level_charge_bonus_option_origin;
		

		INSERT INTO static_level_charge_config(`partner_idx`, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description`) 
        SELECT v_idx, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description` 
        FROM static_origin.static_level_charge_config_origin;
        		                
        INSERT INTO static_min_max_limit_win_betting_money(partner_idx,game_type,`level`,min_money,max_money,limit_win_money,  
		league_level_1,league_level_2,league_level_3,league_level_4 ) 
        SELECT v_idx,game_type,`level`,min_money,max_money,limit_win_money,  
		league_level_1,league_level_2,league_level_3,league_level_4 FROM static_origin.static_min_max_limit_win_betting_money_origin;
        
        INSERT INTO static_head_office_mini_game (partner_idx, sub_type, third_type, `level`, min_bet_price, max_bet_price, max_limit_prize_money, dividend_detail, is_onoff)
        SELECT v_idx, sub_type, third_type, `level`, min_bet_price, max_bet_price, max_limit_prize_money, dividend_detail, is_onoff
        FROM static_origin.static_head_office_mini_game_origin;
        
        INSERT INTO main.static_bonus_option (partner_idx, number, title, description, is_use)
		SELECT v_idx, number, title, description, is_use FROM main.static_bonus_option as sbo
		WHERE sbo.partner_idx = 1;
        
		INSERT INTO `static_partner_admin_rule_set` (`partner_idx`, `partner_type`, `head_rule_data`, `situation_board_rule_data`, `head_office_tab_rule_data`, `lnb_member_rule_data`, `lnb_partner_rule_data`, `lnb_sports_rule_data`, `lnb_mini_game_rule_data`, `lnb_casino_rule_data`, `lnb_money_rule_data`, `lnb_site_rule_data`, `lnb_statistic_rule_data`, `lnb_board_rule_data`, `member_detail_rule_data`, `partner_detail_rule_data`) 
        SELECT v_idx,partner_type,head_rule_data,situation_board_rule_data,head_office_tab_rule_data,lnb_member_rule_data
        ,lnb_partner_rule_data,lnb_sports_rule_data,lnb_mini_game_rule_data,lnb_casino_rule_data,lnb_money_rule_data
        ,lnb_site_rule_data,lnb_statistic_rule_data,lnb_board_rule_data,member_detail_rule_data,partner_detail_rule_data FROM static_partner_admin_rule_set_original where partner_type = 201;

		INSERT INTO `static_partner_config_juckjang_data` (`partner_idx`, `cycle`, `formula_idx`, `is_use`,`max_limit_point`,`partner_cycle`,`partner_is_use`) 
        select v_idx,`cycle`, `formula_idx`, `is_use`,`max_limit_point`,`partner_cycle`,`partner_is_use` from static_origin.static_partner_config_juckjang_data_origin;
        
        INSERT INTO `static_level_event_charge_config` (`partner_idx`, `is_use`, `start_hour`, `end_hour`,`description`,`is_mixed`) 
        select v_idx,`is_use`,`start_hour`,`end_hour`,`description`,`is_mixed` from static_origin.static_level_event_charge_config_origin;
        
        INSERT INTO `static_level_event_charge_detail` (`partner_idx`, `level`, `bonus_const`, `bonus`,`bonus_max`) 
        select v_idx, `level`, `bonus_const`, `bonus`,`bonus_max` from static_origin.static_level_event_charge_detail_origin;
        
		INSERT INTO `static_partner_front_rule_set` (`partner_idx`, `rule_data`) 
        select v_idx, `rule_data` from static_origin.static_partner_front_rule_set_origin;
				
        insert into static_head_office_sports(head_office_idx,id,display_name,game_type,is_use,image_path,input_refund_rate,deduction_refund_rate,is_margin_refund,display_order) 
		SELECT v_idx,id,display_name,game_type,is_use,image_path,input_refund_rate,deduction_refund_rate,is_margin_refund,display_order FROM static_origin.static_head_office_sports_origin;
        
      	insert into static_head_office_refund_rate_market(head_office_idx,sports_id,league_id,market_id,game_type
                        ,refund_rate,deduction_refund_rate,is_margin_refund) 
	    SELECT v_idx,sports_id,league_id,market_id,game_type,refund_rate,deduction_refund_rate,is_margin_refund FROM static_origin.static_head_office_refund_rate_market_origin;
                
		insert into static_head_office_participants(head_office_idx,fp_id,sports_id,location_id,league_id,display_name,image_path) 
		SELECT v_idx,fp_id,sports_id,location_id,league_id,display_name,image_path FROM static_origin.static_head_office_participants_origin;
        
        insert into static_head_office_leagues(head_office_idx,id,game_type,location_id,sports_id,is_use,deduction_refund_rate,is_margin_refund,input_refund_rate
        ,dividend_rank,image_path,display_name,`status`) 
        SELECT v_idx,id,game_type,location_id,sports_id,is_use,deduction_refund_rate,is_margin_refund,input_refund_rate
        ,dividend_rank,image_path,display_name,`status` FROM static_origin.static_head_office_leagues_origin;
        
        insert into static_head_office_markets(head_office_idx,id,game_type,sports_id,is_onoff,display_order
        ,max_bet_price,limit_bet_price,max_baseline,min_baseline,set_baseline,is_baseline
        ,ex_baseline,include_baseline,betting_delay_time,betting_close_time,betting_open_time,betting_suspend_check_time,display_name) 
        SELECT v_idx,id,game_type,sports_id,is_onoff,display_order
        ,max_bet_price,limit_bet_price,max_baseline,min_baseline,set_baseline,is_baseline
        ,ex_baseline,include_baseline,betting_delay_time,betting_close_time,betting_open_time,betting_suspend_check_time,display_name FROM static_origin.static_head_office_markets_origin;
        
        INSERT INTO `static_switch_config` (`head_office_idx`, `provider_id`,`product_type_id`,`is_use`) 
        select v_idx, `provider_id`,`product_type_id`,`is_use` from static_origin.static_switch_config_origin;
        
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`,`provider_id`,`product_type_id`,`is_use`,`order_priority`,`front_order_priority`) 
        select v_idx, `product_group_id`,`provider_id`,`product_type_id`,`is_use`,`order_priority`,`front_order_priority` from static_origin.static_switch_manager_origin;
        
        INSERT INTO static_admin_whitelist (`ip`, `head_office_idx`,`discription`) values ('126.249.190.202', v_idx, 'max-pc'),
																						  ('14.39.193.71', v_idx, 'ben'), 
																						  ('02.175.244.238', v_idx, 'office'),
																						  ('210.151.37.214', v_idx, 'see mon'),
																						  ('210.175.73.171', v_idx, 'may');
                                                                                          
		INSERT INTO `static_inplay_check_time_score` (`partner_idx`, `sports_id`,`check_time`,`check_score`,`plus_check_score`,`special_check_market_ids`) 
        select v_idx, `sports_id`,`check_time`,`check_score`,`plus_check_score`,`special_check_market_ids` from static_origin.static_inplay_check_time_score_origin;
        
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_1') , concat(in_nick_name,'_1'), '$6$saltsalt$Ey03BPNsBqhhwmY3lae0rMcE8W0rGZDtDM7p8RRMVNCcY1TfO5pQ62pNTeSuMtnsLpxYLHuuDaHNtaLGoTZM9.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_2') , concat(in_nick_name,'_2'), '$6$saltsalt$Ey03BPNsBqhhwmY3lae0rMcE8W0rGZDtDM7p8RRMVNCcY1TfO5pQ62pNTeSuMtnsLpxYLHuuDaHNtaLGoTZM9.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_3') , concat(in_nick_name,'_3'), '$6$saltsalt$q9R.nCVeBT2J1HxEJlpEBPijq4G6HIyArhbpK2pGUaswbImeELIsq1K1uWXaiDrs0k5AUZoSgchcQcjVmDPuJ/', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_4') , concat(in_nick_name,'_4'), '$6$saltsalt$aoLn81yB796vNj8N.TaP2KzvBvv/WEIeOepPKVUDG8lLR3F6X.y9382PQCVUd.e93DHSOs33WOVJ3P8bpTord1', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_5') , concat(in_nick_name,'_5'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_6') , concat(in_nick_name,'_6'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_7') , concat(in_nick_name,'_7'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_8') , concat(in_nick_name,'_8'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_9') , concat(in_nick_name,'_9'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_10'), concat(in_nick_name,'_10'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
    
    
	main_default : BEGIN -- 추언 코드없이 들어오는 유저 
	   declare l_high_pt_idx bigint;
       declare l_low_pt_idx bigint;
	   declare l_dist_pt_idx bigint;
	   declare l_shop_pt_idx bigint;
       declare l_high_office_id varchar(64);
       declare l_low_office_id varchar(64);
       declare l_dist_id varchar(64);
       declare l_shop_id varchar(64);
      
	   ##########################영본########################
        set l_high_office_id = concat(in_id,'_default');
		set l_high_pt_idx = create_partner(v_idx
		,l_high_office_id
		,'a'
		,v_idx
		,301
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
        
       ##########################부본########################
	    set l_low_office_id = concat(in_id,'_default');
		set l_low_pt_idx = create_partner(v_idx
		,l_low_office_id
		,'b'
		,l_high_pt_idx
		,401
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		
       ##########################총판########################
		set l_dist_id = concat(in_id,'_default');
		set l_dist_pt_idx = create_partner(v_idx
		,l_dist_id
		,'c'
		,l_low_pt_idx
		,501
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		
       ##########################매장########################
        set l_shop_id = concat(in_id,'_default');
		set l_shop_pt_idx = create_partner(v_idx
		,l_shop_id
		,'d'
		,l_dist_pt_idx
		,601
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		update member set temp_shop_idx = l_shop_pt_idx where idx = l_high_pt_idx;
    END main_default;
    
    main_default_recommend : BEGIN
	   declare l_high_pt_idx bigint;
       declare l_low_pt_idx bigint;
	   declare l_dist_pt_idx bigint;
	   declare l_shop_pt_idx bigint;
       declare l_high_office_id varchar(64);
       declare l_low_office_id varchar(64);
       declare l_dist_id varchar(64);
       declare l_shop_id varchar(64);
      
	   ##########################영본########################
        set l_high_office_id = concat(in_id,'_default_recommend');
		set l_high_pt_idx = create_partner(v_idx
		,l_high_office_id
		,'a'
		,v_idx
		,301
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
        
       ##########################부본########################
	    set l_low_office_id = concat(in_id,'_default_recommend');
		set l_low_pt_idx = create_partner(v_idx
		,l_low_office_id
		,'b'
		,l_high_pt_idx
		,401
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		
       ##########################총판########################
		set l_dist_id = concat(in_id,'_default_recommend');
		set l_dist_pt_idx = create_partner(v_idx
		,l_dist_id
		,'c'
		,l_low_pt_idx
		,501
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		
       ##########################매장########################
        set l_shop_id = concat(in_id,'_default_recommend');
		set l_shop_pt_idx = create_partner(v_idx
		,l_shop_id
		,'d'
		,l_dist_pt_idx
		,601
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		update member set temp_shop_idx = l_shop_pt_idx where idx = l_high_pt_idx;
    END main_default_recommend;
	COMMIT;
END main ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `create_head_office` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` PROCEDURE `create_head_office`(
in_id varchar(20)
,in_nick_name varchar(20)
,in_password varchar(512)
,in_second_password varchar(512)
,in_front_domain varchar(100)
,in_domain varchar(100)
,in_partner_domain varchar(100)
,in_hp varchar(20)
,in_head_office_group_name varchar(45)
)
main : BEGIN
	
    DECLARE ret_code INT;
	DECLARE errno INT;
    DECLARE v_txt_error_msg text;
    DECLARE v_idx bigint;
	DECLARE l_super_idx bigint;
    DECLARE l_port int default 0;
    DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
		GET CURRENT DIAGNOSTICS CONDITION 1 errno = MYSQL_ERRNO
		, v_txt_error_msg = MESSAGE_TEXT;
        set ret_code = -1000;
		SELECT ret_code,errno AS MYSQL_ERROR,v_txt_error_msg as MESSAGE_TEXT;
		ROLLBACK;
    END;
	START TRANSACTION;
    
		select idx into l_super_idx from member where partner_type = 1;
        
		insert into member (id,nick_name,`password`,second_password,partner_type,hp,status,level,member_type,parent_partner_idx)
        value(in_id,in_nick_name,in_password,in_second_password,201,in_hp,1,1,'partner',l_super_idx);
        
        set v_idx = last_insert_id();
        
        update member set head_office_idx = v_idx,unique_id = concat(in_id,'_',v_idx) where idx = v_idx;
        
        insert into partner_detail_info (partner_idx,admin_domain,partner_domain) value(v_idx,in_domain,in_partner_domain);
        
        insert into member_admin_domain (partner_idx,domain,id)
        value(v_idx,in_domain,in_id);
        
		insert into member_domain (partner_idx,domain)
        value(v_idx,in_front_domain);
        
		insert into partner_rates(partner_idx,rate_type,value) 
        SELECT v_idx,type,100 FROM static_rates;
    
        IF EXISTS(SELECT * from static_main_server_mgr ) THEN
		   select ifnull(max(`port`),0) into l_port from static_main_server_mgr;
           set l_port = l_port + 1;
	    ELSE
	       set l_port = 10101;
        END IF;
        
        select l_port;
		insert into static_main_server_mgr(`port`,head_office_idxs) value(l_port,v_idx);
		
        IF NOT EXISTS(SELECT * from static_admin_head_office_group_info where `name` COLLATE utf8mb4_general_ci = in_head_office_group_name) THEN
			  insert into static_admin_head_office_group_info(name,head_office_infos) value(in_head_office_group_name COLLATE utf8mb4_general_ci,'{"infos": []}' COLLATE utf8mb4_general_ci);
        END IF;
      
		UPDATE static_admin_head_office_group_info 
		SET head_office_infos = JSON_ARRAY_INSERT(head_office_infos, '$.infos[0]', JSON_OBJECT('id', in_id, 'idx', v_idx,'is_use','on','nick_name',in_nick_name)) 
		WHERE `name` COLLATE utf8mb4_general_ci = in_head_office_group_name;
                
	
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '1', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '2', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '3', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '4', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '5', '10000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '6', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '7', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '8', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '9', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '10', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '11', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '12', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '13', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '14', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '15', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '16', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '17', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '18', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '19', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '1', '20', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '1', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '2', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '3', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '4', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '5', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '6', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '7', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '8', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '9', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '10', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '11', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '12', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '13', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '14', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '15', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '16', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '17', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '18', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '19', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '2', '20', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '1', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '2', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '3', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '4', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '5', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '6', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '7', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '8', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '9', '1000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '10', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '11', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '12', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '13', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '14', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '15', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '16', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '17', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '18', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '19', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '1', '20', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '1', '1000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '2', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '3', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '4', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '5', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '6', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '7', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '8', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '9', '1000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '10', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '11', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '12', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '13', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '14', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '15', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '16', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '17', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '18', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '19', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '2', '20', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '1', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '2', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '3', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '4', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '5', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '6', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '7', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '8', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '9', '2000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '10', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '11', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '12', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '13', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '14', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '15', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '16', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '17', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '18', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '19', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '1', '20', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '1', '1000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '2', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '3', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '4', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '5', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '6', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '7', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '8', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '9', '2000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '10', '1500000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '11', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '12', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '13', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '14', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '15', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '16', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '17', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '18', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '19', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '2', '20', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '1', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '2', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '3', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '4', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '5', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '6', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '7', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '8', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '9', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '10', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '11', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '12', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '13', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '14', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '15', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '16', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '17', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '18', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '19', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '1', '20', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '1', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '2', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '3', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '4', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '5', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '6', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '7', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '8', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '9', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '10', '1', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '11', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '12', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '13', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '14', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '15', '5000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '16', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '17', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '18', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '19', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '2', '20', '3000000', '2021-04-15 15:15:00', '2021-08-03 22:14:00');

		INSERT INTO `static_head_office_config_data` (`head_office_idx`, `set_data`, `update_dt`, `create_dt`) VALUES (v_idx, '{\"roulette\": \"OFF\", \"level_rates\": \"OFF\", \"event_charge\": \"OFF\", \"auto_level_up\": \"OFF\", \"level_account\": \"OFF\", \"roulette_item\": \"OFF\", \"level_bet_money\": \"OFF\", \"site_inspection\": \"OFF\", \"level_charge_bonus\": \"OFF\", \"store_by_store_inspection\": \"OFF\"}', '2024-09-14 11:23:51', '2024-09-13 14:27:11');
        
        
		
             
		
		insert into static_head_office_markets(head_office_idx,id,game_type,sports_id,is_onoff,display_order
        ,max_bet_price,limit_bet_price,max_baseline,min_baseline,set_baseline,is_baseline
        ,ex_baseline,include_baseline,betting_delay_time,betting_close_time,betting_open_time,betting_suspend_check_time,display_name) 
        SELECT v_idx,id,game_type,sports_id,is_onoff,display_order
        ,max_bet_price,limit_bet_price,max_baseline,min_baseline,set_baseline,is_baseline
        ,ex_baseline,include_baseline,betting_delay_time,betting_close_time,betting_open_time,betting_suspend_check_time,display_name FROM static_origin.static_head_office_markets_origin;
        
        main_market_up : BEGIN
			declare v_id int default 0;
            declare v_sport_id int default 0;
            declare v_bet_group int default 0;
            declare v_limit_bet_price decimal(7,2) default 0.0;
            declare v_max_bet_price decimal(7,2) default 0.0;
            declare v_display_order int default 0;
			
			DECLARE done INTEGER DEFAULT 0;
		
			DEClARE openCursor CURSOR FOR SELECT id,sport_id,bet_group,limit_bet_price,max_bet_price,display_order
			FROM mydb_betgo.lsports_markets ;
			
			DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = true;
			
			OPEN openCursor;
			  read_loop: LOOP
				  FETCH openCursor INTO v_id,v_sport_id,v_bet_group,v_limit_bet_price,v_max_bet_price,v_display_order;
									  
				   IF done THEN
					LEAVE read_loop;
				   END IF;
				  
				   if 1 = v_bet_group then
						set v_bet_group = 2;
                   else 
						set v_bet_group = 1;
				   end if;
				   
				   IF EXISTS(SELECT * from static_head_office_markets where head_office_idx = v_idx and id = v_id and game_type = v_bet_group 
						and sports_id = v_sport_id ) THEN
						update static_head_office_markets set limit_bet_price = v_limit_bet_price,max_bet_price = v_max_bet_price
						,display_order = v_display_order where head_office_idx = v_idx and id = v_id and game_type = v_bet_group 
						and sports_id = v_sport_id;
                   END IF;
                                      
				END LOOP read_loop;
			CLOSE openCursor;
		END main_market_up;
        
		
			
            
        insert into static_head_office_refund_rate_market(head_office_idx,sports_id,league_id,market_id,game_type,refund_rate,deduction_refund_rate,is_margin_refund) 
		 SELECT v_idx,sports_id,league_id,market_id,game_type,refund_rate,deduction_refund_rate,is_margin_refund FROM static_origin.static_head_office_refund_rate_market_origin; 
        
	    insert into static_head_office_sports(head_office_idx,id,display_name,game_type,is_use,image_path,input_refund_rate,deduction_refund_rate,is_margin_refund,display_order) 
			SELECT v_idx,id,display_name,game_type,is_use,image_path,input_refund_rate,deduction_refund_rate,is_margin_refund,display_order FROM static_origin.static_head_office_sports_origin; 

		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '1', '0', '12', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2020-11-29 18:15:13', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '2', '0', '22', '', '1ㄺㄱ', '111111', '5~10', '2024-05-02 11:58:26', '2020-11-29 18:15:13', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '3', '0', '12', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2020-11-29 18:15:13', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '4', '0', '12', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2020-12-13 06:03:26', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '5', '0', '12', '', '이종민', '5401-0394-36802', '5~10', '2024-05-08 18:05:57', '2020-12-13 06:03:27', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '6', '0', '2', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2020-12-13 06:10:50', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '7', '0', '12', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2020-12-13 06:10:51', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '8', '0', '12', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2020-12-13 06:10:51', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '9', '0', '5', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2020-12-13 06:10:51', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '10', '0', '6', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2020-12-13 06:10:52', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '11', '0', '10', '', '고객센터로 문의바랍니다.', '0', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:09', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '12', '0', '10', '', '고객센터로 문의바랍니다.', '0', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:09', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '13', '0', '7', '', '고객센터로 문의바랍니다.', '0', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:09', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '14', '0', '7', '', '고객센터로 문의바랍니다.', '0', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:10', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '15', '0', '30', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:10', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '16', '0', '7', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:10', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '17', '0', '8', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:10', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '18', '0', '26', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:10', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '19', '0', '7', '', '쪽지 발송해드리겠습니다.', '입금하실 금액으로 충전신청 해주시길 바랍니다.', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:10', '');
		INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`, `update_dt`, `create_dt`, `etc`) VALUES (v_idx, '20', '0', '3', '', '고객센터로 문의바랍니다.', '0000', '5~10', '2024-05-08 18:05:57', '2023-07-22 17:15:10', '');

		INSERT INTO `static_level_auto_level_up_config` (`partner_idx`, `is_use`, `reset_date`, `update_dt`, `create_dt`) VALUES (v_idx, 'ON', '200', '2024-09-06 19:06:14', '2024-09-06 18:36:16');

		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '1', 'ON', '10000', '10000', '100', '1', '2024-10-07 18:30:30', '2024-08-26 18:36:46');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '2', 'ON', '100000', '100000', '1000', '5', '2024-10-07 18:30:30', '2024-08-26 18:36:46');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '3', 'ON', '1000000', '1000000', '10000', '10', '2024-10-07 18:30:30', '2024-09-06 19:10:26');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '4', 'ON', '10000000', '10000000', '100000', '100', '2024-10-07 18:30:30', '2024-09-06 19:10:26');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '5', 'ON', '1', '1', '1', '1', '2024-09-06 19:10:26', '2024-09-06 19:10:26');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '6', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-06 19:10:26');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '7', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '8', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '9', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '10', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '11', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '12', 'ON', '999999', '1', '1', '1', '2024-09-07 13:30:25', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '13', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '14', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '15', 'ON', '1', '7777777', '1', '1', '2024-10-11 17:03:58', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '16', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '17', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '18', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '19', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');
		INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`, `update_dt`, `create_dt`) VALUES (v_idx, '20', 'ON', '1', '1', '1', '1', '2024-09-07 13:30:05', '2024-09-07 13:30:05');

        INSERT INTO `static_level_bonus_basic_option_rolling_config` (`partner_idx`, `is_use`, `title`, `description`, `update_dt`, `create_dt`) VALUES (v_idx, 'Y', '보너스 포인트 없음', '※ 배팅롤링 : 스포츠 100%, 그 외 게임 200%', '2024-10-17 11:12:32', '2024-08-28 18:58:22');
	    INSERT INTO `static_level_bonus_charge_plus_config` (`partner_idx`, `title`, `condition`, `description`, `update_dt`, `create_dt`) VALUES (v_idx, '입금 플러스 jp', '※ 배팅롤링 : 스포츠 단폴더,투폴더 베팅불가 3폴더 200% 4폴더 150% 슬롯 800% 그외 모든종목 베팅금지 입니다.', '※ 입금 플러스 금액 설명 3+2, 5+3, 10+5, 30+12 일때 3만원 입금하면 2만원이 추가 지급, 5만원을 입금하면 3만원이 추가지급 입니다.', '2024-10-17 11:09:34', '2024-09-27 19:57:44');

		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`, `update_dt`, `create_dt`) VALUES (v_idx, '1', 'Y', '30000', '20000', '2024-10-17 11:08:52', '2024-09-13 13:25:08');
		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`, `update_dt`, `create_dt`) VALUES (v_idx, '2', 'Y', '50000', '30000', '2024-10-17 11:08:52', '2024-09-13 13:25:08');
		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`, `update_dt`, `create_dt`) VALUES (v_idx, '3', 'Y', '100000', '50000', '2024-10-17 11:08:52', '2024-09-13 13:25:08');
		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`, `update_dt`, `create_dt`) VALUES (v_idx, '4', 'Y', '300000', '120000', '2024-10-17 11:08:52', '2024-09-13 13:25:08');
		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`, `update_dt`, `create_dt`) VALUES (v_idx, '5', 'Y', '500000', '200000', '2024-10-17 11:08:52', '2024-09-13 13:25:08');
		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`, `update_dt`, `create_dt`) VALUES (v_idx, '6', 'Y', '1000000', '350000', '2024-10-17 11:08:52', '2024-09-13 13:25:08');


		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '1', '0', '10', '10000', '0', '10', '5000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '2', '0', '10', '15000', '0', '10', '10000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '3', '0', '10', '20000', '0', '10', '15000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '4', '0', '10', '25000', '0', '10', '20000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '5', '0', '10', '30000', '0', '10', '25000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '6', '0', '10', '35000', '0', '10', '30000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '7', '0', '10', '40000', '0', '10', '35000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '8', '0', '10', '45000', '0', '10', '40000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '9', '0', '10', '50000', '0', '10', '45000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '10', '0', '10', '55000', '0', '10', '50000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '11', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '12', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '13', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '14', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '15', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '16', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '17', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '18', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '19', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '1', '20', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '1', '0', '15', '20000', '0', '15', '10000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '2', '0', '15', '25000', '0', '15', '15000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '3', '0', '15', '30000', '0', '15', '20000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '4', '0', '15', '35000', '0', '15', '25000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '5', '0', '15', '40000', '0', '15', '30000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '6', '0', '15', '45000', '0', '15', '35000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '7', '0', '15', '50000', '0', '15', '40000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '8', '0', '15', '55000', '0', '15', '45000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '9', '0', '15', '60000', '0', '15', '50000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '10', '0', '15', '65000', '0', '15', '55000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '11', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '12', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '13', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '14', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '15', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '16', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '17', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '18', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '19', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '2', '20', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '1', '0', '20', '30000', '0', '20', '15000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '2', '0', '20', '35000', '0', '20', '20000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '3', '0', '20', '40000', '0', '20', '25000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '4', '0', '20', '45000', '0', '20', '30000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '5', '0', '20', '50000', '0', '20', '35000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '6', '0', '20', '55000', '0', '20', '40000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '7', '0', '20', '60000', '0', '20', '45000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '8', '0', '20', '65000', '0', '20', '50000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '9', '0', '20', '70000', '0', '20', '55000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '10', '0', '20', '75000', '0', '20', '60000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '11', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '12', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '13', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '14', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '15', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '16', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '17', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '18', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '19', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '3', '20', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '1', '200000', '30', '40000', '100000', '30', '20000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '2', '200000', '30', '50000', '100000', '30', '25000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '3', '200000', '30', '60000', '100000', '30', '30000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '4', '200000', '30', '70000', '100000', '30', '35000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '5', '200000', '30', '80000', '100000', '30', '40000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '6', '200000', '30', '90000', '100000', '30', '45000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '7', '200000', '30', '100000', '100000', '30', '50000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '8', '200000', '30', '110000', '100000', '30', '55000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '9', '200000', '30', '120000', '100000', '30', '60000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '10', '200000', '30', '130000', '100000', '30', '65000');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '11', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '12', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '13', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '14', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '15', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '16', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '17', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '18', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '19', '0', '1', '1', '0', '1', '1');
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) VALUES (v_idx, '4', '20', '0', '1', '1', '0', '1', '1');

		INSERT INTO `static_level_charge_config` (`partner_idx`, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description`, `update_dt`, `create_dt`) VALUES (v_idx, '0', '가입 첫 충전 보너스 없음', 'Y', '0', '0', '0', '※ 배팅롤링 : 카지노 200% 그외 모든종목 100% 입니다.', '2024-10-17 13:17:06', '2024-09-04 19:26:52');
		INSERT INTO `static_level_charge_config` (`partner_idx`, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description`, `update_dt`, `create_dt`) VALUES (v_idx, '1', '가입 첫 충전 보너스 1', 'Y', '0', '10', '100000', '※ 배팅롤링 : 스포츠 단폴더 베팅불가, 2폴더 150% 3폴더 이상 100% / 카지노 800% 그외 모든종목 300% 입니다.', '2024-10-17 13:17:06', '2024-08-28 18:48:54');
		INSERT INTO `static_level_charge_config` (`partner_idx`, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description`, `update_dt`, `create_dt`) VALUES (v_idx, '2', '가입 첫 충전 보너스 2', 'Y', '0', '20', '200000', '※ 배팅롤링 : 스포츠 단폴더,투폴더 베팅불가 3폴더 150% 4폴더이상 100% / 슬롯 500% 그외 모든종목 베팅금지 입니다.', '2024-10-17 13:17:06', '2024-08-28 23:12:52');
		INSERT INTO `static_level_charge_config` (`partner_idx`, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description`, `update_dt`, `create_dt`) VALUES (v_idx, '3', '가입 첫 충전 보너스 3', 'Y', '0', '30', '300000', '※ 배팅롤링 : 스포츠 단폴더,투폴더 베팅불가 3폴더 200% 4폴더 150% / 슬롯 500% 그외 모든종목 베팅금지 입니다.', '2024-10-17 13:17:06', '2024-08-28 23:12:52');
		INSERT INTO `static_level_charge_config` (`partner_idx`, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description`, `update_dt`, `create_dt`) VALUES (v_idx, '4', '가입 첫 충전 보너스 4', 'Y', '0', '40', '400000', '※ 배팅롤링 : 스포츠 단폴더,투폴더 베팅불가 3폴더 200% 4폴더 150% / 슬롯 800% 그외 모든종목 베팅금지 입니다.', '2024-10-17 13:17:06', '2024-08-28 23:12:52');

		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '1', '1', '입금방법1', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '2', '1', '입금방법2', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '3', '1', '입금방법3', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '4', '1', '입금방법4', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '5', '1', '입금방법5', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '6', '1', '입금방법6', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '7', '1', '입금방법7', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '8', '1', '입금방법8', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '9', '1', '입금방법9', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '10', '1', '입금방법10', '2024-08-31 13:14:09', '2024-08-31 13:14:09');

		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '11', '1', '입금방법1', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '12', '1', '입금방법2', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '13', '1', '입금방법3', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '14', '1', '입금방법4', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
		INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '15', '1', '입금방법5', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '16', '1', '입금방법6', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '17', '1', '입금방법7', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '18', '1', '입금방법8', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '19', '1', '입금방법9', '2024-08-31 13:14:09', '2024-08-31 13:14:09');
        INSERT INTO `static_level_charge_detail` (`partner_idx`, `level`, `charge_type`, `site_marking`, `update_dt`, `create_dt`) VALUES (v_idx, '20', '1', '입금방법10', '2024-08-31 13:14:09', '2024-08-31 13:14:09');

		
                
        INSERT INTO static_min_max_limit_win_betting_money(partner_idx,game_type,`level`,min_money,max_money,limit_win_money,  
		league_level_1,league_level_2,league_level_3,league_level_4 ) 
        SELECT v_idx,game_type,`level`,min_money,max_money,limit_win_money,  
		league_level_1,league_level_2,league_level_3,league_level_4 FROM static_origin.static_min_max_limit_win_betting_money where partner_idx = v_idx;
        
        INSERT INTO static_head_office_mini_game (partner_idx, sub_type, third_type, `level`, min_bet_price, max_bet_price, max_limit_prize_money, dividend_detail, is_onoff)
        SELECT v_idx, sub_type, third_type, `level`, min_bet_price, max_bet_price, max_limit_prize_money, dividend_detail, is_onoff
        FROM static_origin.static_head_office_mini_game where partner_idx = v_idx;
        
        INSERT INTO `static_bonus_option` (`partner_idx`, `number`, `title`, `description`, `is_use`)
        SELECT v_idx `partner_idx`, `number`, `title`, `description`, `is_use` 
        FROM static_origin.static_bonus_option where partner_idx = v_idx;
        
		INSERT INTO `static_partner_admin_rule_set` (`partner_idx`, `partner_type`, `head_rule_data`, `situation_board_rule_data`, `head_office_tab_rule_data`, `lnb_member_rule_data`, `lnb_partner_rule_data`, `lnb_sports_rule_data`, `lnb_mini_game_rule_data`, `lnb_casino_rule_data`, `lnb_money_rule_data`, `lnb_site_rule_data`, `lnb_statistic_rule_data`, `lnb_board_rule_data`, `member_detail_rule_data`, `partner_detail_rule_data`) 
        SELECT v_idx,partner_type,head_rule_data,situation_board_rule_data,head_office_tab_rule_data,lnb_member_rule_data
        ,lnb_partner_rule_data,lnb_sports_rule_data,lnb_mini_game_rule_data,lnb_casino_rule_data,lnb_money_rule_data
        ,lnb_site_rule_data,lnb_statistic_rule_data,lnb_board_rule_data,member_detail_rule_data,partner_detail_rule_data FROM static_partner_admin_rule_set_original where partner_type = 201;

		INSERT INTO `static_partner_config_juckjang_data` (`partner_idx`, `cycle`, `formula_idx`, `is_use`, `update_dt`, `create_dt`) VALUES (v_idx, '1', '2', 'ON', '2024-11-13 22:03:12', '2024-08-17 17:41:11');
		INSERT INTO `static_partner_front_rule_set` (`partner_idx`, `rule_data`, `update_dt`, `create_dt`) VALUES (v_idx, '{\"is_login_type\": \"close\", \"delay_ufc_time\": 0, \"delay_soccer_time\": 10000, \"delay_tennis_time\": 0, \"limit_cancel_time\": 30, \"max_dividend_rate\": 100, \"betting_money_list\": \"10000,30000,50000,100000,300000,500000,1000000\", \"limit_folder_bonus\": 1.01, \"delay_baseball_time\": 10000, \"delay_e_sports_time\": 0, \"maintanance_main_cs\": \"N\", \"odds_3_folder_bonus\": 1.01, \"odds_4_folder_bonus\": 1.02, \"odds_5_folder_bonus\": 1.03, \"odds_6_folder_bonus\": 1.04, \"odds_7_folder_bonus\": 1.05, \"delay_basketball_time\": 10000, \"delay_ice_hockey_time\": 10000, \"delay_volleyball_time\": 10000, \"maintanance_main_site\": \"N\", \"maintanance_main_slot\": \"N\", \"can_betting_delay_time\": 3, \"is_use_charge_password\": \"Y\", \"re_exchange_check_time\": 3, \"maintanance_main_casino\": \"N\", \"maintanance_main_charge\": \"N\", \"maintanance_main_sports\": \"N\", \"is_use_exchange_password\": \"Y\", \"maintanance_main_exchange\": \"N\", \"maintanance_main_realtime\": \"N\", \"delay_americal_football_time\": 0, \"odds_3_folder_bonus_realtime\": 1.06, \"odds_4_folder_bonus_realtime\": 1.06, \"odds_5_folder_bonus_realtime\": 1.08, \"odds_6_folder_bonus_realtime\": 1.09, \"odds_7_folder_bonus_realtime\": 1.1, \"service_bonus_folder_prematch\": \"Y\", \"service_bonus_folder_realtime\": \"Y\", \"maintanance_mini_game_sure_race_1\": \"N\", \"maintanance_mini_game_sure_race_2\": \"N\", \"maintanance_mini_game_sure_race_3\": \"N\", \"maintanance_virtual_game_bratania\": \"N\", \"maintanance_virtual_game_festival\": \"N\", \"service_bonus_folder_prematch_min\": 1.52, \"service_bonus_folder_realtime_min\": 1.061, \"maintanance_virtual_game_world_cup\": \"N\", \"lose_bonus_point_limit_folder_count\": 5, \"maintanance_mini_game_sure_laddar_1\": \"N\", \"maintanance_mini_game_sure_laddar_2\": \"N\", \"maintanance_mini_game_sure_laddar_3\": \"N\", \"maintanance_virtual_game_golden_hill\": \"N\", \"maintanance_virtual_game_premiership\": \"N\", \"maintanance_mini_game_ntry_power_ball\": \"N\", \"maintanance_virtual_game_super_league\": \"N\", \"maintanance_mini_game_ntry_kino_laddar\": \"N\", \"maintanance_mini_game_red_power_laddar\": \"N\", \"maintanance_virtual_game_hillside_park\": \"N\", \"maintanance_virtual_game_victoria_park\": \"N\", \"maintanance_mini_game_ntry_power_laddar\": \"N\", \"maintanance_mini_game_sure_power_ball_1\": \"N\", \"maintanance_mini_game_sure_power_ball_2\": \"N\", \"maintanance_mini_game_sure_power_ball_3\": \"N\", \"maintanance_mini_game_named_power_ball_5\": \"N\", \"maintanance_mini_game_next_game_baccarat\": \"N\", \"maintanance_mini_game_next_game_power_ball\": \"N\"}', '2024-10-23 18:10:23', '2024-08-28 11:24:56');

		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '1', '1.00', '1.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '11', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '12', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '13', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '14', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '15', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '16', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '17', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '18', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '19', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '1', '20', '0.00', '10.00', '2024-11-13 18:55:05', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '1', '2.00', '2.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '2', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '1', '3.00', '3.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '3', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '1', '4.00', '4.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '4', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '1', '5.00', '5.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '5', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '1', '6.00', '6.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '6', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '1', '7.00', '7.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '7', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '1', '8.00', '8.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '8', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '1', '9.00', '9.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '9', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '1', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '100', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '1', '11.00', '11.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '101', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '1', '12.00', '12.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '102', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '1', '13.00', '13.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '103', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '1', '14.00', '14.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '104', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '1', '15.00', '15.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '105', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '1', '16.00', '16.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '106', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '1', '17.00', '17.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '107', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '1', '18.00', '18.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '201', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '1', '19.00', '19.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '202', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '1', '20.00', '20.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '203', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '1', '21.00', '21.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '204', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '1', '22.00', '22.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '205', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '1', '23.00', '23.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '206', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '1', '24.00', '24.00', '2024-10-11 21:43:29', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '2', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '3', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '4', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '5', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '6', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '7', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '8', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '9', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '10', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '11', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '12', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '13', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '14', '10.00', '10.00', '2024-10-10 16:04:11', '2024-10-10 16:04:11');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '15', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '16', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '17', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '18', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '19', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '207', '20', '10.00', '10.00', '2024-10-10 16:04:12', '2024-10-10 16:04:12');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '1', '24.00', '24.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '2', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '3', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '4', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '5', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '6', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '7', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '8', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '9', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '10', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '11', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '12', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '13', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '14', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '15', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '16', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '17', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '18', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '19', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');
		INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`, `update_date`, `create_date`) VALUES (v_idx, '208', '20', '10.00', '10.00', '2024-10-14 13:40:39', '2024-10-14 13:40:39');

		INSERT INTO `static_switch_config` (`head_office_idx`, `provider_id`, `product_type_id`, `is_use`, `create-dt`, `update_dt`) VALUES (v_idx, '3', '1', 'OFF', '2024-10-14 19:34:26', '2024-11-13 23:11:10');
		INSERT INTO `static_switch_config` (`head_office_idx`, `provider_id`, `product_type_id`, `is_use`, `create-dt`, `update_dt`) VALUES (v_idx, '3', '2', 'OFF', '2024-10-14 19:34:26', '2024-11-19 21:15:18');
		INSERT INTO `static_switch_config` (`head_office_idx`, `provider_id`, `product_type_id`, `is_use`, `create-dt`, `update_dt`) VALUES (v_idx, '4', '1', 'ON', '2024-10-14 19:34:26', '2024-11-13 23:11:10');
		INSERT INTO `static_switch_config` (`head_office_idx`, `provider_id`, `product_type_id`, `is_use`, `create-dt`, `update_dt`) VALUES (v_idx, '4', '2', 'ON', '2024-10-14 19:34:26', '2024-11-19 21:15:18');
	
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:09:59');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '1', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:09:03');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:10:00');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '2', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:27');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:10:05');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '3', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:28');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '3', '1', 'OFF', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:42:19');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '4', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:29');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '5', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:10:06');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '5', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:30');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '6', '3', '1', 'OFF', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:42:23');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '6', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:31');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '7', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:10:07');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '7', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:34');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '8', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:10:09');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '8', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:36');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '9', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:10:11');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '9', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:37');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '10', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:10:12');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '10', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:39');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '11', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-11-13 23:10:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '11', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:26', '2024-05-30 17:46:40');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '13', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-11-13 23:10:16');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '13', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-05-30 17:46:43');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '14', '3', '1', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-11-13 23:10:17');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '14', '4', '1', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-05-30 17:46:43');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '100', '3', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-11-13 23:41:47');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '100', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-11-12 12:23:04');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '101', '3', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-11-13 23:41:51');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '101', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '102', '3', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-11-13 23:41:53');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '102', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '103', '3', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-11-13 23:41:54');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '103', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '104', '3', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-11-13 23:41:55');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '104', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '105', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '105', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '106', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '106', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '107', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '107', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '108', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '108', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '109', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '109', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '111', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '111', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '112', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '112', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '113', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '113', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '114', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '114', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '115', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '115', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '116', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '116', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '117', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '117', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '118', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '118', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:27', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '119', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '119', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '120', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '120', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '121', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '121', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '122', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '122', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '123', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '123', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '124', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '124', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '125', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '125', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '126', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '126', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '127', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '127', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '128', '3', '2', 'OFF', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '128', '4', '2', 'ON', '0', '0', '2023-10-11 18:58:28', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '129', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '129', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '130', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '130', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '131', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '131', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '132', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '132', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '133', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '133', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '134', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '134', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '135', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '135', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '136', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '136', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:07', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '137', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '137', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '138', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '138', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '139', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '139', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '140', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '140', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '141', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '141', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '142', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '142', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '143', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '143', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:08', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '144', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:09', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '144', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:09', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '145', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:09', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '145', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:09', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '146', '3', '2', 'OFF', '0', '0', '2023-10-27 20:30:09', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '146', '4', '2', 'ON', '0', '0', '2023-10-27 20:30:09', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '148', '3', '2', 'OFF', '0', '0', '2024-04-04 18:53:30', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '148', '4', '2', 'ON', '0', '0', '2024-04-04 18:53:30', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '149', '3', '2', 'OFF', '0', '0', '2024-04-04 18:53:30', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '149', '4', '2', 'ON', '0', '0', '2024-04-04 18:53:30', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '150', '3', '2', 'OFF', '0', '0', '2024-04-04 18:53:30', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '150', '4', '2', 'ON', '0', '0', '2024-04-04 18:53:30', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '151', '3', '2', 'OFF', '0', '0', '2024-04-04 18:53:30', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '151', '4', '2', 'ON', '0', '0', '2024-04-04 18:53:30', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '199', '3', '2', 'OFF', '0', '0', '2023-10-27 18:03:20', '2024-10-22 18:35:13');
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`, `provider_id`, `product_type_id`, `is_use`, `order_priority`, `front_order_priority`, `create_dt`, `update_dt`) VALUES (v_idx, '199', '4', '2', 'ON', '0', '0', '2023-10-27 18:03:20', '2024-10-22 18:35:13');
  
	main_default : BEGIN
	   declare l_high_pt_idx bigint;
       declare l_low_pt_idx bigint;
	   declare l_dist_pt_idx bigint;
	   declare l_shop_pt_idx bigint;
       declare l_high_office_id varchar(64);
       declare l_low_office_id varchar(64);
       declare l_dist_id varchar(64);
       declare l_shop_id varchar(64);
      
	   
        set l_high_office_id = concat(in_id,'_default');
		set l_high_pt_idx = create_partner(v_idx
		,l_high_office_id
		,'영본'
		,v_idx
		,301
		,in_partner_domain 
		,in_password 
		,in_second_password
		);
        
       
	    set l_low_office_id = concat(in_id,'_default');
		set l_low_pt_idx = create_partner(v_idx
		,l_low_office_id
		,'부본'
		,l_high_pt_idx
		,401
		,in_partner_domain 
		,in_password 
		,in_second_password
		);
		
       
		set l_dist_id = concat(in_id,'_default');
		set l_dist_pt_idx = create_partner(v_idx
		,l_dist_id
		,'총판'
		,l_low_pt_idx
		,501
		,in_partner_domain 
		,in_password 
		,in_second_password
		);
		
       
        set l_shop_id = concat(in_id,'_default');
		set l_shop_pt_idx = create_partner(v_idx
		,l_shop_id
		,'매장'
		,l_dist_pt_idx
		,601
		,in_partner_domain 
		,in_password 
		,in_second_password
		);
		update member set temp_shop_idx = l_shop_pt_idx where idx = l_high_pt_idx;
    END main_default;
	COMMIT;
END main ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `create_head_office_bets` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` PROCEDURE `create_head_office_bets`(
in_id varchar(20)
,in_nick_name varchar(20)
,in_password varchar(512)
,in_second_password varchar(512)
,in_front_domain varchar(100)
,in_domain varchar(100)
,in_partner_domain varchar(100)
,in_hp varchar(20)
,in_head_office_group_name varchar(45)
)
main : BEGIN
	
    DECLARE ret_code INT;
	DECLARE errno INT;
    DECLARE v_txt_error_msg text;
    DECLARE v_idx bigint;
	DECLARE l_super_idx bigint;
    DECLARE l_port int default 0;
    declare l_number int default 0;
    DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
		GET CURRENT DIAGNOSTICS CONDITION 1 errno = MYSQL_ERRNO
		, v_txt_error_msg = MESSAGE_TEXT;
        set ret_code = -1000;
		SELECT ret_code,errno AS MYSQL_ERROR,v_txt_error_msg as MESSAGE_TEXT;
		ROLLBACK;
    END;
	START TRANSACTION;
    
		select idx into l_super_idx from member where partner_type = 1;
        
		insert into member (id,nick_name,`password`,second_password,partner_type,hp,status,level,member_type,parent_partner_idx)
        value(in_id,in_nick_name,in_password,in_second_password,201,in_hp,1,1,'partner',l_super_idx);
        
        set v_idx = last_insert_id();
        
        update member set head_office_idx = v_idx,unique_id = concat(in_id,'_',v_idx) where idx = v_idx;
        
        insert into partner_detail_info (partner_idx,admin_domain,partner_domain,is_recommend_give_point) value(v_idx,in_domain,in_partner_domain,'OFF');
        
        insert into member_admin_domain (partner_idx,domain,id)
        value(v_idx,in_domain,in_id);
        
		insert into member_domain (partner_idx,domain)
        value(v_idx,in_front_domain);
        
		insert into partner_rates(partner_idx,rate_type,value) 
        SELECT v_idx,type,100 FROM static_rates;
    
        IF EXISTS(SELECT * from static_main_server_mgr ) THEN
		   -- select ifnull(max(`port`),0) into l_port from static_main_server_mgr;
           select ifnull(max(`number`),0) into l_number from static_main_server_mgr;
           set l_number = l_number + 1;
	    ELSE
	       set l_number = 1;
        END IF;
        
		set l_port = 10000 + l_number;
        
        -- select l_port;
		insert into static_main_server_mgr(`number`,`port`,head_office_idxs) value(l_number,l_port,v_idx);
		
        IF NOT EXISTS(SELECT * from static_admin_head_office_group_info where `name` COLLATE utf8mb4_general_ci = in_head_office_group_name) THEN
			  insert into static_admin_head_office_group_info(name,head_office_infos) value(in_head_office_group_name COLLATE utf8mb4_general_ci,'{"infos": []}' COLLATE utf8mb4_general_ci);
        END IF;
      
		UPDATE static_admin_head_office_group_info 
		SET head_office_infos = JSON_ARRAY_INSERT(head_office_infos, '$.infos[0]', JSON_OBJECT('id', in_id, 'idx', v_idx,'is_use','on','nick_name',in_nick_name)) 
		WHERE `name` COLLATE utf8mb4_general_ci = in_head_office_group_name;
                	
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`) 
        select v_idx , `rank`, `type`, `level`, `amount` from static_origin.static_dividend_policy_origin;
		
        INSERT INTO `static_head_office_config_data` (`head_office_idx`, `set_data`) 
        select v_idx,`set_data` from static_origin.static_head_office_config_data_origin;
           
		main_level_account : BEGIN
			declare v_level int default 0;
            declare v_account_name varchar(45) default '';
            declare v_account_bank varchar(45) default '';
            declare v_account_number varchar(45) default '';
            declare v_remarks varchar(200) default '';
            declare v_display_account_bank varchar(45) default '';
			declare v_bank_id int default 0;
			
			DECLARE done INTEGER DEFAULT 0;
		
			DEClARE openCursor CURSOR FOR SELECT `level`,account_name,account_bank,account_number,remarks,display_account_bank,bank_id
			FROM mydb_bets.account_level_list ;
			
			DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = true;
			
			OPEN openCursor;
			  read_loop: LOOP
				  FETCH openCursor INTO v_level,v_account_name,v_account_bank,v_account_number,v_remarks,v_display_account_bank,v_bank_id;
									  
				   IF done THEN
					LEAVE read_loop;
				   END IF;
				  
                  INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`) 
                  VALUES (v_idx, v_level, '0', v_bank_id, v_display_account_bank,v_account_name,v_account_number, '5~10');
				END LOOP read_loop;
			CLOSE openCursor;
		END main_level_account;
        
        INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`)
        select v_idx, `rate_type`, `level`, `value`, `recommend_value` from static_origin.static_partner_level_rates_origin;
        		

        main_partner_level_rates : BEGIN
			
            declare v_type varchar(100) default '';
            declare v_level int default 0;
            declare v_myself_chex decimal(11,1) default '';
            declare v_recommender_chex decimal(11,1) default '';
            declare v_myself_bet decimal(11,1) default '';
            declare v_recommender_bet decimal(11,1) default '';
            declare v_myself_lose decimal(11,1) default '';
			declare v_recommender_lose decimal(11,1) default 0;
            declare v_recommender_win decimal(11,1) default '';
			declare v_myself_win decimal(11,1) default 0;
			
			DECLARE done INTEGER DEFAULT 0;
		
			DEClARE openCursor CURSOR FOR SELECT `type`,`level`,myself_chex,recommender_chex,myself_bet,recommender_bet,myself_lose,recommender_lose,recommender_win,myself_win
			FROM mydb_bets.tb_static_rolling_comps ;
			
			DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = true;
			
			OPEN openCursor;
			  read_loop: LOOP
				  FETCH openCursor INTO v_type,v_level,v_myself_chex,v_recommender_chex,v_myself_bet,v_recommender_bet,v_myself_lose,v_recommender_lose,v_recommender_win,v_myself_win;
				   IF done THEN
					LEAVE read_loop;
				   END IF;
				   
                   IF 'chex' = v_type THEN
						update `static_partner_level_rates` set `value` = v_myself_chex, `recommend_value` = v_recommender_chex where  `partner_idx` = v_idx and `rate_type` = 1 and `level` = v_level;
                   ELSEIF 'casino' = v_type THEN
						update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 8 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 106 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 207 and `level` = v_level;
                   ELSEIF 'slot' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 9 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 107 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 208 and `level` = v_level;
				   ELSEIF 'prematch_s' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 2 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 100 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 201 and `level` = v_level;
				   ELSEIF 'prematch_d' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 3 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 101 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 202 and `level` = v_level;
                   ELSEIF 'inplay_s' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 4 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 102 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 203 and `level` = v_level;
				   ELSEIF 'inplay_d' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 5 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 103 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 204 and `level` = v_level;
                   END IF;     
                         
                 
				END LOOP read_loop;
			CLOSE openCursor;
		END main_partner_level_rates;
                
        	
		INSERT INTO `static_level_auto_level_up_config` (`partner_idx`, `is_use`, `reset_date`) 
		select v_idx, `is_use`, `reset_date` from static_origin.static_level_auto_level_up_config_origin; 
        
        INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`)
        select v_idx, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge` from static_origin.static_level_auto_level_up_detail_origin; 
        		
        INSERT INTO `static_level_bonus_basic_option_rolling_config` (`partner_idx`, `is_use`, `title`, `description`) 
        select v_idx, `is_use`, `title`, `description` from static_origin.static_level_bonus_basic_option_rolling_config_origin;
	    
        INSERT INTO `static_level_bonus_charge_plus_config` (`partner_idx`, `title`, `condition`, `description`)
        select v_idx, `title`, `condition`, `description` from static_origin.static_level_bonus_charge_plus_config_origin;

		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`) 
		select v_idx, `number`, `is_use`, `amount`, `bonus` from static_origin.static_level_bonus_charge_plus_detail_origin;
        
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) 
		select v_idx, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max` from static_origin.static_level_charge_bonus_option_origin;
		

		INSERT INTO static_level_charge_config(`partner_idx`, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description`) 
        SELECT v_idx, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description` 
        FROM static_origin.static_level_charge_config_origin;
        		                
        INSERT INTO static_min_max_limit_win_betting_money(partner_idx,game_type,`level`,min_money,max_money,limit_win_money,  
		league_level_1,league_level_2,league_level_3,league_level_4 ) 
        SELECT v_idx,game_type,`level`,min_money,max_money,limit_win_money,  
		league_level_1,league_level_2,league_level_3,league_level_4 FROM static_origin.static_min_max_limit_win_betting_money_origin;
        
        INSERT INTO static_head_office_mini_game (partner_idx, sub_type, third_type, `level`, min_bet_price, max_bet_price, max_limit_prize_money, dividend_detail, is_onoff)
        SELECT v_idx, sub_type, third_type, `level`, min_bet_price, max_bet_price, max_limit_prize_money, dividend_detail, is_onoff
        FROM static_origin.static_head_office_mini_game_origin;
        
        INSERT INTO main.static_bonus_option (partner_idx, number, title, description, is_use)
		SELECT v_idx, number, title, description, is_use FROM main.static_bonus_option as sbo
		WHERE sbo.partner_idx = 1;
        
		INSERT INTO `static_partner_admin_rule_set` (`partner_idx`, `partner_type`, `head_rule_data`, `situation_board_rule_data`, `head_office_tab_rule_data`, `lnb_member_rule_data`, `lnb_partner_rule_data`, `lnb_sports_rule_data`, `lnb_mini_game_rule_data`, `lnb_casino_rule_data`, `lnb_money_rule_data`, `lnb_site_rule_data`, `lnb_statistic_rule_data`, `lnb_board_rule_data`, `member_detail_rule_data`, `partner_detail_rule_data`) 
        SELECT v_idx,partner_type,head_rule_data,situation_board_rule_data,head_office_tab_rule_data,lnb_member_rule_data
        ,lnb_partner_rule_data,lnb_sports_rule_data,lnb_mini_game_rule_data,lnb_casino_rule_data,lnb_money_rule_data
        ,lnb_site_rule_data,lnb_statistic_rule_data,lnb_board_rule_data,member_detail_rule_data,partner_detail_rule_data FROM static_partner_admin_rule_set_original where partner_type = 201;

		INSERT INTO `static_partner_config_juckjang_data` (`partner_idx`, `cycle`, `formula_idx`, `is_use`,`max_limit_point`,`partner_cycle`,`partner_is_use`) 
        select v_idx,`cycle`, `formula_idx`, `is_use`,`max_limit_point`,`partner_cycle`,`partner_is_use` from static_origin.static_partner_config_juckjang_data_origin;
        
        INSERT INTO `static_level_event_charge_config` (`partner_idx`, `is_use`, `start_hour`, `end_hour`,`description`,`is_mixed`) 
        select v_idx,`is_use`,`start_hour`,`end_hour`,`description`,`is_mixed` from static_origin.static_level_event_charge_config_origin;
        
        INSERT INTO `static_level_event_charge_detail` (`partner_idx`, `level`, `bonus_const`, `bonus`,`bonus_max`) 
        select v_idx, `level`, `bonus_const`, `bonus`,`bonus_max` from static_origin.static_level_event_charge_detail_origin;
        
		INSERT INTO `static_partner_front_rule_set` (`partner_idx`, `rule_data`) 
        select v_idx, `rule_data` from static_origin.static_partner_front_rule_set_origin;
        				
				
        insert into static_head_office_sports(head_office_idx,id,display_name,game_type,is_use,image_path,input_refund_rate,deduction_refund_rate,is_margin_refund,display_order) 
		SELECT v_idx,id,display_name,game_type,is_use,image_path,input_refund_rate,deduction_refund_rate,is_margin_refund,display_order FROM static_origin.static_head_office_sports_origin;
        
      	insert into static_head_office_refund_rate_market(head_office_idx,sports_id,league_id,market_id,game_type
                        ,refund_rate,deduction_refund_rate,is_margin_refund) 
	    SELECT v_idx,sports_id,league_id,market_id,game_type,refund_rate,deduction_refund_rate,is_margin_refund FROM static_origin.static_head_office_refund_rate_market_origin;
                
		insert into static_head_office_participants(head_office_idx,fp_id,sports_id,location_id,league_id,display_name,image_path) 
		SELECT v_idx,fp_id,sports_id,location_id,league_id,display_name,image_path FROM static_origin.static_head_office_participants_origin;
        
        insert into static_head_office_leagues(head_office_idx,id,game_type,location_id,sports_id,is_use,deduction_refund_rate,is_margin_refund,input_refund_rate
        ,dividend_rank,image_path,display_name,`status`) 
        SELECT v_idx,id,game_type,location_id,sports_id,is_use,deduction_refund_rate,is_margin_refund,input_refund_rate
        ,dividend_rank,image_path,display_name,`status` FROM static_origin.static_head_office_leagues_origin;
        
        insert into static_head_office_markets(head_office_idx,id,game_type,sports_id,is_onoff,display_order
        ,max_bet_price,limit_bet_price,max_baseline,min_baseline,set_baseline,is_baseline
        ,ex_baseline,include_baseline,betting_delay_time,betting_close_time,betting_open_time,betting_suspend_check_time,display_name) 
        SELECT v_idx,id,game_type,sports_id,is_onoff,display_order
        ,max_bet_price,limit_bet_price,max_baseline,min_baseline,set_baseline,is_baseline
        ,ex_baseline,include_baseline,betting_delay_time,betting_close_time,betting_open_time,betting_suspend_check_time,display_name FROM static_origin.static_head_office_markets_origin;
        
        INSERT INTO `static_switch_config` (`head_office_idx`, `provider_id`,`product_type_id`,`is_use`) 
        select v_idx, `provider_id`,`product_type_id`,`is_use` from static_origin.static_switch_config_origin;
        
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`,`provider_id`,`product_type_id`,`is_use`,`order_priority`,`front_order_priority`) 
        select v_idx, `product_group_id`,`provider_id`,`product_type_id`,`is_use`,`order_priority`,`front_order_priority` from static_origin.static_switch_manager_origin;
        
        INSERT INTO static_admin_whitelist (`ip`, `head_office_idx`,`discription`) values ('126.249.190.202', v_idx, 'max-pc'),
																						  ('14.39.193.71', v_idx, 'ben'), 
																						  ('02.175.244.238', v_idx, 'office'),
																						  ('210.151.37.214', v_idx, 'see mon'),
																						  ('210.175.73.171', v_idx, 'may'),
                                                                                          ('61.208.234.196', v_idx, 'damen'),
                                                                                          ('193.186.4.181', v_idx, ''),
                                                                                          ('210.151.36.141', v_idx, ''),
                                                                                          ('210.151.36.144', v_idx, ''),
                                                                                          ('210.151.36.152', v_idx, ''),
                                                                                          ('210.151.37.154', v_idx, ''),
                                                                                          ('210.151.37.87', v_idx, ''),
                                                                                          ('210.175.73.127', v_idx, ''),
                                                                                          ('210.175.73.210', v_idx, '');
        
        INSERT INTO `static_inplay_check_time_score` (`partner_idx`, `sports_id`,`check_time`,`check_score`,`plus_check_score`,`special_check_market_ids`) 
        select v_idx, `sports_id`,`check_time`,`check_score`,`plus_check_score`,`special_check_market_ids` from static_origin.static_inplay_check_time_score_origin;
        
         
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_1') , concat(in_nick_name,'_1'), '$6$saltsalt$Ey03BPNsBqhhwmY3lae0rMcE8W0rGZDtDM7p8RRMVNCcY1TfO5pQ62pNTeSuMtnsLpxYLHuuDaHNtaLGoTZM9.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_2') , concat(in_nick_name,'_2'), '$6$saltsalt$Ey03BPNsBqhhwmY3lae0rMcE8W0rGZDtDM7p8RRMVNCcY1TfO5pQ62pNTeSuMtnsLpxYLHuuDaHNtaLGoTZM9.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_3') , concat(in_nick_name,'_3'), '$6$saltsalt$q9R.nCVeBT2J1HxEJlpEBPijq4G6HIyArhbpK2pGUaswbImeELIsq1K1uWXaiDrs0k5AUZoSgchcQcjVmDPuJ/', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_4') , concat(in_nick_name,'_4'), '$6$saltsalt$aoLn81yB796vNj8N.TaP2KzvBvv/WEIeOepPKVUDG8lLR3F6X.y9382PQCVUd.e93DHSOs33WOVJ3P8bpTord1', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_5') , concat(in_nick_name,'_5'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_6') , concat(in_nick_name,'_6'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_7') , concat(in_nick_name,'_7'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_8') , concat(in_nick_name,'_8'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_9') , concat(in_nick_name,'_9'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_10'), concat(in_nick_name,'_10'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');

	main_default : BEGIN -- 추언 코드없이 들어오는 유저 
	   declare l_high_pt_idx bigint;
       declare l_low_pt_idx bigint;
	   declare l_dist_pt_idx bigint;
	   declare l_shop_pt_idx bigint;
       declare l_high_office_id varchar(64);
       declare l_low_office_id varchar(64);
       declare l_dist_id varchar(64);
       declare l_shop_id varchar(64);
      
	   ##########################영본########################
        set l_high_office_id = concat(in_id,'_default');
		set l_high_pt_idx = create_partner(v_idx
		,l_high_office_id
		,'a'
		,v_idx
		,301
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
        
       ##########################부본########################
	    set l_low_office_id = concat(in_id,'_default');
		set l_low_pt_idx = create_partner(v_idx
		,l_low_office_id
		,'b'
		,l_high_pt_idx
		,401
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		
       ##########################총판########################
		set l_dist_id = concat(in_id,'_default');
		set l_dist_pt_idx = create_partner(v_idx
		,l_dist_id
		,'c'
		,l_low_pt_idx
		,501
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		
       ##########################매장########################
        set l_shop_id = concat(in_id,'_default');
		set l_shop_pt_idx = create_partner(v_idx
		,l_shop_id
		,'d'
		,l_dist_pt_idx
		,601
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		update member set temp_shop_idx = l_shop_pt_idx where idx = l_high_pt_idx;
    END main_default;
    
    main_default_recommend : BEGIN
	   declare l_high_pt_idx bigint;
       declare l_low_pt_idx bigint;
	   declare l_dist_pt_idx bigint;
	   declare l_shop_pt_idx bigint;
       declare l_high_office_id varchar(64);
       declare l_low_office_id varchar(64);
       declare l_dist_id varchar(64);
       declare l_shop_id varchar(64);
      
	   ##########################영본########################
        set l_high_office_id = concat(in_id,'_default_recommend');
		set l_high_pt_idx = create_partner(v_idx
		,l_high_office_id
		,'a'
		,v_idx
		,301
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
        
       ##########################부본########################
	    set l_low_office_id = concat(in_id,'_default_recommend');
		set l_low_pt_idx = create_partner(v_idx
		,l_low_office_id
		,'b'
		,l_high_pt_idx
		,401
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		
       ##########################총판########################
		set l_dist_id = concat(in_id,'_default_recommend');
		set l_dist_pt_idx = create_partner(v_idx
		,l_dist_id
		,'c'
		,l_low_pt_idx
		,501
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		
       ##########################매장########################
        set l_shop_id = concat(in_id,'_default_recommend');
		set l_shop_pt_idx = create_partner(v_idx
		,l_shop_id
		,'d'
		,l_dist_pt_idx
		,601
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		update member set temp_shop_idx = l_shop_pt_idx where idx = l_high_pt_idx;
    END main_default_recommend;
	COMMIT;
END main ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `create_head_office_gamble` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` PROCEDURE `create_head_office_gamble`(
in_id varchar(20)
,in_nick_name varchar(20)
,in_password varchar(512)
,in_second_password varchar(512)
,in_front_domain varchar(100)
,in_domain varchar(100)
,in_partner_domain varchar(100)
,in_hp varchar(20)
,in_head_office_group_name varchar(45)
)
main : BEGIN
	
    DECLARE ret_code INT;
	DECLARE errno INT;
    DECLARE v_txt_error_msg text;
    DECLARE v_idx bigint;
	DECLARE l_super_idx bigint;
    DECLARE l_port int default 0;
    declare l_number int default 0;
    DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
		GET CURRENT DIAGNOSTICS CONDITION 1 errno = MYSQL_ERRNO
		, v_txt_error_msg = MESSAGE_TEXT;
        set ret_code = -1000;
		SELECT ret_code,errno AS MYSQL_ERROR,v_txt_error_msg as MESSAGE_TEXT;
		ROLLBACK;
    END;
	START TRANSACTION;
    
		select idx into l_super_idx from member where partner_type = 1;
        
		insert into member (id,nick_name,`password`,second_password,partner_type,hp,status,level,member_type,parent_partner_idx)
        value(in_id,in_nick_name,in_password,in_second_password,201,in_hp,1,1,'partner',l_super_idx);
        
        set v_idx = last_insert_id();
        
        update member set head_office_idx = v_idx,unique_id = concat(in_id,'_',v_idx) where idx = v_idx;
        
        insert into partner_detail_info (partner_idx,admin_domain,partner_domain,is_recommend_give_point) value(v_idx,in_domain,in_partner_domain,'OFF');
        
        insert into member_admin_domain (partner_idx,domain,id)
        value(v_idx,in_domain,in_id);
        
		insert into member_domain (partner_idx,domain)
        value(v_idx,in_front_domain);
        
		insert into partner_rates(partner_idx,rate_type,value) 
        SELECT v_idx,type,100 FROM static_rates;
    
        IF EXISTS(SELECT * from static_main_server_mgr ) THEN
		   -- select ifnull(max(`port`),0) into l_port from static_main_server_mgr;
           select ifnull(max(`number`),0) into l_number from static_main_server_mgr;
           set l_number = l_number + 1;
	    ELSE
	       set l_number = 1;
        END IF;
        
		set l_port = 10000 + l_number;
        
        -- select l_port;
		insert into static_main_server_mgr(`number`,`port`,head_office_idxs) value(l_number,l_port,v_idx);
		
        IF NOT EXISTS(SELECT * from static_admin_head_office_group_info where `name` COLLATE utf8mb4_general_ci = in_head_office_group_name) THEN
			  insert into static_admin_head_office_group_info(name,head_office_infos) value(in_head_office_group_name COLLATE utf8mb4_general_ci,'{"infos": []}' COLLATE utf8mb4_general_ci);
        END IF;
      
		UPDATE static_admin_head_office_group_info 
		SET head_office_infos = JSON_ARRAY_INSERT(head_office_infos, '$.infos[0]', JSON_OBJECT('id', in_id, 'idx', v_idx,'is_use','on','nick_name',in_nick_name)) 
		WHERE `name` COLLATE utf8mb4_general_ci = in_head_office_group_name;
	
		INSERT INTO `static_dividend_policy` (`partner_idx`, `rank`, `type`, `level`, `amount`) 
        select v_idx , `rank`, `type`, `level`, `amount` from static_origin.static_dividend_policy_origin;
		
        INSERT INTO `static_head_office_config_data` (`head_office_idx`, `set_data`) 
        select v_idx,`set_data` from static_origin.static_head_office_config_data_origin;
           
		main_level_account : BEGIN
			declare v_level int default 0;
            declare v_account_name varchar(45) default '';
            declare v_account_bank varchar(45) default '';
            declare v_account_number varchar(45) default '';
            declare v_remarks varchar(200) default '';
            declare v_display_account_bank varchar(45) default '';
			declare v_bank_id int default 0;
			
			DECLARE done INTEGER DEFAULT 0;
		
			DEClARE openCursor CURSOR FOR SELECT `level`,account_name,account_bank,account_number,remarks,display_account_bank,bank_id
			FROM mydb_gamble.account_level_list ;
			
			DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = true;
			
			OPEN openCursor;
			  read_loop: LOOP
				  FETCH openCursor INTO v_level,v_account_name,v_account_bank,v_account_number,v_remarks,v_display_account_bank,v_bank_id;
									  
				   IF done THEN
					LEAVE read_loop;
				   END IF;
				  
                  INSERT INTO `static_level_account` (`partner_idx`, `level`, `charge_method`, `bank_id`, `bank_front_name`, `account_name`, `account_number`, `bonus_point`) 
                  VALUES (v_idx, v_level, '0', v_bank_id, v_display_account_bank,v_account_name,v_account_number, '5~10');
				END LOOP read_loop;
			CLOSE openCursor;
		END main_level_account;
        
        INSERT INTO `static_partner_level_rates` (`partner_idx`, `rate_type`, `level`, `value`, `recommend_value`)
        select v_idx, `rate_type`, `level`, `value`, `recommend_value` from static_origin.static_partner_level_rates_origin;
        		

        main_partner_level_rates : BEGIN
			
            declare v_type varchar(100) default '';
            declare v_level int default 0;
            declare v_myself_chex decimal(11,1) default '';
            declare v_recommender_chex decimal(11,1) default '';
            declare v_myself_bet decimal(11,1) default '';
            declare v_recommender_bet decimal(11,1) default '';
            declare v_myself_lose decimal(11,1) default '';
			declare v_recommender_lose decimal(11,1) default 0;
            declare v_recommender_win decimal(11,1) default '';
			declare v_myself_win decimal(11,1) default 0;
			
			DECLARE done INTEGER DEFAULT 0;
		
			DEClARE openCursor CURSOR FOR SELECT `type`,`level`,myself_chex,recommender_chex,myself_bet,recommender_bet,myself_lose,recommender_lose,recommender_win,myself_win
			FROM mydb_gamble.tb_static_rolling_comps ;
			
			DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = true;
			
			OPEN openCursor;
			  read_loop: LOOP
				  FETCH openCursor INTO v_type,v_level,v_myself_chex,v_recommender_chex,v_myself_bet,v_recommender_bet,v_myself_lose,v_recommender_lose,v_recommender_win,v_myself_win;
				   IF done THEN
					LEAVE read_loop;
				   END IF;
				   
                   IF 'chex' = v_type THEN
						update `static_partner_level_rates` set `value` = v_myself_chex, `recommend_value` = v_recommender_chex where  `partner_idx` = v_idx and `rate_type` = 1 and `level` = v_level;
                   ELSEIF 'casino' = v_type THEN
						update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 8 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 106 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 207 and `level` = v_level;
                   ELSEIF 'slot' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 9 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 107 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 208 and `level` = v_level;
				   ELSEIF 'prematch_s' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 2 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 100 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 201 and `level` = v_level;
				   ELSEIF 'prematch_d' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 3 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 101 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 202 and `level` = v_level;
                   ELSEIF 'inplay_s' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 4 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 102 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 203 and `level` = v_level;
				   ELSEIF 'inplay_d' = v_type THEN
                        update `static_partner_level_rates` set `value` = v_myself_bet, `recommend_value` = v_recommender_bet where  `partner_idx` = v_idx and `rate_type` = 5 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_lose, `recommend_value` = v_recommender_lose where  `partner_idx` = v_idx and `rate_type` = 103 and `level` = v_level;
                        update `static_partner_level_rates` set `value` = v_myself_win, `recommend_value` = v_recommender_win where  `partner_idx` = v_idx and `rate_type` = 204 and `level` = v_level;
                   END IF;     
                         
                 
				END LOOP read_loop;
			CLOSE openCursor;
		END main_partner_level_rates;
                
        		
		INSERT INTO `static_level_auto_level_up_config` (`partner_idx`, `is_use`, `reset_date`) 
		select v_idx, `is_use`, `reset_date` from static_origin.static_level_auto_level_up_config_origin; 
        
        INSERT INTO `static_level_auto_level_up_detail` (`partner_idx`, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge`)
        select v_idx, `level`, `is_use`, `charge`, `exchange`, `real_bet_amount`, `num_of_charge` from static_origin.static_level_auto_level_up_detail_origin; 
        		
        INSERT INTO `static_level_bonus_basic_option_rolling_config` (`partner_idx`, `is_use`, `title`, `description`) 
        select v_idx, `is_use`, `title`, `description` from static_origin.static_level_bonus_basic_option_rolling_config_origin;
	    
        INSERT INTO `static_level_bonus_charge_plus_config` (`partner_idx`, `title`, `condition`, `description`)
        select v_idx, `title`, `condition`, `description` from static_origin.static_level_bonus_charge_plus_config_origin;

		INSERT INTO `static_level_bonus_charge_plus_detail` (`partner_idx`, `number`, `is_use`, `amount`, `bonus`) 
		select v_idx, `number`, `is_use`, `amount`, `bonus` from static_origin.static_level_bonus_charge_plus_detail_origin;
        
		INSERT INTO `static_level_charge_bonus_option` (`partner_idx`, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max`) 
		select v_idx, `number`, `level`, `first_charge_const`, `first_charge_rate`, `first_charge_max`, `every_charge_const`, `every_charge_rate`, `every_charge_max` from static_origin.static_level_charge_bonus_option_origin;
		

		INSERT INTO static_level_charge_config(`partner_idx`, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description`) 
        SELECT v_idx, `number`, `title`, `is_first_register_charge_use`, `first_register_charge_const`, `first_register_charge_rate`, `first_register_charge_max`, `description` 
        FROM static_origin.static_level_charge_config_origin;
        		                
        INSERT INTO static_min_max_limit_win_betting_money(partner_idx,game_type,`level`,min_money,max_money,limit_win_money,  
		league_level_1,league_level_2,league_level_3,league_level_4 ) 
        SELECT v_idx,game_type,`level`,min_money,max_money,limit_win_money,  
		league_level_1,league_level_2,league_level_3,league_level_4 FROM static_origin.static_min_max_limit_win_betting_money_origin;
        
        INSERT INTO static_head_office_mini_game (partner_idx, sub_type, third_type, `level`, min_bet_price, max_bet_price, max_limit_prize_money, dividend_detail, is_onoff)
        SELECT v_idx, sub_type, third_type, `level`, min_bet_price, max_bet_price, max_limit_prize_money, dividend_detail, is_onoff
        FROM static_origin.static_head_office_mini_game_origin;
        
        INSERT INTO main.static_bonus_option (partner_idx, number, title, description, is_use)
		SELECT v_idx, number, title, description, is_use FROM main.static_bonus_option as sbo
		WHERE sbo.partner_idx = 1;
        
		INSERT INTO `static_partner_admin_rule_set` (`partner_idx`, `partner_type`, `head_rule_data`, `situation_board_rule_data`, `head_office_tab_rule_data`, `lnb_member_rule_data`, `lnb_partner_rule_data`, `lnb_sports_rule_data`, `lnb_mini_game_rule_data`, `lnb_casino_rule_data`, `lnb_money_rule_data`, `lnb_site_rule_data`, `lnb_statistic_rule_data`, `lnb_board_rule_data`, `member_detail_rule_data`, `partner_detail_rule_data`) 
        SELECT v_idx,partner_type,head_rule_data,situation_board_rule_data,head_office_tab_rule_data,lnb_member_rule_data
        ,lnb_partner_rule_data,lnb_sports_rule_data,lnb_mini_game_rule_data,lnb_casino_rule_data,lnb_money_rule_data
        ,lnb_site_rule_data,lnb_statistic_rule_data,lnb_board_rule_data,member_detail_rule_data,partner_detail_rule_data FROM static_partner_admin_rule_set_original where partner_type = 201;

		INSERT INTO `static_partner_config_juckjang_data` (`partner_idx`, `cycle`, `formula_idx`, `is_use`,`max_limit_point`,`partner_cycle`,`partner_is_use`) 
        select v_idx,`cycle`, `formula_idx`, `is_use`,`max_limit_point`,`partner_cycle`,`partner_is_use` from static_origin.static_partner_config_juckjang_data_origin;
        
        INSERT INTO `static_level_event_charge_config` (`partner_idx`, `is_use`, `start_hour`, `end_hour`,`description`,`is_mixed`) 
        select v_idx,`is_use`,`start_hour`,`end_hour`,`description`,`is_mixed` from static_origin.static_level_event_charge_config_origin;
        
        INSERT INTO `static_level_event_charge_detail` (`partner_idx`, `level`, `bonus_const`, `bonus`,`bonus_max`) 
        select v_idx, `level`, `bonus_const`, `bonus`,`bonus_max` from static_origin.static_level_event_charge_detail_origin;
        
		INSERT INTO `static_partner_front_rule_set` (`partner_idx`, `rule_data`) 
        select v_idx, `rule_data` from static_origin.static_partner_front_rule_set_origin;
        				
				
        insert into static_head_office_sports(head_office_idx,id,display_name,game_type,is_use,image_path,input_refund_rate,deduction_refund_rate,is_margin_refund,display_order) 
		SELECT v_idx,id,display_name,game_type,is_use,image_path,input_refund_rate,deduction_refund_rate,is_margin_refund,display_order FROM static_origin.static_head_office_sports_origin;
        
      	insert into static_head_office_refund_rate_market(head_office_idx,sports_id,league_id,market_id,game_type
                        ,refund_rate,deduction_refund_rate,is_margin_refund) 
	    SELECT v_idx,sports_id,league_id,market_id,game_type,refund_rate,deduction_refund_rate,is_margin_refund FROM static_origin.static_head_office_refund_rate_market_origin;
                
		insert into static_head_office_participants(head_office_idx,fp_id,sports_id,location_id,league_id,display_name,image_path) 
		SELECT v_idx,fp_id,sports_id,location_id,league_id,display_name,image_path FROM static_origin.static_head_office_participants_origin;
        
        insert into static_head_office_leagues(head_office_idx,id,game_type,location_id,sports_id,is_use,deduction_refund_rate,is_margin_refund,input_refund_rate
        ,dividend_rank,image_path,display_name,`status`) 
        SELECT v_idx,id,game_type,location_id,sports_id,is_use,deduction_refund_rate,is_margin_refund,input_refund_rate
        ,dividend_rank,image_path,display_name,`status` FROM static_origin.static_head_office_leagues_origin;
        
        insert into static_head_office_markets(head_office_idx,id,game_type,sports_id,is_onoff,display_order
        ,max_bet_price,limit_bet_price,max_baseline,min_baseline,set_baseline,is_baseline
        ,ex_baseline,include_baseline,betting_delay_time,betting_close_time,betting_open_time,betting_suspend_check_time,display_name) 
        SELECT v_idx,id,game_type,sports_id,is_onoff,display_order
        ,max_bet_price,limit_bet_price,max_baseline,min_baseline,set_baseline,is_baseline
        ,ex_baseline,include_baseline,betting_delay_time,betting_close_time,betting_open_time,betting_suspend_check_time,display_name FROM static_origin.static_head_office_markets_origin;
        
        INSERT INTO `static_switch_config` (`head_office_idx`, `provider_id`,`product_type_id`,`is_use`) 
        select v_idx, `provider_id`,`product_type_id`,`is_use` from static_origin.static_switch_config_origin;
        
		INSERT INTO `static_switch_manager` (`head_office_idx`, `product_group_id`,`provider_id`,`product_type_id`,`is_use`,`order_priority`,`front_order_priority`) 
        select v_idx, `product_group_id`,`provider_id`,`product_type_id`,`is_use`,`order_priority`,`front_order_priority` from static_origin.static_switch_manager_origin;
        
        INSERT INTO static_admin_whitelist (`ip`, `head_office_idx`,`discription`) values ('126.249.190.202', v_idx, 'max-pc'),
																						  ('14.39.193.71', v_idx, 'ben'), 
																						  ('02.175.244.238', v_idx, 'office'),
																						  ('210.134.71.68', v_idx, 'saga3'), 
																						  ('210.151.37.164', v_idx, 'saga2'),
																						  ('210.151.37.214', v_idx, 'see mon'),
																						  ('210.151.37.222', v_idx, 'saga1'),
                                                                                          ('61.208.234.196', v_idx, 'damen'),
																						  ('210.175.73.171', v_idx, 'may');
                                                                                          
        INSERT INTO `static_inplay_check_time_score` (`partner_idx`, `sports_id`,`check_time`,`check_score`,`plus_check_score`,`special_check_market_ids`) 
        select v_idx, `sports_id`,`check_time`,`check_score`,`plus_check_score`,`special_check_market_ids` from static_origin.static_inplay_check_time_score_origin;
        
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_1') , concat(in_nick_name,'_1'), '$6$saltsalt$Ey03BPNsBqhhwmY3lae0rMcE8W0rGZDtDM7p8RRMVNCcY1TfO5pQ62pNTeSuMtnsLpxYLHuuDaHNtaLGoTZM9.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_2') , concat(in_nick_name,'_2'), '$6$saltsalt$Ey03BPNsBqhhwmY3lae0rMcE8W0rGZDtDM7p8RRMVNCcY1TfO5pQ62pNTeSuMtnsLpxYLHuuDaHNtaLGoTZM9.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_3') , concat(in_nick_name,'_3'), '$6$saltsalt$q9R.nCVeBT2J1HxEJlpEBPijq4G6HIyArhbpK2pGUaswbImeELIsq1K1uWXaiDrs0k5AUZoSgchcQcjVmDPuJ/', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_4') , concat(in_nick_name,'_4'), '$6$saltsalt$aoLn81yB796vNj8N.TaP2KzvBvv/WEIeOepPKVUDG8lLR3F6X.y9382PQCVUd.e93DHSOs33WOVJ3P8bpTord1', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_5') , concat(in_nick_name,'_5'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_6') , concat(in_nick_name,'_6'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_7') , concat(in_nick_name,'_7'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_8') , concat(in_nick_name,'_8'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_9') , concat(in_nick_name,'_9'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');
		INSERT INTO `main`.`partner_sub_info` (`id`, `nick_name`, `password`, `partner_idx`, `head_office_idx`, `is_use`) VALUES (concat(in_id,'_10'), concat(in_nick_name,'_10'), '$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.', v_idx, v_idx, 'Y');

	main_default : BEGIN -- 추언 코드없이 들어오는 유저 
	   declare l_high_pt_idx bigint;
       declare l_low_pt_idx bigint;
	   declare l_dist_pt_idx bigint;
	   declare l_shop_pt_idx bigint;
       declare l_high_office_id varchar(64);
       declare l_low_office_id varchar(64);
       declare l_dist_id varchar(64);
       declare l_shop_id varchar(64);
      
	   ##########################영본########################
        set l_high_office_id = concat(in_id,'_default');
		set l_high_pt_idx = create_partner(v_idx
		,l_high_office_id
		,'a'
		,v_idx
		,301
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
        
       ##########################부본########################
	    set l_low_office_id = concat(in_id,'_default');
		set l_low_pt_idx = create_partner(v_idx
		,l_low_office_id
		,'b'
		,l_high_pt_idx
		,401
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		
       ##########################총판########################
		set l_dist_id = concat(in_id,'_default');
		set l_dist_pt_idx = create_partner(v_idx
		,l_dist_id
		,'c'
		,l_low_pt_idx
		,501
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		
       ##########################매장########################
        set l_shop_id = concat(in_id,'_default');
		set l_shop_pt_idx = create_partner(v_idx
		,l_shop_id
		,'d'
		,l_dist_pt_idx
		,601
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'default'
		);
		update member set temp_shop_idx = l_shop_pt_idx where idx = l_high_pt_idx;
    END main_default;
    
    main_default_recommend : BEGIN
	   declare l_high_pt_idx bigint;
       declare l_low_pt_idx bigint;
	   declare l_dist_pt_idx bigint;
	   declare l_shop_pt_idx bigint;
       declare l_high_office_id varchar(64);
       declare l_low_office_id varchar(64);
       declare l_dist_id varchar(64);
       declare l_shop_id varchar(64);
      
	   ##########################영본########################
        set l_high_office_id = concat(in_id,'_default_recommend');
		set l_high_pt_idx = create_partner(v_idx
		,l_high_office_id
		,'a'
		,v_idx
		,301
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
        
       ##########################부본########################
	    set l_low_office_id = concat(in_id,'_default_recommend');
		set l_low_pt_idx = create_partner(v_idx
		,l_low_office_id
		,'b'
		,l_high_pt_idx
		,401
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		
       ##########################총판########################
		set l_dist_id = concat(in_id,'_default_recommend');
		set l_dist_pt_idx = create_partner(v_idx
		,l_dist_id
		,'c'
		,l_low_pt_idx
		,501
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		
       ##########################매장########################
        set l_shop_id = concat(in_id,'_default_recommend');
		set l_shop_pt_idx = create_partner(v_idx
		,l_shop_id
		,'d'
		,l_dist_pt_idx
		,601
		,in_partner_domain 
		,in_password 
		,in_second_password
        ,'recommend'
		);
		update member set temp_shop_idx = l_shop_pt_idx where idx = l_high_pt_idx;
    END main_default_recommend;
	COMMIT;
END main ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `create_recommend` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` PROCEDURE `create_recommend`(

)
main : BEGIN
    DECLARE ret_code INT;
	DECLARE errno INT;
    DECLARE v_txt_error_msg text;
   
    DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
		GET CURRENT DIAGNOSTICS CONDITION 1 errno = MYSQL_ERRNO
		, v_txt_error_msg = MESSAGE_TEXT;
        set ret_code = -1000;
		SELECT ret_code,errno AS MYSQL_ERROR,v_txt_error_msg as MESSAGE_TEXT;
		ROLLBACK;
    END;
	START TRANSACTION;

    main_default_recommend : BEGIN
	   declare l_high_pt_idx bigint;
       declare l_low_pt_idx bigint;
	   declare l_dist_pt_idx bigint;
	   declare l_shop_pt_idx bigint;
       declare l_high_office_id varchar(64);
       declare l_low_office_id varchar(64);
       declare l_dist_id varchar(64);
       declare l_shop_id varchar(64);
      
	   ##########################영본########################
        set l_high_office_id = concat('saga','_default_recommend');
		set l_high_pt_idx = create_partner(13749
		,l_high_office_id
		,'a'
		,13749
		,301
		,'http://18.183.156.18:30004,http://localhost:30004,http://localhost:30000'
		,'$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.' 
		,'$6$saltsalt$1exCt/dOPxcYhFKNrpFEJZM3XdbauNE1U6SSfdUbaG/VkuiiZ9y002RSRJzuNQ03V0IN9WSP0CpiOXuoSRVIU0'
		);
        
       ##########################부본########################
	    set l_low_office_id = concat('saga','_default_recommend');
		set l_low_pt_idx = create_partner(13749
		,l_low_office_id
		,'b'
		,l_high_pt_idx
		,401
		,'http://18.183.156.18:30004,http://localhost:30004,http://localhost:30000' 
		,'$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.' 
		,'$6$saltsalt$1exCt/dOPxcYhFKNrpFEJZM3XdbauNE1U6SSfdUbaG/VkuiiZ9y002RSRJzuNQ03V0IN9WSP0CpiOXuoSRVIU0'
		);
		
       ##########################총판########################
		set l_dist_id = concat('saga','_default_recommend');
		set l_dist_pt_idx = create_partner(13749
		,l_dist_id
		,'c'
		,l_low_pt_idx
		,501
		,'http://18.183.156.18:30004,http://localhost:30004,http://localhost:30000' 
		,'$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.' 
		,'$6$saltsalt$1exCt/dOPxcYhFKNrpFEJZM3XdbauNE1U6SSfdUbaG/VkuiiZ9y002RSRJzuNQ03V0IN9WSP0CpiOXuoSRVIU0'
		);
		
       ##########################매장########################
        set l_shop_id = concat('saga','_default_recommend');
		set l_shop_pt_idx = create_partner(13749
		,l_shop_id
		,'d'
		,l_dist_pt_idx
		,601
		,'http://18.183.156.18:30004,http://localhost:30004,http://localhost:30000' 
		,'$6$saltsalt$/alWecYH7Ry7BmdtYwV3ObFkYwJ96i4zoGSMR09J7xkAoFGB7iwoQytRgpR6rkCCVBVNkvTdkdDjhKYVJ8L2T.' 
		,'$6$saltsalt$1exCt/dOPxcYhFKNrpFEJZM3XdbauNE1U6SSfdUbaG/VkuiiZ9y002RSRJzuNQ03V0IN9WSP0CpiOXuoSRVIU0'
		);
		update member set temp_shop_idx = l_shop_pt_idx where idx = l_high_pt_idx;
    END main_default_recommend;
	COMMIT;
END main ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `create_static_origin` */;
DELIMITER ;;
CREATE DEFINER=`admin`@`%` PROCEDURE `create_static_origin`(
in_head_office_id varchar(45)
)
main : BEGIN
	
    DECLARE ret_code INT;
	DECLARE errno INT;
    DECLARE v_txt_error_msg text;
	declare h_idx bigint;

    DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
		GET CURRENT DIAGNOSTICS CONDITION 1 errno = MYSQL_ERRNO
		, v_txt_error_msg = MESSAGE_TEXT;
        set ret_code = -1000;
		SELECT ret_code,errno AS MYSQL_ERROR,v_txt_error_msg as MESSAGE_TEXT;
		ROLLBACK;
    END;
	START TRANSACTION;
		select member.idx
			into h_idx
		from member 
			left join partner_detail_info on member.idx = partner_detail_info.partner_idx
        where id = in_head_office_id;
        
        
		/*select * from main.static_level_charge_config where partner_idx = h_idx;
		select * from main.static_level_bonus_charge_plus_config where partner_idx = h_idx;
		select * from main.static_level_bonus_charge_plus_detail where partner_idx = h_idx;
		select * from main.static_level_bonus_basic_option_rolling_config where partner_idx = h_idx;
		select * from main.static_level_charge_bonus_option where partner_idx = h_idx;
		select * from main.static_min_max_limit_win_betting_money where partner_idx = h_idx;
		select * from main.static_partner_config_juckjang_data where partner_idx = h_idx;
		select * from main.static_level_event_charge_detail where partner_idx = h_idx;
		select * from main.static_level_auto_level_up_config where partner_idx = h_idx;
		select * from main.static_level_auto_level_up_detail where partner_idx = h_idx;
		select * from main.static_partner_front_rule_set where partner_idx = h_idx;
		select * from main.static_partner_level_rates where partner_idx = h_idx;
		select * from main.static_switch_config where head_office_idx = h_idx;
		select * from main.static_switch_manager where head_office_idx = h_idx;
		select * from main.static_head_office_mini_game where partner_idx = h_idx;

		select * from main.static_head_office_sports where head_office_idx = h_idx;
		select * from main.static_head_office_refund_rate_market where head_office_idx = h_idx;
		select * from main.static_head_office_participants where head_office_idx = h_idx;
		select * from main.static_head_office_markets where head_office_idx = h_idx;
		select * from main.static_head_office_leagues where head_office_idx = h_idx;
		select * from main.static_head_office_config_data where head_office_idx = h_idx;

		-- new add
		select * from main.static_dividend_policy where partner_idx = h_idx;
		select * from main.static_level_account where partner_idx = h_idx;
        select * from main.static_inplay_check_time_score where partner_idx = h_idx;
        
        */

