|
|
|
@@ -95,7 +95,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService |
|
|
|
instance.add(Calendar.DATE, 1); |
|
|
|
int[] array = DateUtils.getDiff(wxPropertyContract.getRentalStartDate(),instance.getTime()); |
|
|
|
result.put("totalPeriodMonth",array[0]); |
|
|
|
result.put("totalPeriodMonth",array[1]); |
|
|
|
result.put("totalPeriodDay",array[1]); |
|
|
|
} |
|
|
|
|
|
|
|
wxPropertyContract.setPrice(wxPropertyContract.getPrice() != null ? wxPropertyContract.getPrice() : 0); |
|
|
|
|