From 1bf4f952b35ee870082e0ec0b1026f47121fe2fe Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 04 Jan 2022 15:42:01 +0800
Subject: [PATCH] 按年龄段查询保安员分布情况

---
 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