1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- package com.kcim.service.impl;
- import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
- import com.kcim.dao.mapper.UserResponsibilityRightMapper;
- import com.kcim.dao.model.UserResponsibilityRight;
- import com.kcim.dao.repository.UserResponsibilityRightRepository;
- import com.kcim.service.UserResponsibilityRightService;
- import com.kcim.vo.UserResponsibilityRightVO;
- import lombok.AllArgsConstructor;
- import lombok.extern.slf4j.Slf4j;
- import org.springframework.stereotype.Service;
- import java.util.List;
- /**
- *
- * @author Administrator
- */
- @Service("UserResponsibilityRightService")
- @Slf4j
- @AllArgsConstructor
- public class UserResponsibilityRightServiceImpl extends ServiceImpl<UserResponsibilityRightMapper, UserResponsibilityRight> implements UserResponsibilityRightService {
- UserResponsibilityRightRepository repository;
- /**
- * 获取当前用户有权限的责任中心信息
- * @return
- */
- @Override
- public List<UserResponsibilityRight> getUserResponsibilityRight(){
- return repository.getList();
- }
- @Override
- public UserResponsibilityRightVO UserResponsibilityRightList() {
- return null;
- }
- }
|