wms部分代码修改

master
mengjiao 9 months ago
parent b9932e8b4c
commit 2884d55e73

@ -214,6 +214,6 @@
where ID=#{ID} where ID=#{ID}
</update> </update>
<update id="updateOdsRawStorageNews"> update ods_raw_storage_news set storage_amount =storage_amount- #{realityNumber}, <update id="updateOdsRawStorageNews"> update ods_raw_storage_news set storage_amount =storage_amount- #{realityNumber},
gmt_modified = now() gmt_modified = getdate()
where material_code=#{materialCode} AND wl_code=#{wlCode} </update> where material_code=#{materialCode} AND wl_code=#{wlCode} </update>
</mapper> </mapper>

@ -250,7 +250,7 @@
update wms_ods_em_storage_news update wms_ods_em_storage_news
set set
storage_amount = IFNULL(storage_amount, 0) - #{amount}, storage_amount = IFNULL(storage_amount, 0) - #{amount},
gmt_modified=now() gmt_modified=getdate()
where wh_code=#{whCode} and wl_code=#{wlCode} and material_code=#{materialCode} where wh_code=#{whCode} and wl_code=#{wlCode} and material_code=#{materialCode}
</update> </update>
<select id="selectWmsOdsEmStorageNewsByWlCode" resultMap="WmsOdsEmStorageNewsResult"> <select id="selectWmsOdsEmStorageNewsByWlCode" resultMap="WmsOdsEmStorageNewsResult">

@ -235,7 +235,7 @@
set set
Order_Status = #{orderStatus}, Order_Status = #{orderStatus},
Reality_Number=#{realityNumber}, Reality_Number=#{realityNumber},
Last_Update_Date = now() Last_Update_Date = getdate()
where Order_Code=#{orderCode} where Order_Code=#{orderCode}
</update> </update>
<select id="selectProOrderWorkorder" resultType="com.op.wms.domain.ProOrderWorkorder"> <select id="selectProOrderWorkorder" resultType="com.op.wms.domain.ProOrderWorkorder">

Loading…
Cancel
Save