From dd2d44084572b5660283084673f9a6b5114d88c9 Mon Sep 17 00:00:00 2001 From: qi Date: Tue, 23 Jul 2019 02:53:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9D=83=E9=99=90=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=BB=A3=E7=A0=81=202.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lq/cms/service/impl/SysPermissionServiceImpl.java | 4 ++-- src/main/resources/mybatis/mapping/SysPermissionDao.xml | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/lq/cms/service/impl/SysPermissionServiceImpl.java b/src/main/java/com/lq/cms/service/impl/SysPermissionServiceImpl.java index 1a721c5..b0eacf4 100644 --- a/src/main/java/com/lq/cms/service/impl/SysPermissionServiceImpl.java +++ b/src/main/java/com/lq/cms/service/impl/SysPermissionServiceImpl.java @@ -24,12 +24,12 @@ public class SysPermissionServiceImpl extends BaseServiceImpl imp @Override public List findListPage(SysPermissionVo vo) { - return null; + return sysPermissionDao.findListPage(vo); } @Override public int count(SysPermissionVo vo) { - return 0; + return sysPermissionDao.count(vo); } @Override diff --git a/src/main/resources/mybatis/mapping/SysPermissionDao.xml b/src/main/resources/mybatis/mapping/SysPermissionDao.xml index 867f1bd..d3da927 100644 --- a/src/main/resources/mybatis/mapping/SysPermissionDao.xml +++ b/src/main/resources/mybatis/mapping/SysPermissionDao.xml @@ -20,7 +20,13 @@ WHERE status = 1 - + SELECT + FROM sys_permission + WHERE status = 1 + + +