From 6d8a1ab0c24be0b6a25ca748d311d3f1f19690d8 Mon Sep 17 00:00:00 2001 From: luozukai Date: Fri, 1 Mar 2019 17:39:25 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=93=9C=E9=94=A3=E6=B9=BE][=E4=BF=AE?= =?UTF-8?q?=E6=94=B9][=E9=A2=84=E8=B4=A6=E5=8D=95]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxPropertyContractServiceImpl.java | 1 + .../com/iformall/service/impl/WxRentContractServiceImpl.java | 1 + 2 files changed, 2 insertions(+) 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 965514883..a428d9e60 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -219,6 +219,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService record.setCreatetime(date); record.setUpdatetime(date); record.setStatus(EnumRentContractStatus.WAIT_SIGN.getCode()); + record.setApplyStatus(EnumRentContractAppStatus.DEFAULT.getCode()); try { wxPropertyContractMapper.insertSelective(record); } catch (Exception e) { 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 ec04128c7..4386b7800 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -211,6 +211,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { if (count > 0) { return new ResultData(ErrorCode.RENT_CONTRACT_WITH_SHOP_IS_FOUND); } + record.setApplyStatus(EnumRentContractAppStatus.DEFAULT.getCode()); wxRentContractMapper.insertSelective(record); } catch (Exception e) { logger.error("保存租赁合同信息失败,e:" + e.getMessage());