git-svn-id: http://192.168.1.226/svn/proxy@894 454eff88-639b-444f-9e54-f578c98de674
| | |
| | | public int getSynDataCount(){
|
| | | String sql="select count(*) from company where is_synchron='N' ";
|
| | | Cursor c =MainActivity.getInstance().db.rawQuery(sql,new String[]{});
|
| | | if(c.moveToFirst()){
|
| | | return 1;
|
| | | }
|
| | | return 0;
|
| | | c.moveToFirst();
|
| | | return c.getInt(0);
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | public int getSynDataCount(){
|
| | | String sql="select count(*) from device where is_synchron='N' ";
|
| | | Cursor c =MainActivity.getInstance().db.rawQuery(sql,new String[]{});
|
| | | if(c.moveToFirst()){
|
| | | return 1;
|
| | | }
|
| | | return 0;
|
| | | c.moveToFirst();
|
| | | return c.getInt(0);
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | public int getSynDataCount(){
|
| | | String sql="select count(*) from dictionary where is_synchron='N' ";
|
| | | Cursor c =MainActivity.getInstance().db.rawQuery(sql,new String[]{});
|
| | | if(c.moveToFirst()){
|
| | | return 1;
|
| | | }
|
| | | return 0;
|
| | | c.moveToFirst();
|
| | | return c.getInt(0);
|
| | | }
|
| | |
|
| | | }
|