mybatis的動態SQL查詢語句

<select id="getPerson" resultType="com.lzj.bean.Employees">get select * from tbl_employeesast <where>test <if test="id!=null">email id=#{id} andselect </if>im <if test="lastName!=null and lastName!=''
相關文章
相關標籤/搜索