@Override public void run() { if (dao.saveAffairUpdate(data)) { // 更新本地时间戳 MySharedPreference.save( c, MySharedPreference.LAST_UPDATE_TASK_TIMESTAMP, System.currentTimeMillis() + ""); MessageHandlerManager.getInstance().sendMessage(Constant.SAVE_TASK_SUCCESS, TAG); } else { MessageHandlerManager.getInstance().sendMessage(Constant.SAVE_TASK_FAIL, TAG); } super.run(); }