| | |
| | | }
|
| | |
|
| | | //---------------------------------------------------------------------------------------------//
|
| | | //-------------------------------- 2018-12-12 by lijun ( binf表中添加 charge_curr_max 最大充电电流)------------------------------------// |
| | | res = sqlMysqlQuery("SELECT * FROM information_schema.columns"
|
| | | + " WHERE table_schema='db_battinf'"
|
| | | + " AND table_name='tb_battinf'"
|
| | | + " AND column_name='charge_curr_max'");
|
| | | if(false == res.next()) {
|
| | | sqlMysqlExecute("ALTER TABLE " + BattInf_Table |
| | | + " ADD COLUMN `charge_curr_max` float DEFAULT '20'");
|
| | | }
|
| | | //---------------------------------------------------------------------------------------------//
|
| | |
|
| | |
|
| | | //---------------------------------------------------------------------------------------------//
|