新增注释

master
星期八 5 years ago
parent d09f54d66c
commit fec9028b50
  1. 2
      src/main/java/com/lq/dao/SysFileDao.java
  2. 12
      src/main/java/com/lq/dao/SysLogDao.java
  3. 2
      src/main/java/com/lq/dao/SysPermissionDao.java
  4. 22
      src/main/java/com/lq/dao/SysResourceDao.java

@ -5,6 +5,8 @@ import com.lq.entity.SysFile;
/** /**
* Created by qi_liang on 2018/3/25. * Created by qi_liang on 2018/3/25.
* 文件管理类
* @author qi
*/ */
public interface SysFileDao extends BaseDao<SysFile> { public interface SysFileDao extends BaseDao<SysFile> {
} }

@ -8,10 +8,22 @@ import java.util.List;
/** /**
* Created by qi on 2017/7/27. * Created by qi on 2017/7/27.
* @author qi
* 系统日志类
*/ */
public interface SysLogDao extends BaseDao<SysLog>{ public interface SysLogDao extends BaseDao<SysLog>{
/**
* 参数分页查询
* @param vo
* @return
*/
List<SysLogVo> findListPage(SysLogVo vo); List<SysLogVo> findListPage(SysLogVo vo);
/**
* 参数统计
* @param vo
* @return
*/
Integer count(SysLogVo vo); Integer count(SysLogVo vo);
} }

@ -9,6 +9,8 @@ import java.util.List;
/** /**
* Created by qi on 2017-11-29. * Created by qi on 2017-11-29.
* @author qi
* 系统权限
*/ */
public interface SysPermissionDao extends BaseDao<SysPermission>{ public interface SysPermissionDao extends BaseDao<SysPermission>{
/** /**

@ -10,6 +10,8 @@ import java.util.Map;
/** /**
* Created by qi on 2017-11-29. * Created by qi on 2017-11-29.
* @author qi
* 菜单资源类
*/ */
public interface SysResourceDao extends BaseDao<SysResource> { public interface SysResourceDao extends BaseDao<SysResource> {
/** /**
@ -19,12 +21,32 @@ public interface SysResourceDao extends BaseDao<SysResource> {
*/ */
List<SysResource> findByParentId(@Param("parentId") Long parentId); List<SysResource> findByParentId(@Param("parentId") Long parentId);
/**
* 参数查询
* @param vo
* @return
*/
List<SysResource> findList(SysResourceVo vo); List<SysResource> findList(SysResourceVo vo);
/**
* 参数查询实体类
* @param vo
* @return
*/
List<SysResourceVo> findListPage(SysResourceVo vo); List<SysResourceVo> findListPage(SysResourceVo vo);
/**
* 参数统计
* @param vo
* @return
*/
Integer count(SysResourceVo vo); Integer count(SysResourceVo vo);
/**
*
* @param map
* @return
*/
List<SysResource> findMenu(Map<String, Object> map); List<SysResource> findMenu(Map<String, Object> map);
} }

Loading…
Cancel
Save