AllocationMapper.xml 1.5 KB

12345678910111213141516171819202122232425262728
  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.AllocationMapper">
  4. <!-- 可根据自己的需求,是否要使用 -->
  5. <resultMap type="com.imed.costaccount.model.Allocation" id="allocationMap">
  6. <result property="id" column="id"/>
  7. <result property="dateYear" column="date_year"/>
  8. <result property="dateMonth" column="date_month"/>
  9. <result property="levelSort" column="level_sort"/>
  10. <result property="levelName" column="level_name"/>
  11. <result property="hospId" column="hosp_id"/>
  12. <result property="responsibilityCode" column="responsibility_code"/>
  13. <result property="responsibilityName" column="responsibility_name"/>
  14. <result property="accountShareId" column="account_share_id"/>
  15. <result property="isBaseCost" column="is_base_cost"/>
  16. <result property="amount" column="amount"/>
  17. <result property="targetResponsibilityCode" column="target_responsibility_code"/>
  18. <result property="targetResponsibilityName" column="target_responsibility_name"/>
  19. <result property="shareParamCode" column="share_param_code"/>
  20. <result property="shareParamName" column="share_param_name"/>
  21. <result property="createTime" column="create_time"/>
  22. <result property="deleteTime" column="delete_time"/>
  23. </resultMap>
  24. </mapper>