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.FirstBizActionNotifyEntity;
import org.ta.pddserver.entity.OrderCreateEntity;

import java.util.List;

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