TSysUserMapper.xml 496 B

123456789101112131415
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.gxzc.zen.sys.dao.TSysUserMapper">
  4. <select id="findList" resultType="com.gxzc.zen.sys.model.TSysUser">
  5. SELECT *
  6. FROM t_sys_user
  7. <where>
  8. <if test="cm.account!=null and cm.account!=''">
  9. and account=#{cm.account}
  10. </if>
  11. </where>
  12. </select>
  13. </mapper>