전표 생성 sap 결재 통합

전표 조회 상세 수정 화면 분리
This commit is contained in:
2025-06-03 09:45:21 +09:00
parent 43c3989323
commit 41b3ea1bd5
3 changed files with 27 additions and 27 deletions

View File

@@ -1,10 +1,10 @@
PUT http://localhost:8010/api/sap/appr PUT http://localhost:8010/api/sap/appr
sabun: 15000004 sabun: 17131303
Content-Type: application/json Content-Type: application/json
{ {
"wkfid": "FI2025900007", "wkfid": "FI2025900010",
"wkfsq": 3, "wkfsq": 2,
"bname": "15000004", "bname": "17131303",
"wkfst": "A" "wkfst": "A"
} }

View File

@@ -3,7 +3,7 @@ sabun: 15000062
Content-Type: application/json Content-Type: application/json
{ {
"wkfid": "FI2025900004", "wkfid": "FI2025900010",
"apprs": [ "apprs": [
{ {
"label": "협조", "label": "협조",
@@ -12,19 +12,19 @@ Content-Type: application/json
"lineclsf": "Q", "lineclsf": "Q",
"bname": "15000062", "bname": "15000062",
"abscd": "", "abscd": "",
"grpid": 1 "grpid": 2
}, },
{ {
"lineclsf": "I", "lineclsf": "I",
"bname": "15000057", "bname": "15000057",
"abscd": "", "abscd": "",
"grpid": 1 "grpid": 2
}, },
{ {
"lineclsf": "A", "lineclsf": "A",
"bname": "15000056", "bname": "15000056",
"abscd": "", "abscd": "",
"grpid": 1 "grpid": 2
} }
] ]
} }

View File

@@ -102,25 +102,25 @@ public class SapApprController {
// return ResponseEntity.ok(sapService.getDetail(wfkid)); // return ResponseEntity.ok(sapService.getDetail(wfkid));
// } // }
// @Operation(summary = "SAP 결재 저장", description = "임시전표 + sap 결재 저장") @Operation(summary = "SAP(협조) 결재 저장", description = "sap(협조) 결재 저장")
// @ApiResponses({ @ApiResponses({
// @ApiResponse(description = "Success", responseCode = "200", @ApiResponse(description = "Success", responseCode = "200",
// content = @Content(mediaType = "application/json", content = @Content(mediaType = "application/json",
// schema = @Schema(oneOf = {PageResponse.class}) schema = @Schema(oneOf = {PageResponse.class})
// )), )),
// @ApiResponse(description = "Not found", responseCode = "404", @ApiResponse(description = "Not found", responseCode = "404",
// content = @Content(mediaType = "text/plain", schema = @Schema(oneOf = content = @Content(mediaType = "text/plain", schema = @Schema(oneOf =
// {String.class}))), {String.class}))),
// @ApiResponse(description = "Internal Error", responseCode = "500", @ApiResponse(description = "Internal Error", responseCode = "500",
// content = @Content(mediaType = "application/json", schema = @Schema(oneOf = content = @Content(mediaType = "application/json", schema = @Schema(oneOf =
// {CustomErrorResponse.class }))) {CustomErrorResponse.class })))
// }) })
// @PostMapping("/sap/appr") @PostMapping("/sap/appr")
// public ResponseEntity save( public ResponseEntity save(
// @RequestBody Zwf0011tSaveRequest zwf0011tSaveRequest @RequestBody Zwf0011tSaveRequest zwf0011tSaveRequest
// ) { ) {
// return ResponseEntity.ok(sapService.save(zwf0011tSaveRequest)); return ResponseEntity.ok(sapService.save(zwf0011tSaveRequest));
// } }
@Operation(summary = "SAP 결재상태 변경", description = "sap 결재상태 변경(결재승인 A, 결재반려 S") @Operation(summary = "SAP 결재상태 변경", description = "sap 결재상태 변경(결재승인 A, 결재반려 S")
@ApiResponses({ @ApiResponses({