|
@@ -3,8 +3,6 @@ package com.its.op.controller.its.database;
|
|
|
import com.its.op.dto.its.atrd.TbAtrdDto;
|
|
|
import com.its.op.dto.its.common.NewIdLongDto;
|
|
|
import com.its.op.dto.its.common.UsageCountDto;
|
|
|
-import com.its.op.dto.its.link.TbLinkParaClctSystDto;
|
|
|
-import com.its.op.dto.its.link.TbLinkParaDetlDto;
|
|
|
import com.its.op.dto.its.link.TbLinkParaStupDto;
|
|
|
import com.its.op.service.its.link.TbLinkParaStupService;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -41,10 +39,8 @@ public class TbLinkParaStupController {
|
|
|
@PostMapping(value = "/{paramId}", produces = {"application/json; charset=utf8"})
|
|
|
public TbLinkParaStupDto mergeInfo(
|
|
|
@PathVariable final Long paramId,
|
|
|
- @RequestBody final TbLinkParaStupDto.TbLinkParaStupUpdReq para,
|
|
|
- @RequestBody final TbLinkParaDetlDto.TbLinkParaDetlUpdReq detl,
|
|
|
- @RequestBody final List<TbLinkParaClctSystDto.TbLinkParaClctSystUpdReq> clcts) {
|
|
|
- return this.service.mergeInfo(paramId, para, detl, clcts);
|
|
|
+ @RequestBody final TbLinkParaStupDto.TbLinkParaStupModReq req) {
|
|
|
+ return this.service.mergeInfo(paramId, req.getPara(), req.getDetl(), req.getClcts());
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "신규 파라미터 ID 조회(TB_LINK_PARA_STUP)", response = NewIdLongDto.class)
|