|
|
@ -48,13 +48,9 @@ public class AppQueryBean {
|
|
|
|
params.put("from", fromDate.toDate());
|
|
|
|
params.put("from", fromDate.toDate());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (end != null) {
|
|
|
|
if (end != null) {
|
|
|
|
/* DateTime toDate = DateTime.parse(end, DateTimeFormat.forPattern("yyyyMMdd")).withZoneRetainFields(DateTimeZone.forTimeZone(TimeZone.getTimeZone(timezone))).plusDays(1).withZone(DateTimeZone.getDefault());
|
|
|
|
DateTime toDate = DateTime.parse(end, DateTimeFormat.forPattern("yyyyMMdd")).withZoneRetainFields(DateTimeZone.forTimeZone(TimeZone.getTimeZone(timezone))).plusDays(1).withZone(DateTimeZone.getDefault());
|
|
|
|
params.put("end", toDate.toDate());
|
|
|
|
params.put("end", toDate.toDate());
|
|
|
|
params.put("to", toDate.toDate());*/
|
|
|
|
params.put("to", toDate.toDate());
|
|
|
|
DateTime toDate = DateTime.parse(end, DateTimeFormat.forPattern("yyyyMMdd"))
|
|
|
|
|
|
|
|
.withZoneRetainFields(DateTimeZone.forTimeZone(TimeZone.getTimeZone(StringUtils.isNotBlank(timezone)?timezone:"Australia/Melbourne"))).withZone(DateTimeZone.getDefault());
|
|
|
|
|
|
|
|
params.put("end", DateUtils.addDays(toDate.toDate(), 1));
|
|
|
|
|
|
|
|
params.put("to", DateUtils.addDays(toDate.toDate(), 1));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (gateway != null && gateway.length > 0) {
|
|
|
|
if (gateway != null && gateway.length > 0) {
|
|
|
|