2
0

AccountingMapper.xml 987 B

123456789101112131415161718192021
  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.AccountingMapper">
  4. <!-- 可根据自己的需求,是否要使用 -->
  5. <resultMap type="com.imed.costaccount.model.Accounting" id="accountingMap">
  6. <result property="id" column="id"/>
  7. <result property="accountingName" column="accounting_name"/>
  8. <result property="accountingCode" column="accounting_code"/>
  9. <result property="accountingType" column="accounting_type"/>
  10. <result property="isBaseCost" column="is_base_cost"/>
  11. <result property="hospId" column="hosp_id"/>
  12. <result property="parentId" column="parent_id"/>
  13. <result property="allParentIds" column="all_parent_ids"/>
  14. <result property="createTime" column="create_time"/>
  15. <result property="deleteTime" column="delete_time"/>
  16. </resultMap>
  17. </mapper>