| | |
| | | sqlMysqlExecute("ALTER TABLE " + BattInf_Table
|
| | | + " ADD COLUMN `disCurrMax` float NOT NULL DEFAULT 0");
|
| | | }
|
| | | |
| | | |
| | | //-------------------------------- 2018-10-16 by lijun ( binf表中添加 station_phone->基站手机号 )------------------------------------// |
| | | res = sqlMysqlQuery("SELECT * FROM information_schema.columns"
|
| | | + " WHERE table_schema='db_battinf'"
|
| | | + " AND table_name='tb_battinf'"
|
| | | + " AND column_name='station_phone'");
|
| | | if(false == res.next()) {
|
| | | sqlMysqlExecute("ALTER TABLE " + BattInf_Table |
| | | + " ADD COLUMN `station_phone` varchar(32) DEFAULT ''");
|
| | | }
|
| | | |
| | | //---------------------------------------------------------------------------------------------//
|
| | |
|
| | |
|