fix app boolean int

master
luoyang 5 years ago
parent 370ea700ea
commit 85e0ae4a50

@ -9,7 +9,7 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>1.3.73</version> <version>1.3.74</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.8.0</jib-maven-plugin.version> <jib-maven-plugin.version>1.8.0</jib-maven-plugin.version>

@ -985,6 +985,7 @@ public class RetailAppServiceImp implements RetailAppService {
TimeZoneUtils.switchTimeZone(orders, query.getTimezone(), "create_time", "transaction_time", "confirm_time"); TimeZoneUtils.switchTimeZone(orders, query.getTimezone(), "create_time", "transaction_time", "confirm_time");
ArrayList<String> dateContains = new ArrayList<>(); ArrayList<String> dateContains = new ArrayList<>();
for (JSONObject order : orders) { for (JSONObject order : orders) {
order.put("geek_apply_deduction", order.getBooleanValue("geek_apply_deduction"));
Calendar calendar = (Calendar) order.get("transaction_time"); Calendar calendar = (Calendar) order.get("transaction_time");
if (timezone != null) { if (timezone != null) {
calendar.setTimeZone(TimeZone.getTimeZone(timezone)); calendar.setTimeZone(TimeZone.getTimeZone(timezone));

Loading…
Cancel
Save