|
|
@ -38,9 +38,6 @@ public class AppQueryBean {
|
|
|
|
|
|
|
|
|
|
|
|
public JSONObject toParams() {
|
|
|
|
public JSONObject toParams() {
|
|
|
|
JSONObject params = new JSONObject();
|
|
|
|
JSONObject params = new JSONObject();
|
|
|
|
if (timezone != null) {
|
|
|
|
|
|
|
|
format.setTimeZone(TimeZone.getTimeZone(timezone));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (begin != null) {
|
|
|
|
if (begin != null) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
params.put("begin", TimeZoneUtils.formatTime(format.parse(begin),"yyyy-MM-dd HH:mm:ss",StringUtils.isNotBlank(timezone)?timezone:"Australia/Melbourne"));
|
|
|
|
params.put("begin", TimeZoneUtils.formatTime(format.parse(begin),"yyyy-MM-dd HH:mm:ss",StringUtils.isNotBlank(timezone)?timezone:"Australia/Melbourne"));
|
|
|
|