LineMapper.xml 1001 B

1234567891011121314151617181920212223
  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.gyee.power.fitting.mapper.LineMapper">
  4. <!-- 通用查询映射结果 -->
  5. <resultMap id="BaseResultMap" type="com.gyee.power.fitting.model.Line">
  6. <id column="ID" property="id" />
  7. <result column="CODE" property="code" />
  8. <result column="NAME" property="name" />
  9. <result column="ANAME" property="aname" />
  10. <result column="PROJECTID" property="projectid" />
  11. <result column="ORDERNUM" property="ordernum" />
  12. <result column="CAPACITY" property="capacity" />
  13. <result column="CAPACITYUNIT" property="capacityunit" />
  14. <result column="QUANTITY" property="quantity" />
  15. </resultMap>
  16. <!-- 通用查询结果列 -->
  17. <sql id="Base_Column_List">
  18. ID, CODE, NAME, ANAME, PROJECTID, ORDERNUM, CAPACITY, CAPACITYUNIT, QUANTITY
  19. </sql>
  20. </mapper>