ResponsibilityMapper.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.imed.costaccount.mapper.ResponsibilityMapper">
  4. <!-- 可根据自己的需求,是否要使用 -->
  5. <resultMap type="com.imed.costaccount.model.Responsibility" id="responsibilityMap">
  6. <result property="id" column="id"/>
  7. <result property="responsibilityName" column="responsibility_name"/>
  8. <result property="responsibilityCode" column="responsibility_code"/>
  9. <result property="parentId" column="parent_id"/>
  10. <result property="hospId" column="hosp_id"/>
  11. <result property="isGatherCenter" column="is_gather_center"/>
  12. <result property="responsibilityType" column="responsibility_type"/>
  13. <result property="shareId" column="share_id"/>
  14. <result property="isDefault" column="is_default" />
  15. <result property="shareLevel" column="share_level"/>
  16. <result property="shareName" column="share_name"/>
  17. <result property="createTime" column="create_time"/>
  18. <result property="deleteTime" column="delete_time"/>
  19. </resultMap>
  20. </mapper>