예제 #1
0
  /**
   * 获得未同步的数据
   *
   * @param status
   * @return
   */
  public String getAsyncDataCount(String status) {

    String sql = "select count(*) from user_sign_info where status=? and adminId=? ";
    ActiveAndroid.execSQL(sql, new String[] {status, XiaoToonApplication.getAdminId()});

    return null;
  }
예제 #2
0
 public void clearSignData() {
   ActiveAndroid.execSQL(
       "delete from user_sign_info where status= ?  and adminId =?",
       new String[] {"2", XiaoToonApplication.getAdminId()});
 }