From da2a873cceac0df9bb4944754d3c1f34ec554047 Mon Sep 17 00:00:00 2001
From: huangzhen <867217663@qq.com>
Date: Tue, 19 Sep 2023 11:08:04 +0800
Subject: [PATCH] 解决Cause: java.sql.SQLSyntaxErrorException: Unknown column ‘search_value’ in ‘field list’报错问题
---
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
index f7fb088..65a88a9 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
@@ -45,7 +45,9 @@
@DataScope(deptAlias = "d")
public List<SysDept> selectDeptList(SysDept dept)
{
- return deptMapper.selectDeptList(dept);
+ List<SysDept> sysDepts = deptMapper.selectDeptList(dept);
+ return sysDepts;
+ //return deptMapper.selectDeptList(dept);
}
/**
--
Gitblit v1.9.2