|
@@ -43,15 +43,15 @@ public class TbFcltSubjPartOutController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "FMS 시설물 부품 출고 정보 정보변경/생성-개별(TB_FCLT_SUBJ_PART_OUT)", response = TbFcltSubjPartOutDto.class)
|
|
|
- @PostMapping(value = "/{key}", produces = {"application/json; charset=utf8"})
|
|
|
- public TbFcltSubjPartOutDto mergeInfo(@PathVariable("key") TbFcltSubjPartOutKey key,
|
|
|
- @RequestBody @Valid final TbFcltSubjPartOutDto.TbFcltSubjPartOutUpdReq req) {
|
|
|
+ @PostMapping(value = "", produces = {"application/json; charset=utf8"})
|
|
|
+ public TbFcltSubjPartOutDto mergeInfo(@RequestBody @Valid final TbFcltSubjPartOutDto.TbFcltSubjPartOutUpdReq req) {
|
|
|
return this.service.mergeInfo(req);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "FMS 시설물 부품 출고 정보 정보삭제-개별(TB_FCLT_SUBJ_PART_OUT)", response = TbFcltSubjPartOutDto.class)
|
|
|
- @DeleteMapping(value = "/{key}", produces = {"application/json; charset=utf8"})
|
|
|
- public TbFcltSubjPartOutDto deleteDataById(@PathVariable("key") TbFcltSubjPartOutKey key) {
|
|
|
+ @DeleteMapping(value = "/{partNmbr}/{fcltId}/{outDt}", produces = {"application/json; charset=utf8"})
|
|
|
+ public TbFcltSubjPartOutDto deleteDataById(@PathVariable("partNmbr") final Long partNmbr, @PathVariable("fcltId") final String fcltId, @PathVariable("outDt") final String outDt) {
|
|
|
+ TbFcltSubjPartOutKey key = new TbFcltSubjPartOutKey(partNmbr, fcltId, outDt);
|
|
|
return this.service.deleteById(key);
|
|
|
}
|
|
|
|