From dbf671285d9217f6ca84ee1e795aa9af386955e3 Mon Sep 17 00:00:00 2001 From: luofl <1442745593@qq.com> Date: 星期四, 03 四月 2025 21:06:02 +0800 Subject: [PATCH] 1.租户数量趋势统计 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/THouseServiceImpl.java | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/THouseServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/THouseServiceImpl.java index 1c0cbbb..768b25a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/THouseServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/THouseServiceImpl.java @@ -54,7 +54,12 @@ tHouse.setLeaseStatus(DictUtils.getDictLabel(DictConstants.DICT_TYPE_LEASE_STATUS,"2")); }else{ - tHouse.setLeaseStatus(DictUtils.getDictLabel(DictConstants.DICT_TYPE_LEASE_STATUS,tHouse.getLeaseStatus())); + if (tHouse.getLeaseStatus().equals("3")){ + tHouse.setLeaseStatus(DictUtils.getDictLabel(DictConstants.DICT_TYPE_LEASE_STATUS,tHouse.getLeaseStatus())); + }else{ + tHouse.setLeaseStatus(DictUtils.getDictLabel(DictConstants.DICT_TYPE_LEASE_STATUS,"1")); + + } } } @@ -73,4 +78,14 @@ pageInfo.setRecords(list); return pageInfo; } + /** + * 获取本季度已出租面积 + * + * @param businessDeptId + * @return + */ + @Override + public Double getRentedArea(String businessDeptId) { + return baseMapper.getRentedArea(businessDeptId); + } } -- Gitblit v1.7.1