|
@@ -29,7 +29,7 @@ public class CodeTableController {
|
|
|
return this.cmmnClsfCdService.findAll();
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "대분류코드-전체조회(TB_CMMN_CLSF_CD)", response = TbCmmnClsfCdDto.class, responseContainer = "ArrayList")
|
|
|
+ @ApiOperation(value = "대분류코드-전체조회(사용하는 정보만 조회-TB_CMMN_CLSF_CD)", response = TbCmmnClsfCdDto.class, responseContainer = "ArrayList")
|
|
|
@GetMapping(value = "/clsf-cd/list", produces = {"application/json; charset=utf8"})
|
|
|
public List<TbCmmnClsfCdDto> findAllCmmnClsfCdList() {
|
|
|
return this.cmmnClsfCdService.findAllList();
|
|
@@ -76,6 +76,12 @@ public class CodeTableController {
|
|
|
return this.cmmnCdService.findAllByCmmnClsfCd(id);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "소분류코드-개별조회-목록(사용하는 정보만 조회-TB_CMMN_CD)", response = TbCmmnCdDto.class, responseContainer = "ArrayList")
|
|
|
+ @GetMapping(value = "/cmmn-cd/list/{id}", produces = {"application/json; charset=utf8"})
|
|
|
+ public List<TbCmmnCdDto> findByIdCmmnCdList(@PathVariable final String id) {
|
|
|
+ return this.cmmnCdService.findAllByCmmnClsfCdList(id);
|
|
|
+ }
|
|
|
+
|
|
|
/*@ApiOperation(value = "소분류코드-개별조회-단일(TB_CMMN_CD)", response = CmmnCdDto.CmmnCdInfo.class)
|
|
|
@GetMapping(value = "/cmmn-cd/{id}/{sub}", produces = {"application/json; charset=utf8"})
|
|
|
public CmmnCdDto.CmmnCdInfo findByIdCmmnCd(@PathVariable final String id, @PathVariable final String sub) {
|