package me.zhengjie.mapper.db2;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import me.zhengjie.modules.system.pojo.IStore;

@Mapper
public interface IStoreMapper2 {
    /**
     * 查询所有门店
     */
    List<IStore> getAll();

    @Select("SELECT * FROM sys_store WHERE name = #{name}")
    IStore findByName(@Param("name") String name);
}
