| | |
| | | package com.ruoyi.production.service.impl;
|
| | |
|
| | | import com.ruoyi.production.pojo.ProductionTeamUserRel;
|
| | | import com.ruoyi.production.bean.vo.ProductionTeamVo;
|
| | | import com.ruoyi.production.bean.vo.TeamLeaderVo;
|
| | | import com.ruoyi.production.mapper.ProductionTeamUserRelMapper;
|
| | | import com.ruoyi.production.pojo.ProductionTeamUserRel;
|
| | | import com.ruoyi.production.service.ProductionTeamUserRelService;
|
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
| | | import lombok.RequiredArgsConstructor;
|
| | | import lombok.AllArgsConstructor;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | /**
|
| | | * <p>
|
| | |
| | | * @author 芯导软件(江苏)有限公司
|
| | | * @since 2026-05-11 11:15:05
|
| | | */
|
| | | @AllArgsConstructor
|
| | | @Service
|
| | | @RequiredArgsConstructor
|
| | | public class ProductionTeamUserRelServiceImpl extends ServiceImpl<ProductionTeamUserRelMapper, ProductionTeamUserRel> implements ProductionTeamUserRelService {
|
| | |
|
| | | @Override
|
| | | public List<TeamLeaderVo> listAllLeaders() {
|
| | | return baseMapper.selectAllLeaders();
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<ProductionTeamVo.MemberVo> listTeamMembersByLeader(Long leaderUserId) {
|
| | | return baseMapper.selectTeamMembersByLeader(leaderUserId);
|
| | | }
|
| | | }
|