From 65e656734b7a701b70b1dc09ca00a8930116a25e Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 31 十月 2023 23:03:56 +0800
Subject: [PATCH] 前端代码打包

---
 Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/AttributeMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/AttributeMapper.xml b/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/AttributeMapper.xml
index 15d3763..6aaa387 100644
--- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/AttributeMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/AttributeMapper.xml
@@ -58,4 +58,12 @@
         where attr.oid = #{oid}
     </select>
 
+    <select id="checkIdExist" resultType="java.lang.Long">
+        select COUNT(*) FROM
+        <include refid="tableName"/>
+        where LOWER(ID) = #{id}
+        <if test="oid != null">
+            and OID != #{oid}
+        </if>
+    </select>
 </mapper>

--
Gitblit v1.9.3