whyclj
2020-12-28 abbe39a2e93415bff7014cf2134a47103f85dbff
Central_Monitor/src/com/data/Comm/Central_Data_Task_SQL.java
@@ -29,6 +29,8 @@
         sql.sqlMysqlExecute(" CREATE DATABASE IF NOT EXISTS " + Sql_Mysql.DB_MW_Motor);
      } catch (SQLException e) {
         sql.logger.error(e.toString(),e);
      } finally {
         sql.close_con();
      }
   }
   
@@ -42,6 +44,8 @@
         sql.sqlMysqlExecute(" CREATE DATABASE IF NOT EXISTS " + Sql_Mysql.DB_MW_Motor_History);
      } catch (SQLException e) {
         sql.logger.error(e.toString(),e);
      } finally {
         sql.close_con();
      }
   }
   
@@ -82,6 +86,8 @@
         sql.sqlMysqlExecute(sql_str);
      } catch (SQLException e) {
         sql.logger.error(e.toString(), e);
      } finally {
         sql.close_con();
      }
   }
   
@@ -108,6 +114,8 @@
         sql.sqlMysqlExecute(sql_str);
      } catch (SQLException e) {
         sql.logger.error(e.toString(), e);
      } finally {
         sql.close_con();
      }
   }
   
@@ -138,6 +146,8 @@
         sql.sqlMysqlExecute(sql_str);
      } catch (SQLException e) {
         sql.logger.error(e.toString(), e);
      } finally {
         sql.close_con();
      }
   }
}