else
filter = String.format("devID=='%s' && addTime>'%s'", carID, lastTime);
List<DeviceUpload> du_list = du_service.getPaginationData(filter, "addTime asc").getResultList();
retJson = new JSONObject();
JSONArray array = new JSONArray();
for (DeviceUpload du : du_list) {
JSONObject duJson = new JSONObject();
duJson.put("addTime", du.getAddTime());
duJson.put("mySerial", du.getMySerial());
duJson.put("blob_key", du.getBlob_key());
duJson.put("serving_url", du.getServing_url());
array.add(duJson);
}
retJson.put("items", array);
return retJson;
}