<select id="selectBranchEmpList" parameterType="com.diploma.entity.person.Employee"
resultMap="employeeResultMap">
SELECT * from employee e,position p where p.poId=e.poId and bId=#{bid}
<if test="ename!=null and ename!=''">
and ename like'%${ename}%'
</if>
</select>
mybatis模糊查询
最新推荐文章于 2022-05-20 02:06:48 发布