QSP 공통코드 동기화 post -> put 변경
This commit is contained in:
parent
43ab8e3949
commit
69a2440e90
@ -1,7 +1,7 @@
|
|||||||
package com.interplug.qcast.biz.commCode;
|
package com.interplug.qcast.biz.commCode;
|
||||||
|
|
||||||
import org.springframework.http.HttpStatus;
|
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.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
@ -22,7 +22,7 @@ public class CommCodeController {
|
|||||||
private final CommCodeService commCodeService;
|
private final CommCodeService commCodeService;
|
||||||
|
|
||||||
@Operation(description = "공통코드 COMM_H, COMM_L 정보를 등록/수정 한다.(동기화)")
|
@Operation(description = "공통코드 COMM_H, COMM_L 정보를 등록/수정 한다.(동기화)")
|
||||||
@PostMapping("/qc-comm-yn-update")
|
@PutMapping("/qc-comm-yn-update")
|
||||||
@ResponseStatus(HttpStatus.OK)
|
@ResponseStatus(HttpStatus.OK)
|
||||||
public CommCodeResponse setQcCommCdYn(@RequestBody CommCodeRequest codeReq) {
|
public CommCodeResponse setQcCommCdYn(@RequestBody CommCodeRequest codeReq) {
|
||||||
CommCodeResponse codeResponse = new CommCodeResponse();
|
CommCodeResponse codeResponse = new CommCodeResponse();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user