| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
- <mapper namespace="com.usoftchina.saas.document.mapper.WarehouseMapper">
- <resultMap id="WarehouseResultMapper" type="com.usoftchina.saas.document.entities.Warehouse">
- <id column="wh_id" property="id" jdbcType="INTEGER" />
- <result column="wh_code" property="wh_code" jdbcType="VARCHAR" />
- <result column="wh_type" property="wh_type" jdbcType="VARCHAR" />
- <result column="wh_description" property="wh_description" jdbcType="VARCHAR" />
- <result column="wh_statuscode" property="wh_statuscode" jdbcType="VARCHAR" />
- <result column="wh_status" property="wh_status" jdbcType="TIMESTAMP" />
- <result column="wh_recordid" property="wh_recordid" jdbcType="INTEGER" />
- <result column="wh_recorder" property="wh_recorder" jdbcType="INTEGER" />
- <result column="wh_date" property="wh_date" jdbcType="INTEGER" />
- <result column="companyid" property="companyId" jdbcType="INTEGER" />
- <result column="updatemanid" property="updaterId" jdbcType="INTEGER" />
- <result column="updatedate" property="updateTime" jdbcType="TIMESTAMP" />
- <result column="wh_text1" property="wh_text1" jdbcType="VARCHAR" />
- <result column="wh_text2" property="wh_text2" jdbcType="VARCHAR" />
- <result column="wh_text3" property="wh_text3" jdbcType="VARCHAR" />
- <result column="wh_text4" property="wh_text4" jdbcType="VARCHAR" />
- <result column="wh_text5" property="wh_text5" jdbcType="VARCHAR" />
- </resultMap>
- <select id="callProcedure" parameterMap="paramMap" statementType="CALLABLE">
- CALL SP_COMMITPRODINOUT(?, ?, ?, ?, ?)
- </select>
- <parameterMap id="paramMap" type="java.util.Map">
- <parameter property="inoutNo" jdbcType="VARCHAR" mode="IN" />
- <parameter property="class" jdbcType="VARCHAR" mode="IN" />
- <parameter property="commitid" jdbcType="INTEGER" mode="IN" />
- <parameter property="companyid" jdbcType="INTEGER" mode="IN" />
- <parameter property="result" jdbcType="VARCHAR" mode="OUT" />
- </parameterMap>
- <select id="validPeriod" parameterType="map" resultType="java.lang.Short">
- SELECT IFNULL(PD_STATUS,0) PD_STATUS FROM PERIODSDETAIL WHERE COMPANYID=#{companyId} AND PD_DETNO=#{period}
- </select>
- </mapper>
|