diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysPropertynumController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysPropertynumController.java index 23d8610..c74f50a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysPropertynumController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysPropertynumController.java @@ -276,7 +276,7 @@ public class SysPropertynumController extends BaseController { tdPropertManager.setMinDayTime(minDayTime); tdPropertManager.setMaxDayTime(maxDayTime); tdPropertManager.setSecretsType("1"); - Integer countWx = tdPropertyManagerService.countMessageMonth(tdPropertManager); + Integer countWx = tdPropertyManagerService.countMessageWxMonth(tdPropertManager); if(Objects.isNull(countWx)){ countWx = 0; } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TdPropertyManagerMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TdPropertyManagerMapper.java index aff396f..fdf8272 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TdPropertyManagerMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TdPropertyManagerMapper.java @@ -71,4 +71,6 @@ public interface TdPropertyManagerMapper extends BaseMapper public Integer countSecretsMonth(PropertyManagerDTO propertyManagerDTO); public Integer countDestoryMonth(PropertyManagerDTO propertyManagerDTO); + + public Integer countMessageWxMonth(PropertyManagerDTO propertyManagerDTO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ITdPropertyManagerService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ITdPropertyManagerService.java index cc47f2b..af82df3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ITdPropertyManagerService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ITdPropertyManagerService.java @@ -73,4 +73,7 @@ public interface ITdPropertyManagerService extends IService public Integer countDestoryMonth(PropertyManagerDTO propertyManagerDTO); + + + public Integer countMessageWxMonth(PropertyManagerDTO propertyManagerDTO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TdPropertyManagerServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TdPropertyManagerServiceImpl.java index 2d76f81..9fddfe8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TdPropertyManagerServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TdPropertyManagerServiceImpl.java @@ -113,4 +113,9 @@ public class TdPropertyManagerServiceImpl extends ServiceImpl + + \ No newline at end of file