ZhuDongming
2020-04-29 4d7d1d0844b60c28c6c6c55635e3d68b009248bc
src/main/java/com/moral/mapper/RoleMapper.java
@@ -2,18 +2,12 @@
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Role;
import tk.mybatis.mapper.entity.Example;
public interface RoleMapper extends BaseMapper<Role> {
    int updateByPrimaryKey(Role role);
    List<Role> getRoleListByName(@Param("roleName") String roleName);
    List<Role> getRoleList(Example example);