|
|
|
@ -2,16 +2,16 @@ |
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
|
|
|
<mapper namespace="com.gaotao.modules.finishedProduct.dao.SapDao"> |
|
|
|
<update id="updateOnnmAutoKey"> |
|
|
|
update yr.dbo.onnm set AutoKey = #{sapNo} where ObjectCOde = 15 |
|
|
|
update RXE.dbo.onnm set AutoKey = #{sapNo} where ObjectCOde = 15 |
|
|
|
</update> |
|
|
|
<update id="updateNNM1NextNumber"> |
|
|
|
update yr.dbo.NNM1 set NextNumber = #{sapNo} where ObjectCOde = 15 |
|
|
|
update RXE.dbo.NNM1 set NextNumber = #{sapNo} where ObjectCOde = 15 |
|
|
|
</update> |
|
|
|
<update id="updateODRFStuts"> |
|
|
|
update yr.dbo.ODRF set DocStatus='C' where DocEntry = #{orderNo} |
|
|
|
update RXE.dbo.ODRF set DocStatus='C' where DocEntry = #{orderNo} |
|
|
|
</update> |
|
|
|
<delete id="reomverNullData"> |
|
|
|
DELETE FROM yr.dbo.ODLN where docDate is null and CardCode is null |
|
|
|
DELETE FROM RXE.dbo.ODLN where docDate is null and CardCode is null |
|
|
|
</delete> |
|
|
|
<select id="getCount" resultType="java.lang.Integer"> |
|
|
|
Select count(1) from RoutingHeader where site='1' and PartNo='100001701400' and RevNo='A0' |
|
|
|
@ -19,8 +19,7 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<update id="UpdateODLNMesTranNo"> |
|
|
|
update yr.dbo.ODLN set U_MESTransNo=#{orderNo},draftKey=#{orderNo} where DocEntry = #{sapNo} |
|
|
|
update RXE.dbo.ODLN set U_MESTransNo=#{orderNo},draftKey=#{orderNo} where DocEntry = #{sapNo} |
|
|
|
</update> |
|
|
|
|
|
|
|
|
|
|
|
</mapper> |