260721_01_ENH: 프링고 parameter 방식의 send요청 추가, 발송시 sendTy 다시 계산하도록 수정, sid 별 조회 추가

This commit is contained in:
2026-07-21 09:58:34 +09:00
parent fb213035f3
commit 9c722e78d0
12 changed files with 197 additions and 56 deletions

View File

@@ -23,15 +23,24 @@ import lombok.Setter;
@Schema(description = "발송 결과 정보")
public class SendResultInfoDto {
@Size(max = 32)
@NotBlank
@Schema(description = "CMID")
private String cmid;
@Size(max = 32)
@Schema(description = "대량 발송 키")
private String bulkSendKey;
@Schema(description = "인트라넷 프로젝트 코드")
private String itrntPrjctCd;
@Schema(description = "요청 서비스")
private String reqstSvc;
@Schema(description = "프로젝트 코드")
private String prjctCd;
@Schema(description = "리스트 아이디")
private String sid;
@NotNull
@Schema(description = "발송 타입")
private Short sendTy;
@@ -116,6 +125,10 @@ public class SendResultInfoDto {
return SendResultInfoDto.builder()
.cmid(entity.getCmid())
.bulkSendKey(entity.getBulkSendKey())
.itrntPrjctCd(entity.getItrntPrjctCd())
.reqstSvc(entity.getReqstSvc())
.prjctCd(entity.getPrjctCd())
.sid(entity.getSid())
.sendTy(entity.getSendTy())
.resve(entity.isResve())
.resultCode(entity.getResultCode())

View File

@@ -0,0 +1,37 @@
package com.kri.notihub.server.dto.report;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "발송 결과 정보")
public class SendResultLastWithSidDto {
@Schema(description = "리스트 아이디")
private String sid;
@Schema(description = "마지막 결과 코드")
private Short lastResultCode;
@Schema(description = "마지막 결과 라벨")
private String lastResultLabel;
@Schema(description = "마지막 결과 표시 라벨")
private String lastResultViewLabel;
@Schema(description = "마지막 발송 일시")
private LocalDateTime lastSendDt;
@Schema(description = "총 발송 Count")
private Integer totalSendCount;
}