mirror of
https://git.hmsn.ink/kospo/svcm/api.git
synced 2026-03-19 19:05:20 +09:00
전표 생성 sap 결재 통합
전표 조회 상세 수정 화면 분리
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
PUT http://localhost:8010/api/sap/appr
|
||||
sabun: 15000004
|
||||
sabun: 17131303
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"wkfid": "FI2025900007",
|
||||
"wkfsq": 3,
|
||||
"bname": "15000004",
|
||||
"wkfid": "FI2025900010",
|
||||
"wkfsq": 2,
|
||||
"bname": "17131303",
|
||||
"wkfst": "A"
|
||||
}
|
||||
@@ -3,7 +3,7 @@ sabun: 15000062
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"wkfid": "FI2025900004",
|
||||
"wkfid": "FI2025900010",
|
||||
"apprs": [
|
||||
{
|
||||
"label": "협조",
|
||||
@@ -12,19 +12,19 @@ Content-Type: application/json
|
||||
"lineclsf": "Q",
|
||||
"bname": "15000062",
|
||||
"abscd": "",
|
||||
"grpid": 1
|
||||
"grpid": 2
|
||||
},
|
||||
{
|
||||
"lineclsf": "I",
|
||||
"bname": "15000057",
|
||||
"abscd": "",
|
||||
"grpid": 1
|
||||
"grpid": 2
|
||||
},
|
||||
{
|
||||
"lineclsf": "A",
|
||||
"bname": "15000056",
|
||||
"abscd": "",
|
||||
"grpid": 1
|
||||
"grpid": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -102,25 +102,25 @@ public class SapApprController {
|
||||
// return ResponseEntity.ok(sapService.getDetail(wfkid));
|
||||
// }
|
||||
|
||||
// @Operation(summary = "SAP 결재 저장", description = "임시전표 + sap 결재 저장")
|
||||
// @ApiResponses({
|
||||
// @ApiResponse(description = "Success", responseCode = "200",
|
||||
// content = @Content(mediaType = "application/json",
|
||||
// schema = @Schema(oneOf = {PageResponse.class})
|
||||
// )),
|
||||
// @ApiResponse(description = "Not found", responseCode = "404",
|
||||
// content = @Content(mediaType = "text/plain", schema = @Schema(oneOf =
|
||||
// {String.class}))),
|
||||
// @ApiResponse(description = "Internal Error", responseCode = "500",
|
||||
// content = @Content(mediaType = "application/json", schema = @Schema(oneOf =
|
||||
// {CustomErrorResponse.class })))
|
||||
// })
|
||||
// @PostMapping("/sap/appr")
|
||||
// public ResponseEntity save(
|
||||
// @RequestBody Zwf0011tSaveRequest zwf0011tSaveRequest
|
||||
// ) {
|
||||
// return ResponseEntity.ok(sapService.save(zwf0011tSaveRequest));
|
||||
// }
|
||||
@Operation(summary = "SAP(협조) 결재 저장", description = "sap(협조) 결재 저장")
|
||||
@ApiResponses({
|
||||
@ApiResponse(description = "Success", responseCode = "200",
|
||||
content = @Content(mediaType = "application/json",
|
||||
schema = @Schema(oneOf = {PageResponse.class})
|
||||
)),
|
||||
@ApiResponse(description = "Not found", responseCode = "404",
|
||||
content = @Content(mediaType = "text/plain", schema = @Schema(oneOf =
|
||||
{String.class}))),
|
||||
@ApiResponse(description = "Internal Error", responseCode = "500",
|
||||
content = @Content(mediaType = "application/json", schema = @Schema(oneOf =
|
||||
{CustomErrorResponse.class })))
|
||||
})
|
||||
@PostMapping("/sap/appr")
|
||||
public ResponseEntity save(
|
||||
@RequestBody Zwf0011tSaveRequest zwf0011tSaveRequest
|
||||
) {
|
||||
return ResponseEntity.ok(sapService.save(zwf0011tSaveRequest));
|
||||
}
|
||||
|
||||
@Operation(summary = "SAP 결재상태 변경", description = "sap 결재상태 변경(결재승인 A, 결재반려 S")
|
||||
@ApiResponses({
|
||||
|
||||
Reference in New Issue
Block a user