|
|
@@ -88,7 +88,7 @@ public class ReportStatisticsBiActivity extends BaseActivity {
|
|
|
|
|
|
private void initDatas() {
|
|
|
String reportQueryMenuCache = CommonUtil.getSharedPreferences(this,
|
|
|
- mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_QUERY_MENU_CACHE);
|
|
|
+ mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_BI_MENU_CACHE);
|
|
|
if (reportQueryMenuCache != null) {
|
|
|
try {
|
|
|
JSONObject resultObject = new JSONObject(reportQueryMenuCache);
|
|
|
@@ -149,7 +149,7 @@ public class ReportStatisticsBiActivity extends BaseActivity {
|
|
|
|
|
|
String iconText = dataInquiryGirdItemBean.getIconText();
|
|
|
String dataInquiryMenuRecentCache = CommonUtil.getSharedPreferences(ReportStatisticsBiActivity.this,
|
|
|
- mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_QUERY_MENU_RECENT_CACHE);
|
|
|
+ mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_BI_MENU_RECENT_CACHE);
|
|
|
List<DataInquiryGirdItemBean> recentBrowse = new ArrayList<DataInquiryGirdItemBean>();
|
|
|
if (!TextUtils.isEmpty(dataInquiryMenuRecentCache)) {
|
|
|
try {
|
|
|
@@ -169,7 +169,7 @@ public class ReportStatisticsBiActivity extends BaseActivity {
|
|
|
|
|
|
String recentJson = JSON.toJSON(recentBrowse).toString();
|
|
|
CommonUtil.setSharedPreferences(ReportStatisticsBiActivity.this
|
|
|
- , mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_QUERY_MENU_RECENT_CACHE
|
|
|
+ , mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_BI_MENU_RECENT_CACHE
|
|
|
, recentJson);
|
|
|
|
|
|
// mDataInquiryGirdItemBeans.clear();
|
|
|
@@ -261,7 +261,7 @@ public class ReportStatisticsBiActivity extends BaseActivity {
|
|
|
private synchronized void getRecentBrowse() {
|
|
|
try {
|
|
|
String reportRecentMenuRecentCache = CommonUtil.getSharedPreferences(this,
|
|
|
- mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_QUERY_MENU_RECENT_CACHE);
|
|
|
+ mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_BI_MENU_RECENT_CACHE);
|
|
|
if (!TextUtils.isEmpty(reportRecentMenuRecentCache)) {
|
|
|
List<GridMenuReportStatisticsBean> reportStatisticsBeans = mReportStatisticsMenuListAdapter.getObjects();
|
|
|
mDataInquiryGirdItemBeans.clear();
|
|
|
@@ -296,7 +296,7 @@ public class ReportStatisticsBiActivity extends BaseActivity {
|
|
|
|
|
|
String recentJson = JSON.toJSON(resultBrowse).toString();
|
|
|
CommonUtil.setSharedPreferences(ReportStatisticsBiActivity.this
|
|
|
- , mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_QUERY_MENU_RECENT_CACHE
|
|
|
+ , mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_BI_MENU_RECENT_CACHE
|
|
|
, recentJson);
|
|
|
|
|
|
mDataInquiryMenuGridAdapter.notifyDataSetChanged();
|
|
|
@@ -366,7 +366,7 @@ public class ReportStatisticsBiActivity extends BaseActivity {
|
|
|
String result = msg.getData().getString("result");
|
|
|
if (result != null) {
|
|
|
CommonUtil.setSharedPreferences(ReportStatisticsBiActivity.this,
|
|
|
- mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_QUERY_MENU_CACHE,
|
|
|
+ mCurrentUser + mCurrentMaster + com.uas.appworks.datainquiry.Constants.CONSTANT.REPORT_BI_MENU_CACHE,
|
|
|
result);
|
|
|
}
|
|
|
mGridMenuReportStatisticsBeans.clear();
|