|
|
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.template.mapper.SmartAuthorityMapper;
|
|
|
+import com.template.model.pojo.SmartAuthorGroup;
|
|
|
import com.template.model.pojo.SmartAuthority;
|
|
|
import com.template.model.pojo.SmartAuthority;
|
|
|
import com.template.mapper.SmartAuthorityMapper;
|
|
|
@@ -14,6 +15,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* 服务实现类
|
|
|
@@ -59,4 +62,11 @@ public class SmartAuthorityServiceImpl extends ServiceImpl<SmartAuthorityMapper,
|
|
|
SmartAuthority result = smartAuthorityMapper.selectById(id);
|
|
|
return result;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<SmartAuthority> getAuthorByKey(QueryWrapper<SmartAuthority> queryWrapper) {
|
|
|
+ List<SmartAuthority> result = smartAuthorityMapper.selectList(queryWrapper);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
}
|