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!=''
相关文章
相关标签/搜索