| 12345678910111213141516171819 |
- package com.xuekairui.user.mapper;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.xuekairui.user.entity.BusinessLicense;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Select;
- /**
- * 入驻信息Mapper
- */
- @Mapper
- public interface BusinessLicenseMapper extends BaseMapper<BusinessLicense> {
- /**
- * 查询用户的入驻信息
- */
- @Select("SELECT * FROM t_business_license WHERE user_id = #{userId} LIMIT 1")
- BusinessLicense selectByUserId(Long userId);
- }
|