From e510346ae5f3b2fb3af2d72bb32673e01713ad3b Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 31 七月 2023 09:53:30 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/data/TaskMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/data/TaskMapper.xml b/src/main/resources/mapper/data/TaskMapper.xml
index 3b69c8b..55b568d 100644
--- a/src/main/resources/mapper/data/TaskMapper.xml
+++ b/src/main/resources/mapper/data/TaskMapper.xml
@@ -11,6 +11,9 @@
             <if test="status != null">
                 and status = #{status}
             </if>
+            <if test="type != null">
+                and type = #{type}
+            </if>
         </where>
     </select>
 
@@ -25,6 +28,9 @@
             <if test="status != null">
                 and status = #{status}
             </if>
+            <if test="type != null">
+                and type = #{type}
+            </if>
         </where>
         order by a.update_time desc, a.create_time desc
         limit #{limit} offset #{offset}

--
Gitblit v1.9.3