fix: 미사용 코드 제거

main
Jonguk. Lim 3 months ago
parent 531ee45ffc
commit a9078897a4

@ -7,7 +7,6 @@ import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import org.springframework.context.annotation.Conditional;
import kr.xit.biz.ccn.model.ChuncheonSndngResultDTO;
import kr.xit.biz.ens.model.cmm.CmmEnsFileInfDTO;
import kr.xit.biz.ens.model.cmm.TmplatManage;
import kr.xit.biz.ens.model.cntc.CntcDTO;
import kr.xit.core.spring.config.support.ProfileConditionOfChuncheon;
@ -33,7 +32,6 @@ public interface IBizChuncheonMapper {
Optional<TmplatManage> selectDeptInfoByTmplId(final String tmplatId);
int insertCntcSndngMst(CntcDTO.SndngMst dto);
int insertCntcSndngDtl(CntcDTO.SndngDtl dto);
int insertCi(CmmEnsFileInfDTO.FmcInfExcelRslt dto);
int insertPostPlusJson(CntcDTO.PostPlusJson dto);
Optional<ChuncheonSndngResultDTO.RsltChuncheonResMstData> selectSndngResultMaster(final ChuncheonSndngResultDTO.RsltChuncheonRequest dto);

@ -3,7 +3,6 @@ package kr.xit.biz.ccn.service;
import java.util.List;
import kr.xit.biz.ccn.model.ChuncheonSndngResultDTO;
import kr.xit.biz.ens.model.cmm.CmmEnsFileInfDTO.FmcExcelUpload;
import kr.xit.biz.ens.model.cntc.CntcDTO;
/**
@ -22,8 +21,6 @@ import kr.xit.biz.ens.model.cntc.CntcDTO;
* </pre>
*/
public interface IBizChuncheonService {
String fmcExcelUpload(final FmcExcelUpload fileReq);
ChuncheonSndngResultDTO.RsltChuncheonResMstData findSndngResultMaster(final ChuncheonSndngResultDTO.RsltChuncheonRequest dto);
List<ChuncheonSndngResultDTO.RsltChuncheonResDtlData> findSndngResultDetails(final ChuncheonSndngResultDTO.RsltChuncheonRequest dto);

@ -2,7 +2,6 @@ package kr.xit.biz.ccn.web;
import org.springframework.context.annotation.Conditional;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@ -12,7 +11,6 @@ import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import kr.xit.biz.ccn.model.ChuncheonSndngResultDTO;
import kr.xit.biz.ccn.service.IBizChuncheonService;
import kr.xit.biz.ens.model.cmm.CmmEnsFileInfDTO.FmcExcelUpload;
import kr.xit.biz.ens.model.cntc.CntcDTO;
import kr.xit.core.model.ApiResponseDTO;
import kr.xit.core.model.IApiResponse;
@ -45,18 +43,6 @@ public class BizChuncheonController {
private final IBizChuncheonService service;
/**
* (Facility Management Corporation)
* @param fileReq
* @return
*/
@Operation(summary = "시설관리공단 전자고지 대상 엑셀업로드 처리", description = "시설관리공단 전자고지 대상 엑셀업로드 처리<br><a href='http://localhost:8082/fmcExcelUpload.html'>전자고지연계파일처리</a>")
@PostMapping(value = "/fmcExcelUpload", consumes = MediaType.MULTIPART_FORM_DATA_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
public IApiResponse fmcExcelUpload(@ModelAttribute FmcExcelUpload fileReq) {
String msg = service.fmcExcelUpload(fileReq);
return ApiResponseDTO.success(fileReq, msg);
}
@Operation(summary = "발송결과정보 마스터 조회 - 시설공단 내부시스템에서 호출", description = "발송결과정보 마스터 조회 - 시설공단 내부시스템에서 호출")
@PostMapping(value = "/sndng/result/master", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
public IApiResponse findSndngResultMaster(@RequestBody ChuncheonSndngResultDTO.RsltChuncheonRequest reqDTO) {

@ -1,20 +1,22 @@
package kr.xit.ens.nice.web;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.ExampleObject;
import io.swagger.v3.oas.annotations.tags.Tag;
import kr.xit.biz.ens.model.nice.NiceCiDTO;
import kr.xit.biz.ens.model.nice.NiceCiDTO.NiceCiRequest;
import kr.xit.core.model.ApiResponseDTO;
import kr.xit.core.model.IApiResponse;
import kr.xit.ens.nice.cmm.CmmNiceCiUtils;
import kr.xit.ens.nice.service.INiceCiService;
import lombok.RequiredArgsConstructor;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <pre>
@ -114,4 +116,22 @@ public class NiceCiController {
return ApiResponseDTO.success(service.requestCi(reqDTO));
}
//--------------------------------------------------------------------------------
@io.swagger.v3.oas.annotations.parameters.RequestBody(required = true, content = {
@Content(
mediaType = "application/json",
examples = {
@ExampleObject(
name = "교통시설운영처",
value = PARAM1),
@ExampleObject(
name = "승화원",
value = PARAM2)
})
})
@Operation(summary = "아이핀 CI 요청", description = "아이핀 CI 요청")
@PostMapping(value = "/requestNiceCi", produces = MediaType.APPLICATION_JSON_VALUE)
public NiceCiDTO.IpinCiResDataBody requestNiceCi(@RequestBody final NiceCiRequest reqDTO) {
return service.requestCi(reqDTO);
}
}

Loading…
Cancel
Save