From 49aed349c28d41705101f3611795e77c0fc4639a Mon Sep 17 00:00:00 2001
From: huangh <hshgjzd5@163.com>
Date: Thu, 19 Sep 2024 16:16:47 +0800
Subject: [PATCH] 草稿箱分页条件查询

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftInfoMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftInfoMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftInfoMapper.xml
index 8d8827f..a863c42 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftInfoMapper.xml
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftInfoMapper.xml
@@ -338,12 +338,18 @@
                 <if test="terms.plaintiffs != null and terms.plaintiffs !=''">
                     and plaintiffs = #{terms.plaintiffs}
                 </if>
+                <if test="terms.plaintiffsKey != null and terms.plaintiffsKey !=''">
+                    and plaintiffs like CONCAT('%', #{terms.plaintiffsKey}, '%')
+                </if>
                 <if test="terms.pagents != null and terms.pagents !=''">
                     and pagents = #{terms.pagents}
                 </if>
                 <if test="terms.defendants != null and terms.defendants !=''">
                     and defendants = #{terms.defendants}
                 </if>
+                <if test="terms.defendantsKey != null and terms.defendantsKey !=''">
+                    and defendants like CONCAT('%', #{terms.defendantsKey}, '%')
+                </if>
                 <if test="terms.dagents != null and terms.dagents !=''">
                     and dagents = #{terms.dagents}
                 </if>

--
Gitblit v1.8.0