1. package com.wzy.bootmtp.mapper;
    2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
    3. import com.wzy.bootmtp.pojo.User;
    4. //BaseMapper<T>:中定义好了一些列的CRUD
    5. @Repository
    6. public interface UserMapper extends BaseMapper<User> {
    7. }

    image.png