From ec23ec3d3dc4ec1ba7d79ba4f46ae2c31d5a16a9 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 07 一月 2026 10:49:10 +0800
Subject: [PATCH] 【市一】调整mapper获取ordid

---
 smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml
index 2a72f0d..1b1720e 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml
@@ -56,7 +56,8 @@
     <select id="selectServiceSubtaskRecordList" parameterType="com.smartor.domain.ServiceSubtaskRecord"
             resultMap="ServiceSubtaskRecordResult">
         <include refid="selectServiceSubtaskRecordVo"/>
-        <where>
+        WHERE 1=1
+
             <if test="taskid != null  and taskid != ''">and taskid = #{taskid}</if>
             <if test="subtaskId != null ">and subtask_id = #{subtaskId}</if>
             <if test="uuid != null  and uuid != ''">and uuid = #{uuid}</if>
@@ -72,7 +73,7 @@
             <if test="pid != null ">and pid = #{pid}</if>
             <if test="guid != null  and guid != ''">and guid = #{guid}</if>
             <if test="remark != null  and remark != ''">and remark = #{remark}</if>
-        </where>
+        
     </select>
 
     <select id="selectServiceSubtaskRecordById" parameterType="Long" resultMap="ServiceSubtaskRecordResult">

--
Gitblit v1.9.3