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);
|
}
|