From 0d460265a3d1bf58f0f2144fb2d02b988a7171e4 Mon Sep 17 00:00:00 2001
From: wang..123 <brook_w@163.com>
Date: 星期二, 08 三月 2022 17:08:16 +0800
Subject: [PATCH] 修改小车关联组托不显示信息问题
---
src/main/resources/mapper/LocNormalMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/LocNormalMapper.xml b/src/main/resources/mapper/LocNormalMapper.xml
index 47e5c94..fccd71f 100644
--- a/src/main/resources/mapper/LocNormalMapper.xml
+++ b/src/main/resources/mapper/LocNormalMapper.xml
@@ -63,7 +63,7 @@
BEGIN
<foreach collection="list" item="item" index="index">
update asr_loc_normal set anfme = #{item.anfme,jdbcType=DECIMAL}
- where supplier = #{item.supplier,jdbcType=VARCHAR} and state = '1' and warehouse = #{item.warehouse,jdbcType=VARCHAR}
+ where supplier = #{item.supplier,jdbcType=VARCHAR} and state = '1' and warehouse = #{item.warehouse,jdbcType=VARCHAR} and matnr = #{item.matnr,jdbcType=VARCHAR}
</foreach>
END;
</update>
@@ -125,5 +125,8 @@
<select id="queryLocNorlMatnr" resultMap="BaseResultMap">
select a.*,b.name as warehouseName from asr_loc_normal a left join asr_loc_area b on a.warehouse = b.uuid
where matnr = #{matnr} and state = '1'
+ <if test="mnemonic != null and mnemonic != ''">
+ and mnemonic = #{mnemonic}
+ </if>
</select>
</mapper>
--
Gitblit v1.9.1