From a75b2d52ab0dcdb180705727dd2176bc5094d3a9 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期五, 12 三月 2021 09:26:24 +0800
Subject: [PATCH] 1.0.3 优化平仓管理,增加id主键传入,出库权限判断,增加出库和移除确认弹窗
---
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