YearPigBaseDao.xml 1001 B

12345678910111213141516171819202122
  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.huimv.apiservice.dao.PigDao">
  4. <!-- 可根据自己的需求,是否要使用 -->
  5. <resultMap type="com.huimv.apiservice.entity.YearPigBaseEntity" id="yearPigBaseMap">
  6. <result property="id" column="id"/>
  7. <result property="eartag" column="eartag"/>
  8. <result property="dayAge" column="day_age"/>
  9. <result property="unitId" column="unit_id"/>
  10. <result property="weight" column="weight"/>
  11. <result property="fosterStatus" column="foster_status"/>
  12. <result property="healthStatus" column="health_status"/>
  13. <result property="whereDidYouGo" column="where_did_you_go"/>
  14. <result property="deleted" column="deleted"/>
  15. <result property="gmtCreate" column="gmt_create"/>
  16. <result property="gmtModified" column="gmt_modified"/>
  17. </resultMap>
  18. </mapper>