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