fix App时区

master
luoyang 5 years ago
parent d039c30937
commit b6b2c25154

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.2.50</version>
<version>1.2.51</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -50,8 +50,8 @@ public class AppQueryBean {
if (end != null) {
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", toDate.toDate());
params.put("to", toDate.toDate());
params.put("end", DateUtils.addDays(toDate.toDate(), 1));
params.put("to", DateUtils.addDays(toDate.toDate(), 1));
}
if (gateway != null && gateway.length > 0) {
List<Integer> tradeTypes = new ArrayList<>();

Loading…
Cancel
Save