diff --git a/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtController.java b/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtController.java index 70f0020..77ba97e 100644 --- a/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtController.java +++ b/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtController.java @@ -450,4 +450,21 @@ public class SysMgtController { return sysService.svcCheckLists(svcCheckListReqDto); } + + /** + * date : 2023. 7. 3. + * auth : Jeon + * desc : 청구검증 목록 조회 + * @param monthListReqDto + * @param bindingResult + * @return + */ + @ApiOperation(value = "verification", notes = "월별 통계 목록 조회") + @ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") }) + @RequestMapping(value = "/verification" , method = {RequestMethod.POST}) + @ResponseBody + public VerificationResDto verification() { + + return sysService.getVerificationList(); + } } diff --git a/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtMapper.java b/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtMapper.java index f666967..3ffd454 100644 --- a/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtMapper.java +++ b/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtMapper.java @@ -59,4 +59,6 @@ public interface SysMgtMapper { int notiListSelectCnt(NotiListReqDto notiListReqDto); + List getVerificationList(); + } \ No newline at end of file diff --git a/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtService.java b/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtService.java index 894ebc0..06d1f4c 100644 --- a/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtService.java +++ b/src/main/java/kr/co/uplus/ez/api/sysMgt/SysMgtService.java @@ -743,4 +743,26 @@ public class SysMgtService { return new SvcCheckListResDto(ApiResponseCode.SUCCESS,svcCheckListRes); } + + /** + * date : 2023. 7. 3. + * auth : Jeon + * desc : 청구검증 목록 조회 + * @return + */ + public VerificationResDto getVerificationList() { + + SysMgtMapper sysmgtmapper = sqlSessionSlave.getMapper(SysMgtMapper.class); + + VerificationRes verificationRes = new VerificationRes(); + + List verificationDtoList = sysmgtmapper.getVerificationList(); + + verificationRes.setList(verificationDtoList); + Paging paging = new Paging(); + paging.setTotalCnt(String.valueOf(verificationDtoList.size())); + verificationRes.setPaging(paging); + return new VerificationResDto(ApiResponseCode.SUCCESS, verificationRes); + } + } diff --git a/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationDto.java b/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationDto.java new file mode 100644 index 0000000..9172863 --- /dev/null +++ b/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationDto.java @@ -0,0 +1,98 @@ +package kr.co.uplus.ez.api.sysMgt.dto; + +import java.io.Serializable; + +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +@SuppressWarnings("serial") +@Data +public class VerificationDto implements Serializable { + + @ApiModelProperty(example = "고객사", name = "고객사", dataType = "String") + private String custNm; + + @ApiModelProperty(example = "사업자번호", name = "사업자번호", dataType = "String") + private String bizrno; + + @ApiModelProperty(example = "유큐브등록번호", name = "유큐브등록번호", dataType = "String") + private String entrNo; + + @ApiModelProperty(example = "상품명", name = "상품명", dataType = "String") + private String prodNm; + + @ApiModelProperty(example = "가입일", name = "가입일", dataType = "String") + private String opnDt; + + @ApiModelProperty(example = "일할대상", name = "일할대상", dataType = "String") + private String dayUser; + + @ApiModelProperty(example = "상태", name = "상태", dataType = "String") + private String dtlCdNm; + + @ApiModelProperty(example = "성공건수", name = "성공건수", dataType = "String") + private String succCnt; + + @ApiModelProperty(example = "전달 정액요금", name = "전달 정액요금", dataType = "String") + private String fxLmtAmt; + + @ApiModelProperty(example = "전달 이월금액", name = "전달 이월금액", dataType = "String") + private String cfwdAmt; + + @ApiModelProperty(example = "전달 소멸금액", name = "전달 소멸금액", dataType = "String") + private String extncAmt; + + @ApiModelProperty(example = "전달 소멸충전금액", name = "전달 소멸충전금액", dataType = "String") + private String extcChrgAmt; + + @ApiModelProperty(example = "전달 이월충전금액", name = "전달 이월충전금액", dataType = "String") + private String cfwdChrgAmt; + + @ApiModelProperty(example = "전달 소멸충전복원", name = "전달 소멸충전복원", dataType = "String") + private String extcChrgRsrt; + + @ApiModelProperty(example = "전달 이월충전복원", name = "전달 이월충전복원", dataType = "String") + private String cfwdChrgRsrt; + + @ApiModelProperty(example = "전달 소멸충전잔액", name = "전달 소멸충전잔액", dataType = "String") + private String extcChrgBlnc; + + @ApiModelProperty(example = "전달 이월충전잔액", name = "전달 이월충전잔액", dataType = "String") + private String cfwdChrgBlnc; + + @ApiModelProperty(example = "과금금액", name = "과금금액", dataType = "String") + private String mrtUseAmt; + + @ApiModelProperty(example = "신규 이월금액", name = "신규 이월금액", dataType = "String") + private String nowCfwdAmt; + + @ApiModelProperty(example = "예상 이월금액", name = "예상 이월금액", dataType = "String") + private String estCfwdAmt; + + @ApiModelProperty(example = "이월금액 일치결과", name = "이월금액 일치결과", dataType = "String") + private String rsltStr; + + @ApiModelProperty(example = "총 사용금액", name = "총 사용금액", dataType = "String") + private String totalUseAmt; + + @ApiModelProperty(example = "알림톡 사용금액", name = "알림톡 사용금액", dataType = "String") + private String kkoNotiUseAmt; + + @ApiModelProperty(example = "SMS 사용금액", name = "SMS 사용금액", dataType = "String") + private String smsUseAmt; + + @ApiModelProperty(example = "LMS 사용금액", name = "LMS 사용금액", dataType = "String") + private String lmsUseAmt; + + @ApiModelProperty(example = "MMS 사용금액", name = "MMS 사용금액", dataType = "String") + private String mmsUseAmt; + + @ApiModelProperty(example = "일할 정액요금", name = "일할 정액요금", dataType = "String") + private String lmtPerUseDay; + + @ApiModelProperty(example = "할인율", name = "할인율", dataType = "String") + private String discount = "0"; + + @ApiModelProperty(example = "유큐브 청구금액", name = "유큐브 청구금액", dataType = "String") + private String billAmt = "0"; +} diff --git a/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationRes.java b/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationRes.java new file mode 100644 index 0000000..cf480fb --- /dev/null +++ b/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationRes.java @@ -0,0 +1,17 @@ +package kr.co.uplus.ez.api.sysMgt.dto; + +import java.io.Serializable; +import java.util.List; + +import kr.co.uplus.ez.common.data.Paging; +import lombok.Data; + +@SuppressWarnings("serial") +@Data +public class VerificationRes implements Serializable { + + private List list; + + private Paging paging; + +} diff --git a/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationResDto.java b/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationResDto.java new file mode 100644 index 0000000..b07ef0f --- /dev/null +++ b/src/main/java/kr/co/uplus/ez/api/sysMgt/dto/VerificationResDto.java @@ -0,0 +1,32 @@ +package kr.co.uplus.ez.api.sysMgt.dto; + +import java.io.Serializable; + +import io.swagger.annotations.ApiModelProperty; +import kr.co.uplus.ez.common.data.ApiResponseCode; +import kr.co.uplus.ez.common.data.ResponseMessage; +import lombok.Data; + +@SuppressWarnings("serial") +@Data +public class VerificationResDto extends ResponseMessage implements Serializable { + + @ApiModelProperty(example = "데이터") + private VerificationRes data; + + public VerificationResDto() { + this.retCode = ApiResponseCode.SUCCESS.getResultCode(); + this.retMsg = ApiResponseCode.SUCCESS.getResultMsg(); + } + + public VerificationResDto(ApiResponseCode returnStr) { + this.retCode = ApiResponseCode.SUCCESS.getResultCode(); + this.retMsg = ApiResponseCode.SUCCESS.getResultMsg(); + } + + public VerificationResDto(ApiResponseCode returnStr, VerificationRes data) { + this.retCode = ApiResponseCode.SUCCESS.getResultCode(); + this.retMsg = ApiResponseCode.SUCCESS.getResultMsg(); + this.data = data; + } +} diff --git a/src/main/resources/mapper/mysql/sysMgt/sysMgt-mapper.xml b/src/main/resources/mapper/mysql/sysMgt/sysMgt-mapper.xml index a0d9fee..8ded6e2 100644 --- a/src/main/resources/mapper/mysql/sysMgt/sysMgt-mapper.xml +++ b/src/main/resources/mapper/mysql/sysMgt/sysMgt-mapper.xml @@ -522,4 +522,349 @@ + + \ No newline at end of file