From d9aab59e3d4c8688eaf00c0d98f6926a218ff57f Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 28 四月 2025 15:28:11 +0800
Subject: [PATCH] 拣货单出库完成,但是库存没减,日志埋点
---
src/main/resources/mapper/NodeMapper.xml | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/NodeMapper.xml b/src/main/resources/mapper/NodeMapper.xml
index ac96844..e9acdee 100644
--- a/src/main/resources/mapper/NodeMapper.xml
+++ b/src/main/resources/mapper/NodeMapper.xml
@@ -49,6 +49,13 @@
and mld.update_time between #{startTime} and #{endTime}
</if>
</sql>
+ <update id="updateStockFreeze">
+ update man_node
+ set status = #{status}
+ , update_time = getdate()
+ where 1=1
+ and name = #{name}
+ </update>
<select id="selectByUuid" resultMap="BaseResultMap">
select * from man_node where 1=1 and uuid=#{uuid} and host_id = #{hostId} and status = 1
@@ -82,5 +89,13 @@
AND (CHARINDEX(','+#{tag_id}+',', ','+mt.path+',') > 0 OR mt.id = #{tag_id})
<include refid="nodeCondition"></include>
</select>
+ <select id="getRommendLoc" resultType="java.lang.String">
+ select name from man_node
+ where level = 3
+ and (row1 >=#{rowBeg} and row1 <= #{rowEnd})
+ and (bay1 >=#{bayBeg} and bay1 <= #{bayEnd})
+ and (lev1 >=#{levBeg} and lev1 <= #{levEnd})
+
+ </select>
</mapper>
--
Gitblit v1.9.1