Failed commit: Default
git-svn-id: http://192.168.1.226/svn/proxy@891 454eff88-639b-444f-9e54-f578c98de674
| | |
| | | }
|
| | |
|
| | | //删除已上传给你服务器的数据
|
| | | public void delCompanyList(String deviceCompanyId){
|
| | | String sql="delete from company where is_synchron='N' and device_company_id="+Integer.parseInt(deviceCompanyId);
|
| | | public void delCompanyList(){
|
| | | String sql="delete from company where is_synchron='N'";
|
| | | MainActivity.getInstance().db.execSQL(sql);
|
| | | }
|
| | |
|
| | |
| | |
|
| | |
|
| | | //删除已经上传到服务器的同步数据
|
| | | public void delDevice(String deviceCompanyId){
|
| | | String sql="delete from device where is_synchron='N' and device_company_id="+Integer.parseInt(deviceCompanyId);
|
| | | public void delDevice(){
|
| | | String sql="delete from device where is_synchron='N'";
|
| | | MainActivity.getInstance().db.execSQL(sql);
|
| | |
|
| | | }
|
| | |
| | | }
|
| | |
|
| | | //删除已经上传到服务器的数据
|
| | | public void delDictionary(String deviceCompanyId){
|
| | | String sql="delete from dictionary where is_synchron='N' and device_company_id="+Integer.parseInt(deviceCompanyId);
|
| | | public void delDictionary(){
|
| | | String sql="delete from dictionary where is_synchron='N'";
|
| | | MainActivity.getInstance().db.execSQL(sql);
|
| | |
|
| | | }
|