QSP 공통코드 동기화 post -> put 변경

This commit is contained in:
basssy 2024-09-09 17:02:35 +09:00
parent 43ab8e3949
commit 69a2440e90

View File

@ -1,7 +1,7 @@
package com.interplug.qcast.biz.commCode;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
@ -22,7 +22,7 @@ public class CommCodeController {
private final CommCodeService commCodeService;
@Operation(description = "공통코드 COMM_H, COMM_L 정보를 등록/수정 한다.(동기화)")
@PostMapping("/qc-comm-yn-update")
@PutMapping("/qc-comm-yn-update")
@ResponseStatus(HttpStatus.OK)
public CommCodeResponse setQcCommCdYn(@RequestBody CommCodeRequest codeReq) {
CommCodeResponse codeResponse = new CommCodeResponse();