<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.tamguo.admin.dao.SubjectMapper">

	<select id="queryPage" resultType="SubjectEntity">
		SELECT
			s.uid , s.name
		FROM
			tiku_subject s
		<where>
			<if test="name != null and name != ''">
				s.name like #{name}
			</if>
		</where>
	</select>

</mapper>