From 37dd4c15cc5a146a803295f4dd2b21911b7faa0f Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 20 四月 2026 10:19:14 +0800
Subject: [PATCH] 获取subid
---
smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml | 57 ++++++++++++++++++++++++++++++++++-----------------------
1 files changed, 34 insertions(+), 23 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml
index 45f96c6..0da8b03 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml
@@ -10,6 +10,7 @@
<result property="param2" column="param2"/>
<result property="param3" column="param3"/>
<result property="param5" column="param5"/>
+ <result property="param6" column="param6"/>
<result property="createTime" column="create_time"/>
<result property="updateTime" column="update_time"/>
<result property="delFlag" column="del_flag"/>
@@ -24,6 +25,7 @@
param2,
param3,
param5,
+ param6,
create_time,
update_time,
radix,
@@ -37,26 +39,29 @@
resultMap="ServiceOutPathResult">
<include refid="selectServiceOutPathVo"/>
where 1=1
- and del_flag = 0
- and orgid is null
- <if test="param1 != null ">
- and param1 = #{param1}
- </if>
- <if test="param2 != null ">
- and param2 = #{param2}
- </if>
- <if test="param3 != null and param3 != ''">
- and param3 = #{param3}
- </if>
- <if test="param5 != null and param5 != ''">
- and param5 = #{param5}
- </if>
- <if test="createTime != null">
- and create_time = #{createTime}
- </if>
- <if test="radix != null and radix != ''">
- and radix=#{radix}
- </if>
+ and del_flag = 0
+ and orgid is null
+ <if test="param1 != null ">
+ and param1 = #{param1}
+ </if>
+ <if test="param2 != null ">
+ and param2 = #{param2}
+ </if>
+ <if test="param3 != null and param3 != ''">
+ and param3 = #{param3}
+ </if>
+ <if test="param5 != null and param5 != ''">
+ and param5 = #{param5}
+ </if>
+ <if test="param6 != null and param6 != ''">
+ and param6 = #{param6}
+ </if>
+ <if test="createTime != null">
+ and create_time = #{createTime}
+ </if>
+ <if test="radix != null and radix != ''">
+ and radix=#{radix}
+ </if>
</select>
@@ -119,6 +124,9 @@
<if test="param5 != null">param5 =
#{param5},
</if>
+ <if test="param6 != null">param6 =
+ #{param6},
+ </if>
<if test="radix != null">radix =
#{radix},
</if>
@@ -150,9 +158,12 @@
#{id}
</foreach>
</update>
- <select id="selectAutoId" resultType="Integer" >
- SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES
- WHERE TABLE_NAME = 'service_out_path' AND table_schema = DATABASE() and onorgid
+ <select id="selectAutoId" resultType="Integer">
+ SELECT AUTO_INCREMENT
+ FROM INFORMATION_SCHEMA.TABLES
+ WHERE TABLE_NAME = 'service_out_path'
+ AND table_schema = DATABASE()
+ and onorgid
</select>
</mapper>
--
Gitblit v1.9.3