- <?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.gxzc.zen.sys.dao.TSysUserMapper">
- <select id="findList" resultType="com.gxzc.zen.sys.model.TSysUser">
- SELECT *
- FROM t_sys_user
- <where>
- <if test="cm.account!=null and cm.account!=''">
- and account=#{cm.account}
- </if>
- </where>
- </select>
- </mapper>
|