質問編集履歴

1

質問内容のロジックで関係ないロジック部を若干除去

2021/05/31 02:47

投稿

bobo
bobo

スコア45

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  @ResponseStatus(HttpStatus.OK)
28
28
 
29
- public ResponseEntity<Resource> exportExcel(@RequestHeader("roleId") String headerRoleId, @RequestBody @Validated HumanResourceSearchParams params) throws IOException, IllegalArgumentException, IllegalAccessException, AuthException {
29
+ public ResponseEntity<Resource> exportExcel(@RequestBody @Validated MemberSearchParams params) throws IOException, IllegalArgumentException, IllegalAccessException, AuthException {
30
30
 
31
31
 
32
32
 
@@ -54,7 +54,7 @@
54
54
 
55
55
  byte[] excelData = memberService.createExcelData(memberList);
56
56
 
57
- humanResourceService.awsUpload(toMail, fileName, excelData);
57
+ memberService.awsUpload(toMail, fileName, excelData);
58
58
 
59
59
  return "SUCCESS";
60
60