package com.yunniu.farming.webadmin.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunniu.farming.webadmin.model.Banner;
import com.yunniu.farming.webadmin.model.SysSet;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SysSetDao extends BaseMapper<SysSet> {

	/**
	 * 带参 查询所有列表
	 * @param
	 * @return
	 */
	List<SysSet> selectByParam(SysSet doc);


	@Select(value = {"<script>",
			"SELECT * FROM banner where banner_id = 1",
			"</script>"})
	Banner getBanner();

}