|
|
|
@@ -116,7 +116,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
instance.add(Calendar.MONTH,record.getLease()); |
|
|
|
instance.add(Calendar.DAY_OF_MONTH,-1); |
|
|
|
record.setRentalEndDate(instance.getTime()); |
|
|
|
record.setPrice(record.getPrice()*100); |
|
|
|
record.setPrice(record.getPrice()!=null?record.getPrice()*100:0); |
|
|
|
record.setUpdatetime(new Date()); |
|
|
|
try { |
|
|
|
wxRentContractMapper.updateByPrimaryKeySelective(record); |
|
|
|
|