|
|
|
@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="sapMessage" column="SAP_message" />
|
|
|
|
|
<result property="putDate" column="put_date" />
|
|
|
|
|
<result property="batchNumber" column="batch_number" />
|
|
|
|
|
<result property="attr2" column="attr2" />
|
|
|
|
|
<result property="productDate" column="product_date" />
|
|
|
|
|
<result property="attr3" column="attr3" />
|
|
|
|
|
<result property="attr4" column="attr4" />
|
|
|
|
|
<result property="attr5" column="attr5" />
|
|
|
|
@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectWmsProductPutVo">
|
|
|
|
|
select id, work_order, factory_code, product_order, wh_code, wa_code, wl_code, product_name, product_code, product_sort, specification, unit_of_measure, plan_quantity, put_quantity, status, SAP_status, SAP_proof, SAP_message, put_date, batch_number, attr2, attr3, attr4, attr5, attr6, attr7, attr8, attr9, attr10, create_by, create_time, update_by, update_time from wms_product_put
|
|
|
|
|
select id, work_order, factory_code, product_order, wh_code, wa_code, wl_code, product_name, product_code, product_sort, specification, unit_of_measure, plan_quantity, put_quantity, status, SAP_status, SAP_proof, SAP_message, put_date, batch_number, product_date, attr3, attr4, attr5, attr6, attr7, attr8, attr9, attr10, create_by, create_time, update_by, update_time from wms_product_put
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectWmsProductPutList" parameterType="WmsProductPut" resultMap="WmsProductPutResult">
|
|
|
|
@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="sapMessage != null and sapMessage != ''"> and SAP_message = #{sapMessage}</if>
|
|
|
|
|
<if test="putDate != null "> and put_date = #{putDate}</if>
|
|
|
|
|
<if test="batchNumber != null and batchNumber != ''"> and batch_number = #{batchNumber}</if>
|
|
|
|
|
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
|
|
|
|
|
<if test="productDate != null and productDate != ''"> and product_date = #{productDate}</if>
|
|
|
|
|
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
|
|
|
|
|
<if test="attr4 != null and attr4 != ''"> and attr4 = #{attr4}</if>
|
|
|
|
|
<if test="attr5 != null and attr5 != ''"> and attr5 = #{attr5}</if>
|
|
|
|
@ -86,7 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<select id="selectWmsProductPutByWorkOrder" resultMap="WmsProductPutResult">
|
|
|
|
|
SELECT
|
|
|
|
|
factory_code,product_order,wh_code,wa_code,wl_code,product_name,product_code,product_sort,specification,
|
|
|
|
|
unit_of_measure,plan_quantity,put_quantity,status,SAP_status,SAP_proof,SAP_message,put_date,batch_number,attr2,
|
|
|
|
|
unit_of_measure,plan_quantity,put_quantity,status,SAP_status,SAP_proof,SAP_message,put_date,batch_number,product_date,
|
|
|
|
|
attr3,attr4,attr5,attr6,attr7,attr8,attr9,attr10,create_by,create_time,
|
|
|
|
|
update_by,update_time,id
|
|
|
|
|
FROM
|
|
|
|
@ -118,7 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="sapMessage != null">SAP_message,</if>
|
|
|
|
|
<if test="putDate != null">put_date,</if>
|
|
|
|
|
<if test="batchNumber != null">batch_number,</if>
|
|
|
|
|
<if test="attr2 != null">attr2,</if>
|
|
|
|
|
<if test="productDate != null">product_date,</if>
|
|
|
|
|
<if test="attr3 != null">attr3,</if>
|
|
|
|
|
<if test="attr4 != null">attr4,</if>
|
|
|
|
|
<if test="attr5 != null">attr5,</if>
|
|
|
|
@ -153,7 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="sapMessage != null">#{sapMessage},</if>
|
|
|
|
|
<if test="putDate != null">#{putDate},</if>
|
|
|
|
|
<if test="batchNumber != null">#{batch_number},</if>
|
|
|
|
|
<if test="attr2 != null">#{attr2},</if>
|
|
|
|
|
<if test="productDate != null">#{product_date},</if>
|
|
|
|
|
<if test="attr3 != null">#{attr3},</if>
|
|
|
|
|
<if test="attr4 != null">#{attr4},</if>
|
|
|
|
|
<if test="attr5 != null">#{attr5},</if>
|
|
|
|
@ -191,7 +191,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="sapMessage != null">SAP_message = #{sapMessage},</if>
|
|
|
|
|
<if test="putDate != null">put_date = #{putDate},</if>
|
|
|
|
|
<if test="batchNumber != null">batch_number = #{batchNumber},</if>
|
|
|
|
|
<if test="attr2 != null">attr2 = #{attr2},</if>
|
|
|
|
|
<if test="productDate != null">product_date = #{productDate},</if>
|
|
|
|
|
<if test="attr3 != null">attr3 = #{attr3},</if>
|
|
|
|
|
<if test="attr4 != null">attr4 = #{attr4},</if>
|
|
|
|
|
<if test="attr5 != null">attr5 = #{attr5},</if>
|
|
|
|
|