From 5952b1c90e9d30b6111ecadbf8bc6f3cf8886abe Mon Sep 17 00:00:00 2001
From: G405G <guilongji@outlook.com>
Date: 星期五, 18 十一月 2022 14:01:45 +0800
Subject: [PATCH] !253 过滤器链使用IoUtil.read方法导致request流关闭 * fix-过滤器链使用IoUtil.read方法导致request流关闭

---
 ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java
index 9b00744..0d506bc 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java
@@ -1,6 +1,7 @@
 package com.ruoyi.system.mapper;
 
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.ruoyi.common.constant.UserConstants;
 import com.ruoyi.common.core.domain.entity.SysDictData;
 import com.ruoyi.common.core.mapper.BaseMapperPlus;
 
@@ -16,7 +17,7 @@
     default List<SysDictData> selectDictDataByType(String dictType) {
         return selectList(
             new LambdaQueryWrapper<SysDictData>()
-                .eq(SysDictData::getStatus, "0")
+                .eq(SysDictData::getStatus, UserConstants.DICT_NORMAL)
                 .eq(SysDictData::getDictType, dictType)
                 .orderByAsc(SysDictData::getDictSort));
     }

--
Gitblit v1.9.3