mirror of
https://git.hmsn.ink/kospo/svcm/api.git
synced 2026-03-20 02:32:22 +09:00
전표 생성 sap 결재 통합
전표 조회 상세 수정 화면 분리
This commit is contained in:
@@ -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