| | |
| | | * @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)); |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 导出保安员证信息 |
| | | * 导出保安员证信息(上岗证) |
| | | */ |
| | | @GetMapping("export-security-paper") |
| | | public void exportSecurityPaper(AccreditationRecordsVo accreditationRecords, HttpServletResponse response) throws IOException { |