From cfa51be0ceb9a04a1e20b4fba3b4f897c60b611b Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期三, 19 六月 2024 09:49:39 +0800
Subject: [PATCH] 工站编码自动生成

---
 pms-parent/pms-global/src/main/resources/mapper/PltStationMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/PltStationMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PltStationMapper.xml
index db8786b..5e4c28c 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PltStationMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PltStationMapper.xml
@@ -114,6 +114,14 @@
             </if>
         </trim>
     </select>
+    <select id="selectAll" resultMap="BaseResultMap">
+        select
+        <include refid="Base_Column_List" />
+        from plt_station where deleted!=1
+    </select>
+    <select id="selectMaxCode" resultType="java.lang.String">
+        select max(code) from plt_station
+    </select>
 
     <update id="deleteLogicById" parameterType="java.lang.Long">
         update plt_station set deleted = 1

--
Gitblit v1.8.0