| | |
| | | import com.fgkj.dto.Batttestdata;
|
| | | import com.fgkj.dto.Batttestdata_inf;
|
| | | import com.fgkj.dto.Batttestdatastop;
|
| | | import com.fgkj.dto.Database_backup;
|
| | | import com.fgkj.dto.Limit;
|
| | | import com.fgkj.dto.Page;
|
| | | import com.fgkj.dto.RoleLimit;
|
| | |
| | | }
|
| | | //删除电池组(多个)
|
| | | public boolean del(Object obj) {
|
| | | {
|
| | | Database_backup baseup=new Database_backup();
|
| | | baseup.setBackup_en(1);
|
| | | baseup.setDatabase_name("db_battinf");
|
| | | baseup.setTable_name("tb_battinf");
|
| | | (new Database_backupImpl()).update(baseup);
|
| | | try {
|
| | | Thread.sleep(1000*3);
|
| | | } catch (InterruptedException e) {
|
| | | // TODO Auto-generated catch block
|
| | | e.printStackTrace();
|
| | | }
|
| | | };//出现删除操作时,先备份数据库表
|
| | | List<BattInf> list=(List<BattInf>) obj;
|
| | | ArrayList sql_str=new ArrayList();
|
| | | List<User_log> listU=new ArrayList<User_log>();//存放user_log
|