From 82b8c1133e96d7e4b9af4ddbc6ef7c6fb583aa5e Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期六, 31 八月 2024 10:12:42 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/NodeMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/NodeMapper.xml b/src/main/resources/mapper/NodeMapper.xml
index 544e781..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
--
Gitblit v1.9.1