From 7b09fb336caddaf07e303c51e96e731f04652971 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期五, 12 三月 2021 09:34:45 +0800
Subject: [PATCH] 1.0.3 pda关联组托-截取单号规则修改(直接取单号)
---
src/main/resources/mapper/LocNormalMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/LocNormalMapper.xml b/src/main/resources/mapper/LocNormalMapper.xml
index e37045b..6246f17 100644
--- a/src/main/resources/mapper/LocNormalMapper.xml
+++ b/src/main/resources/mapper/LocNormalMapper.xml
@@ -30,17 +30,17 @@
<update id="updateLocNormal">
update asr_loc_normal set anfme = #{anfme,jdbcType=DECIMAL},
modi_user = #{modiUser, jdbcType=DECIMAL}, modi_time = #{modiTime, jdbcType=TIMESTAMP}
- where matnr = #{matnr,jdbcType=VARCHAR}
+ where matnr = #{matnr,jdbcType=VARCHAR} and id = #{id, jdbcType=DECIMAL}
</update>
<update id="outLocNormal">
update asr_loc_normal set state = '2',modi_user = #{modiUser, jdbcType=DECIMAL},
- modi_time = #{modiTime, jdbcType=TIMESTAMP} where matnr = #{matnr,jdbcType=VARCHAR}
+ modi_time = #{modiTime, jdbcType=TIMESTAMP} where matnr = #{matnr,jdbcType=VARCHAR} and id = #{id, jdbcType=DECIMAL}
</update>
<update id="removeLocNormal">
update asr_loc_normal set state = '3',modi_user = #{modiUser, jdbcType=DECIMAL},
- modi_time = #{modiTime, jdbcType=TIMESTAMP} where matnr = #{matnr,jdbcType=VARCHAR}
+ modi_time = #{modiTime, jdbcType=TIMESTAMP} where matnr = #{matnr,jdbcType=VARCHAR} and id = #{id, jdbcType=DECIMAL}
</update>
<insert id="locNormalIn">
--
Gitblit v1.9.1