| | |
| | | + " AND table_name='tb_fbs9100_setparam'"
|
| | | + " AND column_name='BattGroupNum'");
|
| | | if(false == res.next()) {
|
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.BattRtState_Table |
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.FBS9100SetParam_Table |
| | | + " ADD COLUMN `BattGroupNum` INT NOT NULL DEFAULT 0;");
|
| | | }
|
| | | //添加指定的OnlineVolLowAction列
|
| | |
| | | + " AND table_name='tb_fbs9100_setparam'"
|
| | | + " AND column_name='OnlineVolLowAction'");
|
| | | if(false == res.next()) {
|
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.BattRtState_Table |
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.FBS9100SetParam_Table |
| | | + " ADD COLUMN `OnlineVolLowAction` INT NOT NULL DEFAULT 0;");
|
| | | }
|
| | | //添加指定的 DCVolHighLimit 列
|
| | |
| | | + " AND table_name='tb_fbs9100_setparam'"
|
| | | + " AND column_name='DCVolHighLimit'");
|
| | | if(false == res.next()) {
|
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.BattRtState_Table |
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.FBS9100SetParam_Table |
| | | + " ADD COLUMN `DCVolHighLimit` FLOAT NOT NULL DEFAULT 0;");
|
| | | }
|
| | | //添加指定的 ChargeCurrSet 列
|
| | |
| | | + " AND table_name='tb_fbs9100_setparam'"
|
| | | + " AND column_name='ChargeCurrSet'");
|
| | | if(false == res.next()) {
|
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.BattRtState_Table |
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.FBS9100SetParam_Table |
| | | + " ADD COLUMN `ChargeCurrSet` FLOAT NOT NULL DEFAULT 0;");
|
| | | }
|
| | | //添加指定的 MonomerTmp_High 列
|
| | |
| | | + " AND table_name='tb_fbs9100_setparam'"
|
| | | + " AND column_name='MonomerTmp_High'");
|
| | | if(false == res.next()) {
|
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.BattRtState_Table |
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.FBS9100SetParam_Table |
| | | + " ADD COLUMN `MonomerTmp_High` FLOAT NOT NULL DEFAULT 0;");
|
| | | }
|
| | | //添加指定的 AutoTestStartVol 列
|
| | |
| | | + " AND table_name='tb_fbs9100_setparam'"
|
| | | + " AND column_name='AutoTestStartVol'");
|
| | | if(false == res.next()) {
|
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.BattRtState_Table |
| | | sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.FBS9100SetParam_Table |
| | | + " ADD COLUMN `AutoTestStartVol` float NOT NULL DEFAULT 0;");
|
| | | }
|
| | | } catch (SQLException e) {
|