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 | 3 +++ 1 files changed, 3 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 3f19405..5e4c28c 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PltStationMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PltStationMapper.xml @@ -119,6 +119,9 @@ <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