From 5936bb07c41c9e948f9f53d82018e9434b4f851a Mon Sep 17 00:00:00 2001 From: luozukai Date: Sat, 18 May 2019 16:16:24 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=90=88=E5=90=8C=E4=BC=98=E5=8C=96][?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0][=E5=AE=8C=E5=96=84=E5=90=88=E5=90=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=9C=80=E6=B1=82]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/service/impl/WxPropertyContractServiceImpl.java | 4 ++-- .../com/iformall/service/impl/WxRentContractServiceImpl.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java index 71ad462c6..97ad0969f 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -94,8 +94,8 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService instance.setTime(wxPropertyContract.getRentalEndDate()); instance.add(Calendar.DATE, 1); int[] array = DateUtils.getDiff(wxPropertyContract.getRentalStartDate(),instance.getTime()); - result.put("rentDiffMonth",array[0]); - result.put("rentDiffDay",array[1]); + result.put("totalPeriodMonth",array[0]); + result.put("totalPeriodMonth",array[1]); } wxPropertyContract.setPrice(wxPropertyContract.getPrice() != null ? wxPropertyContract.getPrice() : 0); diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java index e1d8e86e8..baf4316b4 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -126,8 +126,8 @@ public class WxRentContractServiceImpl implements WxRentContractService { instance.setTime(wxRentContract.getRentalEndDate()); instance.add(Calendar.DATE, 1); int[] array = DateUtils.getDiff(wxRentContract.getRentalStartDate(),instance.getTime()); - result.put("rentDiffMonth",array[0]); - result.put("rentDiffDay",array[1]); + result.put("totalPeriodMonth",array[0]); + result.put("totalPeriodMonth",array[1]); } //商场信息