| | |
| | | }
|
| | | return (test_record_count+1);
|
| | | }
|
| | |
|
| | | //手动停止时,如果没有导入完,删除记录
|
| | | public static void delete_UserCancel(MysqlConnPool pool,int BattGoupId,int max_test_record_count) {
|
| | | ArrayList<String> sql_strs = new ArrayList<>();
|
| | | String sql_str_inf = "delete from "+Sql_Mysql.Tb_FboTestData_Inf_Table+" where test_record_count="+max_test_record_count;
|
| | | sql_strs.add(sql_str_inf);
|
| | | String sql_str_id = " delete from "+Sql_Mysql.Tb_FboTestData_Table+BattGoupId+" where test_record_count="+max_test_record_count;
|
| | | sql_strs.add(sql_str_id);
|
| | | Sql_Mysql sql = new Sql_Mysql(pool);
|
| | | sql.makeManualCommit(sql_strs);
|
| | | sql.close_con();
|
| | | } |
| | | //文件导入进度修改
|
| | | public static void updateFBOGressByOneSql(MysqlConnPool pool,int file_sum,int file_block,int battgroupid,int file_downloadNum) {
|
| | | //System.out.println("file_downloadNum:"+file_downloadNum);
|