From 9dfed23b330b14600ecb17ee3f8189dbef7d58cd Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 20 四月 2026 16:51:33 +0800
Subject: [PATCH] 【丽水】(临时接口)修改补偿机制
---
smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml | 60 +++++++++++++++++++++++++++++++++++-------------------------
1 files changed, 35 insertions(+), 25 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml
index 54cb39c..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,
@@ -36,29 +38,31 @@
<select id="selectServiceOutPathList" parameterType="com.smartor.domain.ServiceOutPath"
resultMap="ServiceOutPathResult">
<include refid="selectServiceOutPathVo"/>
- <where>
- 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>
+ 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="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>
- </where>
</select>
<select id="selectServiceOutPathById" parameterType="Long"
@@ -120,6 +124,9 @@
<if test="param5 != null">param5 =
#{param5},
</if>
+ <if test="param6 != null">param6 =
+ #{param6},
+ </if>
<if test="radix != null">radix =
#{radix},
</if>
@@ -151,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