package com.zy.asrs.wcs.system.mapper; import com.baomidou.mybatisplus.annotation.InterceptorIgnore; import com.zy.asrs.wcs.system.entity.User; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @Mapper @Repository public interface UserMapper extends BaseMapper { @InterceptorIgnore(tenantLine = "true") User selectByUsername(@Param("username") String username, @Param("hostId") Long hostId); }