RoleDao.java 450 B

1234567891011121314151617181920212223
  1. package com.zglc.fm.dao;
  2. import com.zglc.fm.entity.RoleEntity;
  3. import org.springframework.stereotype.Repository;
  4. import tk.mybatis.mapper.common.Mapper;
  5. import java.util.List;
  6. /**
  7. * 角色
  8. *
  9. * @author wcf
  10. * @email mnhwa@163.com
  11. * @date 2020-02-14 01:33:53
  12. * @description Refactoring 1st
  13. *
  14. */
  15. @Repository
  16. public interface RoleDao extends Mapper<RoleEntity> {
  17. List<RoleEntity> listAll();
  18. List<RoleEntity> getByName(String name);
  19. }