SysUserMapper.xml 424 B

12345678
  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.cool.bang.modules.mysql.mapper.SysUserMapper">
  4. <select id="selectByOrgId" resultType="com.cool.bang.modules.mysql.domain.User">
  5. select id,real_name as realName from sys_user where org_id = #{orgId} and del_flag = 1
  6. </select>
  7. </mapper>