From dd99cece42b563eb72d1651affe0d382c511b624 Mon Sep 17 00:00:00 2001
From: yang_shj <1069818635@QQ.com>
Date: Thu, 20 Jul 2023 13:54:43 +0800
Subject: [PATCH] =?UTF-8?q?#=E9=A3=8E=E7=94=B5=E9=A9=BE=E9=A9=B6=E8=88=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../access/mapper/OperAccessTaskMapper.xml | 14 +++++++++-----
.../access/service/impl/AccessPlanV4ServiceImpl.java | 19 ++++++++++++-------
.../access/service/impl/AccessTaskV4ServiceImpl.java | 4 ++++
.../service/impl/OperAccessTaskServiceImpl.java | 1 -
.../main/service/impl/HydropowerServiceImpl.java | 2 +-
.../main/service/impl/WindHomeServiceImpl.java | 2 +-
6 files changed, 27 insertions(+), 15 deletions(-)
diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml
index cd1a58f..640690d 100644
--- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml
+++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml
@@ -54,10 +54,14 @@
on t.plan_id = p.id
WHERE
t.IS_DELETED =0
- and t.status != 4
-
- and t.id = #{req.id}
-
+
+
+ and t.status = #{req.status}
+
+
+ and t.status != 4
+
+
AND t.`CODE` LIKE CONCAT('%',#{req.code},'%')
@@ -85,7 +89,7 @@
#{item}
- ORDER BY t.ID DESC
+ ORDER BY t.create_time DESC