From 119ac63cd3f23afa71be781b8f837b5d68bac966 Mon Sep 17 00:00:00 2001
From: guoshengxiong <1923636941@qq.com>
Date: Wed, 21 Aug 2024 10:31:53 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=81=E4=B9=A6=E7=AD=9B=E9=80=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../xmgl/modules/worker/mapper/xml/WorkerCertificateMapper.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main/java/com/zhgd/xmgl/modules/worker/mapper/xml/WorkerCertificateMapper.xml b/src/main/java/com/zhgd/xmgl/modules/worker/mapper/xml/WorkerCertificateMapper.xml
index 7e4658aee..0abe5a979 100644
--- a/src/main/java/com/zhgd/xmgl/modules/worker/mapper/xml/WorkerCertificateMapper.xml
+++ b/src/main/java/com/zhgd/xmgl/modules/worker/mapper/xml/WorkerCertificateMapper.xml
@@ -8,6 +8,9 @@
(select dictionary_name, id from dictionaries_record WHERE key_name = 'WORKER_CERT') b
ON a.certificate_type = b.id
WHERE a.worker_id = #{workerId}
+
+ and a.certificate_type = #{certificateType}
+
order by a.upload_date