package org.ta.pddserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.ta.pddserver.entity.DerelictionEntity;
import org.ta.pddserver.entity.FeeQueryEntity;

import java.util.List;

@Mapper
public interface DerelictionMapper extends BaseMapper<DerelictionEntity> {
    // 根据用户名查找用户
    @Select("SELECT * FROM `dereliction` WHERE `username` = #{username};")
    List<DerelictionEntity> selectByUsername(String username);
}
