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 + + +