From 0b3ff378a9faaf9d7a4831b7f0de67378fe0dfea Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 30 五月 2023 12:20:15 +0800
Subject: [PATCH] optimize 统计
---
java110-db/src/main/resources/mapper/community/MaintainanceTaskV1ServiceDaoImplMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/MaintainanceTaskV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/MaintainanceTaskV1ServiceDaoImplMapper.xml
index 2f5651d..a512b3a 100644
--- a/java110-db/src/main/resources/mapper/community/MaintainanceTaskV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/MaintainanceTaskV1ServiceDaoImplMapper.xml
@@ -149,6 +149,9 @@
<if test="mpsId !=null and mpsId != ''">
, t.mps_id= #{mpsId}
</if>
+ <if test="state !=null and state != ''">
+ , t.state= #{state}
+ </if>
where 1=1
<if test="taskId !=null and taskId != ''">
and t.task_id= #{taskId}
--
Gitblit v1.8.0