From 8853292babb2ad94de4a3207966f1e83b767cd2d Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sun, 17 Sep 2023 16:38:34 +0800
Subject: [PATCH] 新增流程节点进程查询接口

---
 src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java b/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java
index 181efb3..92a3413 100644
--- a/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java
+++ b/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java
@@ -26,7 +26,7 @@
 	 * @param recruitment 实体
 	 * @return
 	 */
-	List<AccreditationRecordsVo> selectAccreditationRecordsPage(IPage page, @Param("accreditationRecords") AccreditationRecordsVo recruitment);
+	List<AccreditationRecordsVo> selectAccreditationRecordsPage(IPage<AccreditationRecordsVo> page, @Param("accreditationRecords") AccreditationRecordsVo recruitment);
 
 	/**
 	 * 自定义详情信息
@@ -48,4 +48,23 @@
 	 * @return
 	 */
     List<ExportSecurityBookPaperExcel> exportSecurityBookPaper(@Param("accreditationRecords") AccreditationRecordsVo accreditationRecords);
+
+	/**
+	 * 导出证书制证信息(包含照片)
+	 */
+	List<AccreditationRecordsVo> exportSecurityBookPapers(@Param("accreditationRecords") AccreditationRecordsVo accreditationRecords);
+
+	/**
+	 * 根据用户 id 查询上岗证申请记录
+	 * @param id 用户id
+	 * @return
+	 */
+	int getAccreditationRecordsByUserIdCount(@Param("userId") String id);
+
+	/**
+	 * 根据用户 id 查询当前人员是否有待审核和审核通过的记录数
+	 * @param id 用户id
+	 * @return
+	 */
+	int getAccreditationRecordsByUserIdAuditCount(@Param("userId") String id,@Param("type") Integer type);
 }

--
Gitblit v1.9.3