|
|
|
@ -174,7 +174,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectOdsProcureOrderByID" parameterType="String" resultMap="OdsProcureOrderResult">
|
|
|
|
|
<include refid="selectOdsProcureOrderVo"/>
|
|
|
|
|
where ID = #{ID}
|
|
|
|
|
where opo.ID = #{ID}
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectWMSOdsProcureReturnOrderByID" parameterType="String" resultMap="OdsProcureOrderResult">
|
|
|
|
|
SELECT DISTINCT
|
|
|
|
@ -216,8 +216,8 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectOdsProcureOrderByIDAndSap" parameterType="String" resultMap="OdsProcureOrderResult">
|
|
|
|
|
<include refid="selectOdsProcureOrderVo"/>
|
|
|
|
|
where ID = #{ID}
|
|
|
|
|
and ( Sap_Temp_Status!='1' OR Sap_Temp_Status is NULL)
|
|
|
|
|
where opo.ID = #{ID}
|
|
|
|
|
and ( opo.Sap_Temp_Status!='1' OR opo.Sap_Temp_Status is NULL)
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="insertOdsProcureOrder" parameterType="OdsProcureOrder">
|
|
|
|
|
insert into ods_procure_order
|
|
|
|
|