充放电一体机FGCD通信程序【二期初版】
whyclxw
2021-09-03 cf826529c32d79e78e5fba86d3e4e1483d424d60
BattMonitor_FGCD-A059NT/src/com/dev/fgcd/comm/FGCD_Task_Thread_SQL.java
@@ -322,7 +322,17 @@
      }
      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);