From 7c264be282c33feedbd4478f7e674ebac8fd55db Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期六, 21 三月 2026 15:39:22 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/WrkMastStaMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/mapper/WrkMastStaMapper.xml b/src/main/resources/mapper/WrkMastStaMapper.xml
index 9250187..f3f9e3c 100644
--- a/src/main/resources/mapper/WrkMastStaMapper.xml
+++ b/src/main/resources/mapper/WrkMastStaMapper.xml
@@ -40,10 +40,10 @@
</select>
<select id="selectByWrkNoPut" resultMap="BaseResultMap">
- select top 1 * from asr_wrk_mast_sta
- where 1=1
- and wrk_no = #{workNo}
- and wrk_sts = 1
+ select top 1 *
+ from asr_wrk_mast_sta WITH (ROWLOCK, READPAST)
+ where wrk_no = #{workNo}
+ and wrk_sts = 1
</select>
<!-- <select id="selectNoInterfere" resultMap="BaseResultMap">-->
--
Gitblit v1.9.1