SysDeptMapper.xml 1.2 KB

123456789101112131415161718192021222324
  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.usky.oa.mapper.SysDeptMapper">
  4. <!-- 通用查询映射结果 -->
  5. <resultMap id="BaseResultMap" type="com.usky.oa.domain.SysDept">
  6. <id column="dept_id" property="deptId" />
  7. <result column="parent_id" property="parentId" />
  8. <result column="ancestors" property="ancestors" />
  9. <result column="dept_name" property="deptName" />
  10. <result column="order_num" property="orderNum" />
  11. <result column="leader" property="leader" />
  12. <result column="phone" property="phone" />
  13. <result column="email" property="email" />
  14. <result column="status" property="status" />
  15. <result column="del_flag" property="delFlag" />
  16. <result column="create_by" property="createBy" />
  17. <result column="create_time" property="createTime" />
  18. <result column="update_by" property="updateBy" />
  19. <result column="update_time" property="updateTime" />
  20. <result column="tenant_id" property="tenantId" />
  21. </resultMap>
  22. </mapper>