From 88c82698be802ca60fc46294008db61289bdd055 Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Thu, 7 Nov 2024 16:35:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=80=9A=E9=AB=98=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/system/count/SysNetworknumController.java | 4 +--- .../main/resources/mapper/system/TdPropertyInfoMapper.xml | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysNetworknumController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysNetworknumController.java index e7f1009..dde1bc5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysNetworknumController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysNetworknumController.java @@ -118,9 +118,7 @@ public class SysNetworknumController extends BaseController { @PostMapping("/countInfo") @ResponseBody public AjaxResult countInfo() { - SysDictData sysDictData = new SysDictData(); - sysDictData.setDictType("sys_file_miji"); - List smType = dictDataService.selectDictDataList(sysDictData); + List smType = dictDataService.selectDictDataByType("sys_file_miji"); List list = smType.stream().map(SysDictData::getDictLabel).collect(Collectors.toList()); List yAxisData = new ArrayList<>(); smType.forEach(xAxis -> { diff --git a/ruoyi-system/src/main/resources/mapper/system/TdPropertyInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TdPropertyInfoMapper.xml index b4a254e..e29003c 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TdPropertyInfoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TdPropertyInfoMapper.xml @@ -203,14 +203,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"