You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
549 B

package com.example.web.mapper;
import com.example.web.annotation.DataSource;
import com.example.web.entity.Personnel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* @Description: 员工信息Mapper接口
* @TableName: personnel
*/
@Mapper
@DataSource("primary")
public interface PersonnelMapper {
/**
* 根据负责人ID查询员工信息
* @param managerId 负责人ID
* @return Personnel对象
*/
Personnel selectByManagerId(@Param("managerId") String managerId);
}