From 2fe81eab1b653ffd19da3c1876e201d9a10ed6f7 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Sat, 08 Jan 2022 16:33:09 +0800
Subject: [PATCH] 1.登录记录新增修改,页面刷新token 不能算入 2.登录统计接口新增,统计明细查询接口新增

---
 src/main/java/org/springblade/modules/accreditation/controller/AccreditationRecordsController.java |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/springblade/modules/accreditation/controller/AccreditationRecordsController.java b/src/main/java/org/springblade/modules/accreditation/controller/AccreditationRecordsController.java
index 32b4d63..dc1f539 100644
--- a/src/main/java/org/springblade/modules/accreditation/controller/AccreditationRecordsController.java
+++ b/src/main/java/org/springblade/modules/accreditation/controller/AccreditationRecordsController.java
@@ -112,9 +112,17 @@
 	 * @param accreditationRecords 制证记录信息对象
 	 */
 	@PostMapping("/securityApply")
-	@ApiOperation(value = "新增", notes = "传入accreditationRecords")
 	public R securityApply(@RequestBody AccreditationRecordsVo accreditationRecords){
 		return R.data(accreditationRecordsService.securityApply(accreditationRecords));
+	}
+
+	/**
+	 * 批量修改为已制证
+	 * @param accreditationRecords 制证记录信息对象
+	 */
+	@PostMapping("/batchAccreditation")
+	public R batchAccreditation(@RequestBody AccreditationRecordsVo accreditationRecords){
+		return R.data(accreditationRecordsService.batchAccreditation(accreditationRecords));
 	}
 
 
@@ -265,7 +273,7 @@
 	}
 
 	/**
-	 * 导出保安员证信息
+	 * 导出保安员证信息(上岗证)
 	 */
 	@GetMapping("export-security-paper")
 	public void exportSecurityPaper(AccreditationRecordsVo accreditationRecords, HttpServletResponse response) throws IOException {

--
Gitblit v1.9.3