|
|
|
@ -1136,39 +1136,11 @@
|
|
|
|
|
<update id="updateWmsOdsProcureReturnOrderByID" parameterType="OdsProcureOrder">
|
|
|
|
|
update wms_ods_procure_return_order
|
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
<if test="siteCode != null">Site_code = #{siteCode},</if>
|
|
|
|
|
<if test="procureCode != null">Produce_Code = #{procureCode},</if>
|
|
|
|
|
<if test="materialCode != null">Material_Code = #{materialCode},</if>
|
|
|
|
|
<if test="materialDesc != null">Material_Desc = #{materialDesc},</if>
|
|
|
|
|
<if test="planDate != null">Plan_Date = #{planDate},</if>
|
|
|
|
|
<if test="planNumber != null">Plan_Number = #{planNumber},</if>
|
|
|
|
|
<if test="Unit != null">Unit = #{Unit},</if>
|
|
|
|
|
|
|
|
|
|
<if test="returnNumber != null">Return_Number = #{returnNumber},</if>
|
|
|
|
|
<if test="locCode != null">Loc_Code = #{locCode},</if>
|
|
|
|
|
<if test="locDesc != null">Loc_Desc = #{locDesc},</if>
|
|
|
|
|
<if test="productionLineDesc != null">Production_Line_Desc = #{productionLineDesc},</if>
|
|
|
|
|
<if test="productionLineCode != null">Production_Line_Code = #{productionLineCode},</if>
|
|
|
|
|
|
|
|
|
|
<if test="orderStatus != null">Order_Status = #{orderStatus},</if>
|
|
|
|
|
<if test="userDefined1 != null">User_Defined1 = #{userDefined1},</if>
|
|
|
|
|
<if test="userDefined2 != null">User_Defined2 = #{userDefined2},</if>
|
|
|
|
|
<if test="userDefined3 != null">User_Defined3 = #{userDefined3},</if>
|
|
|
|
|
<if test="userDefined4 != null">User_Defined4 = #{userDefined4},</if>
|
|
|
|
|
<if test="userDefined5 != null">User_Defined5 = #{userDefined5},</if>
|
|
|
|
|
<if test="userDefined6 != null">User_Defined6 = #{userDefined6},</if>
|
|
|
|
|
<if test="userDefined7 != null">User_Defined7 = #{userDefined7},</if>
|
|
|
|
|
<if test="userDefined8 != null">User_Defined8 = #{userDefined8},</if>
|
|
|
|
|
<if test="userDefined9 != null">User_Defined9 = #{userDefined9},</if>
|
|
|
|
|
<if test="userDefined10 != null">User_Defined10 = #{userDefined10},</if>
|
|
|
|
|
<if test="userDefined11 != null">User_Defined11 = #{userDefined11},</if>
|
|
|
|
|
<if test="supplierCode != null">Supplier_Code = #{supplierCode},</if>
|
|
|
|
|
<if test="supplierName != null">Supplier_Name = #{supplierName},</if>
|
|
|
|
|
<if test="createBy != null">Create_By = #{createBy},</if>
|
|
|
|
|
<if test="createDate != null">Create_Date = #{createDate},</if>
|
|
|
|
|
<if test="lastUpdateBy != null">Last_Update_By = #{lastUpdateBy},</if>
|
|
|
|
|
<if test="lastUpdateDate != null">Last_Update_Date = #{lastUpdateDate},</if>
|
|
|
|
|
<if test="Active != null">Active = #{Active},</if>
|
|
|
|
|
<if test="enterpriseId != null">Enterprise_Id = #{enterpriseId},</if>
|
|
|
|
|
<if test="enterpriseCode != null">Enterprise_Code = #{enterpriseCode},</if>
|
|
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
|
where ID = #{ID}
|
|
|
|
|
</update>
|
|
|
|
|