PoMapper.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.viewticket.mapper.ticket.PoMapper">
  4. <!-- 通用查询映射结果 -->
  5. <resultMap id="BaseResultMap" type="com.gyee.viewticket.model.ticket.Po">
  6. <id column="ID" property="id" />
  7. <result column="PONUM" property="ponum" />
  8. <result column="DESCRIPTION" property="description" />
  9. <result column="ORDERDATE" property="orderdate" />
  10. <result column="REQUIREDDATE" property="requireddate" />
  11. <result column="STATUS" property="status" />
  12. <result column="STATUSDATE" property="statusdate" />
  13. <result column="VENDOR" property="vendor" />
  14. <result column="CONTACT" property="contact" />
  15. <result column="FREIGHTTERMS" property="freightterms" />
  16. <result column="PAYMENTTERMS" property="paymentterms" />
  17. <result column="SHIPVIA" property="shipvia" />
  18. <result column="SHIPTOLABOR" property="shiptolabor" />
  19. <result column="SHIPTOADDR" property="shiptoaddr" />
  20. <result column="BILLTOLABOR" property="billtolabor" />
  21. <result column="BILLTOADDR" property="billtoaddr" />
  22. <result column="TOTALCOST" property="totalcost" />
  23. <result column="CHANGEBY" property="changeby" />
  24. <result column="CHANGEDATE" property="changedate" />
  25. <result column="VENDELIVERYDATE" property="vendeliverydate" />
  26. <result column="RECEIPTS" property="receipts" />
  27. <result column="EXCHANGERATE" property="exchangerate" />
  28. <result column="EXCHANGEDATE" property="exchangedate" />
  29. <result column="TOTALTAX" property="totaltax" />
  30. <result column="STARTDATE" property="startdate" />
  31. <result column="ENDDATE" property="enddate" />
  32. <result column="EBSSENT" property="ebssent" />
  33. <result column="EBSSTATUSDATE" property="ebsstatusdate" />
  34. <result column="POTYPE" property="potype" />
  35. <result column="SUPERVISOR" property="supervisor" />
  36. <result column="ISPROTOCOL" property="isprotocol" />
  37. <result column="ISGOV" property="isgov" />
  38. <result column="POREASON" property="poreason" />
  39. <result column="NOTIFYNUM" property="notifynum" />
  40. <result column="SITENUM" property="sitenum" />
  41. <result column="CORPNUM" property="corpnum" />
  42. </resultMap>
  43. <!-- 通用查询结果列 -->
  44. <sql id="Base_Column_List">
  45. ID, PONUM, DESCRIPTION, ORDERDATE, REQUIREDDATE, STATUS, STATUSDATE, VENDOR, CONTACT, FREIGHTTERMS, PAYMENTTERMS, SHIPVIA, SHIPTOLABOR, SHIPTOADDR, BILLTOLABOR, BILLTOADDR, TOTALCOST, CHANGEBY, CHANGEDATE, VENDELIVERYDATE, RECEIPTS, EXCHANGERATE, EXCHANGEDATE, TOTALTAX, STARTDATE, ENDDATE, EBSSENT, EBSSTATUSDATE, POTYPE, SUPERVISOR, ISPROTOCOL, ISGOV, POREASON, NOTIFYNUM, SITENUM, CORPNUM
  46. </sql>
  47. </mapper>