diff --git a/mens-api/src/main/java/kr/xit/ens/pplus/service/IPplusService.java b/mens-api/src/main/java/kr/xit/ens/pplus/service/IPplusService.java index 1c09f9d..298c9d6 100644 --- a/mens-api/src/main/java/kr/xit/ens/pplus/service/IPplusService.java +++ b/mens-api/src/main/java/kr/xit/ens/pplus/service/IPplusService.java @@ -23,5 +23,4 @@ import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusResponse; public interface IPplusService { PpCommonResponse sendBulks(final SndngMssageParam reqDTO); PpStatusResponse statusBulks(final PpStatusRequest reqDTO); - String test(); } diff --git a/mens-api/src/main/java/kr/xit/ens/pplus/service/PplusService.java b/mens-api/src/main/java/kr/xit/ens/pplus/service/PplusService.java index 4addfcd..910412d 100644 --- a/mens-api/src/main/java/kr/xit/ens/pplus/service/PplusService.java +++ b/mens-api/src/main/java/kr/xit/ens/pplus/service/PplusService.java @@ -13,8 +13,6 @@ import kr.xit.biz.ens.model.pplus.PplusDTO.BatchAcceptRequest; import kr.xit.biz.ens.model.pplus.PplusDTO.PpCommonResponse; import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusRequest; import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusResponse; -import kr.xit.biz.other.mapper.IBizOtherMapper; -import kr.xit.biz.other.model.ElecnoticeDTO; import kr.xit.core.service.AbstractService; import kr.xit.core.spring.annotation.TraceLogging; import kr.xit.core.spring.util.ApiWebClientUtil; @@ -67,7 +65,6 @@ public class PplusService extends AbstractService implements IPplusService { private final StringEncryptor jasyptStringEncryptor; private final ApiWebClientUtil webClient; private final IPplusMapper mapper; - private final IBizOtherMapper mapper2; @SuppressWarnings("unchecked") @Override @@ -145,12 +142,4 @@ public class PplusService extends AbstractService implements IPplusService { headerMap ); } - - @Override - public String test() { - final List tgtList = mapper2.selectElecnoticemst(); - - if(tgtList == null) System.out.println("1"); - return "test"; - } } diff --git a/mens-api/src/main/java/kr/xit/ens/pplus/web/PplusController.java b/mens-api/src/main/java/kr/xit/ens/pplus/web/PplusController.java index b53aed9..c2746d5 100644 --- a/mens-api/src/main/java/kr/xit/ens/pplus/web/PplusController.java +++ b/mens-api/src/main/java/kr/xit/ens/pplus/web/PplusController.java @@ -52,10 +52,4 @@ public class PplusController { PpStatusResponse resDTO = service.statusBulks(paramDTO); return ApiResponseDTO.success(resDTO); } - @Operation(summary = "테스트", description = "테스트") - @PostMapping(value = "/test", produces = MediaType.APPLICATION_JSON_VALUE) - public IApiResponse test() { - String msg = service.test(); - return ApiResponseDTO.success(msg); - } }