wrj преди 8 месеца
родител
ревизия
f2a763eec5

+ 0 - 1
nightFragrance-massage/src/main/resources/mapper/massage/TJsDayMapper.xml

@@ -63,7 +63,6 @@
         ORDER BY
             orderNum DESC
         LIMIT 10
-
     </select>
 
 </mapper>

+ 3 - 2
nightFragrance-system/src/main/java/com/ylx/system/service/impl/SysDeptServiceImpl.java

@@ -57,8 +57,9 @@ public class SysDeptServiceImpl implements ISysDeptService
     @Override
     public List<TreeSelect> selectDeptTreeList(SysDept dept)
     {
-        List<SysDept> depts = SpringUtils.getAopProxy(this).selectDeptList(dept);
-        return buildDeptTreeSelect(depts);
+//        List<SysDept> depts = SpringUtils.getAopProxy(this).selectDeptList(dept);
+        List<SysDept> sysDepts = selectDeptList(dept);
+        return buildDeptTreeSelect(sysDepts);
     }
 
     /**

+ 2 - 2
nightFragrance-system/src/main/resources/mapper/system/SysDeptMapper.xml

@@ -42,8 +42,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		<if test="status != null and status != ''">
 			AND status = #{status}
 		</if>
-		<!-- 数据范围过滤 -->
-		${params.dataScope}
+		<!-- 数据范围过滤
+		${params.dataScope}-->
 		order by d.parent_id, d.order_num
     </select>