修改搜索界面奔溃bug
This commit is contained in:
@ -139,7 +139,7 @@ public class DataCollectionManager {
|
||||
}
|
||||
Map<String, Object> map = new HashMap<String, Object>();
|
||||
map.put("data", data);
|
||||
map.put("createOn", System.currentTimeMillis() / 100);
|
||||
map.put("createdOn", System.currentTimeMillis() / 1000);
|
||||
onEvent(mContext, "click", map);
|
||||
dao.delete(ids);
|
||||
}
|
||||
@ -195,6 +195,10 @@ public class DataCollectionManager {
|
||||
ids.add(dataCollectionEntity.getId());
|
||||
}
|
||||
|
||||
if (ids.size() > 20) {
|
||||
return;
|
||||
}
|
||||
|
||||
ArrayList<Object> params = new ArrayList<Object>();
|
||||
for (String key : map.keySet()) {
|
||||
HashMap<String, Object> hashMap = new HashMap<String, Object>();
|
||||
|
||||
Reference in New Issue
Block a user