From bfd210439b6606084c67bb23bf0410c4c704c30f Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Sat, 07 Sep 2024 15:10:29 +0800
Subject: [PATCH] AI相关接口修正

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml
index b157a32..25b9fad 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml
@@ -224,6 +224,12 @@
     <sql id="where-part">
         <if test="terms != null">
             <where>
+                <if test="terms.ids != null and terms.ids.size > 0">
+                    and id in
+                    <foreach collection="terms.id" item="terms.ids" index="index" open="(" separator="," close=")">
+                        #{terms.id}
+                    </foreach>
+                </if>
                 <if test="terms.id != null and terms.id !=''">
                     and id = #{terms.id}
                 </if>
@@ -395,6 +401,12 @@
                 <if test="terms.statusName != null and terms.statusName !=''">
                     and status_name = #{terms.statusName}
                 </if>
+                <if test="terms.processList != null and terms.processList.size > 0">
+                    and process in
+                    <foreach collection="terms.process" item="terms.processList" index="index" open="(" separator="," close=")">
+                        #{terms.process}
+                    </foreach>
+                </if>
                 <if test="terms.process != null and terms.process !=''">
                     and process = #{terms.process}
                 </if>
@@ -414,7 +426,7 @@
                     and want_user_name = #{terms.wantUserName}
                 </if>
                 <if test="terms.deleteStatus = null and terms.deleteStatus =''">
-                    and delete_status = '0'
+                    and delete_status = 0
                 </if>
                 <if test="terms.deleteStatus != null and terms.deleteStatus !=''">
                     and delete_status = #{terms.deleteStatus}
@@ -499,4 +511,5 @@
         limit #{page.offset}, #{page.size}
     </select>
 
+
 </mapper> 
\ No newline at end of file

--
Gitblit v1.8.0