huminmin
2026-05-12 ce1ea9ac3806578719070a463ef7381a0d3c5148
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.ruoyi.production.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.production.bean.vo.ProductionTeamVo;
import com.ruoyi.production.bean.vo.TeamLeaderVo;
import com.ruoyi.production.pojo.ProductionTeamUserRel;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
 
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @since 2026-05-11 11:15:05
 */
@Mapper
public interface ProductionTeamUserRelMapper extends BaseMapper<ProductionTeamUserRel> {
 
    /**
     * 查询所有班组长信息(包含用户名称和班组名称)
     * @return 班组长信息列表
     */
    List<TeamLeaderVo> selectAllLeaders();
 
    /**
     * 根据班组长用户ID查询班组成员列表
     * @param leaderUserId 班组长用户ID
     * @return 班组成员列表
     */
    List<ProductionTeamVo.MemberVo> selectTeamMembersByLeader(Long leaderUserId);
}