huminmin
2026-05-14 804b34fb9d6735c434ff0ee69fe3d2c7c4292298
src/main/java/com/ruoyi/production/mapper/ProductionTeamUserRelMapper.java
@@ -1,8 +1,12 @@
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>
@@ -15,4 +19,16 @@
@Mapper
public interface ProductionTeamUserRelMapper extends BaseMapper<ProductionTeamUserRel> {
    /**
     * 查询所有班组长信息(包含用户名称和班组名称)
     * @return 班组长信息列表
     */
    List<TeamLeaderVo> selectAllLeaders();
    /**
     * 根据班组长用户ID查询班组成员列表
     * @param leaderUserId 班组长用户ID
     * @return 班组成员列表
     */
    List<ProductionTeamVo.MemberVo> selectTeamMembersByLeader(Long leaderUserId);
}