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

3 months ago
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
*/
3 months ago
@Mapper
@DataSource("primary")
public interface LoginMapper {
/**
* 根据用户名和工位名查询用户
* @param userName 用户名
* @param projectName 工位名
* @return Login对象
*/
Login selectByUserNameAndProjectName(@Param("userName") String userName, @Param("projectName") String projectName);
3 months ago
}