WarehouseMapper.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132
  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.usoftchina.saas.document.mapper.WarehouseMapper">
  4. <resultMap id="WarehouseResultMapper" type="com.usoftchina.saas.document.po.Warehouse">
  5. <id column="wh_id" property="id" jdbcType="INTEGER" />
  6. <result column="wh_code" property="wh_code" jdbcType="VARCHAR" />
  7. <result column="wh_type" property="wh_type" jdbcType="VARCHAR" />
  8. <result column="wh_description" property="wh_description" jdbcType="VARCHAR" />
  9. <result column="wh_statuscode" property="wh_statuscode" jdbcType="VARCHAR" />
  10. <result column="wh_status" property="wh_status" jdbcType="TIMESTAMP" />
  11. <result column="wh_recordid" property="wh_recordid" jdbcType="INTEGER" />
  12. <result column="wh_recorder" property="wh_recorder" jdbcType="INTEGER" />
  13. <result column="wh_date" property="wh_date" jdbcType="INTEGER" />
  14. <result column="companyid" property="companyId" jdbcType="INTEGER" />
  15. <result column="updatemanid" property="updaterId" jdbcType="INTEGER" />
  16. <result column="updatedate" property="updateTime" jdbcType="TIMESTAMP" />
  17. <result column="wh_text1" property="wh_text1" jdbcType="VARCHAR" />
  18. <result column="wh_text2" property="wh_text2" jdbcType="VARCHAR" />
  19. <result column="wh_text3" property="wh_text3" jdbcType="VARCHAR" />
  20. <result column="wh_text4" property="wh_text4" jdbcType="VARCHAR" />
  21. <result column="wh_text5" property="wh_text5" jdbcType="VARCHAR" />
  22. </resultMap>
  23. <select id="callProcedure" parameterMap="testParamMap" statementType="CALLABLE">
  24. call sp_test(?, ?)
  25. </select>
  26. <parameterMap id="testParamMap" type="java.util.Map">
  27. <parameter property="inParam" jdbcType="VARCHAR" mode="IN" />
  28. <parameter property="outParam" jdbcType="VARCHAR" mode="OUT" />
  29. </parameterMap>
  30. </mapper>