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.
 
 
 

22 lines
613 B

package com.example.web.mapper;
import com.example.web.annotation.DataSource;
import com.example.web.entity.Login;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* @Description: 登录Mapper接口
* @TableName: login
*/
@Mapper
@DataSource("primary")
public interface LoginMapper {
/**
* 根据用户名和工位名查询用户
* @param userName 用户名
* @param projectName 工位名
* @return Login对象
*/
Login selectByUserNameAndProjectName(@Param("userName") String userName, @Param("projectName") String projectName);
}