feat: Post plus 상태 조회 반영

dev
gitea-관리자 1 year ago
parent 4222759c51
commit 117c6e208a

@ -23,5 +23,5 @@ import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
public interface IBizKtMmsMapper { public interface IBizKtMmsMapper {
int updateRlaybsnmKtInfo(final CmmEnsRlaybsnmDTO dto); int updateRlaybsnmKtInfo(final CmmEnsRlaybsnmDTO dto);
int updateKtBcDtl(final KtMsgRsltReqData dto); int updateKtBcDtl(final KtMsgRsltReqData dto);
int saveCntcSndngResult(final KtMsgRsltReqData dto); int saveKtCntcSndngResult(final KtMsgRsltReqData dto);
} }

@ -94,56 +94,6 @@ public class BizKtMmsService extends EgovAbstractServiceImpl implements IBizKtMm
return resDTO; return resDTO;
} }
// @Override
// public KtCommonResponse mainSend(final KtMnsRequest reqDTO) {
// List<KtMainSendReqData> mainSendReqs = new ArrayList<>();
//
// KtMainSendReqData reqData = KtMainSendReqData.builder()
// .srcKey("db")
// .srcSeq("1")
// .ci("1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678")
// .mmsDtlCnts("db")
// // TODO:: mybatis에서 처리 - SHA2(teusd.unity_sndng_detail_id, 256)
// //.docHash(Base64.getEncoder().encodeToString("db".getBytes(StandardCharsets.UTF_8)))
// .docHash("db")
// .mmsTitle("")
// .url(SignguCode.TRAFFIC.getCode().equals(reqDTO.getSignguCode())? DP_CALLBACK_URL : ME_CALLBACK_URL) //distInfoCrtYn - N이면 필수
// .mmsBinary("")
// .fileFmat("")
// .mdn("")
// .distInfoCrtYn("Y")
// //.infoCfrmStr("")
// .build();
// mainSendReqs.add(reqData);
//
// List<List<KtMainSendReqData>> parts = ListUtils.partition(mainSendReqs, MAX_KT_SEND_CNT);
// KtCommonResponse ktTokenResponse = null;
//
// for(List<KtMainSendReqData> reqs : parts) {
// ktTokenResponse = ktMmsService.mainSend(
// KtMainSendRequest.builder()
// .signguCode(reqDTO.getSignguCode())
// .ffnlgCode(reqDTO.getFfnlgCode())
// //.serviceCd("cache")
// //.serviceKey("cache")
// .msgCd("db")
// //.msgType("2")
// .makeDt("123456789012db")
// .sndnExTime("123456789012db")
// .exTime("123456789012db")
// //.mType("4")
// .sndnTotCnt(reqs.size()) //-> 요청건수 count
// .mmsBinary("db")
// .fileFmat("db")
// .testSndnYn("N")
// .reqs(reqs)
// .build()
// );
// }
// return ktTokenResponse;
// }
/** /**
* <pre> * <pre>
* / / * / /
@ -174,7 +124,7 @@ public class BizKtMmsService extends EgovAbstractServiceImpl implements IBizKtMm
String.format("존재 하지 않는 발송 대상(src_key[%s], mms_sndg_rslt_sqno[%s]) 입니다", String.format("존재 하지 않는 발송 대상(src_key[%s], mms_sndg_rslt_sqno[%s]) 입니다",
dto.getSrcKey(), dto.getMmsSndgRsltSqno()))); dto.getSrcKey(), dto.getMmsSndgRsltSqno())));
} }
mapper.saveCntcSndngResult(dto); mapper.saveKtCntcSndngResult(dto);
} }
if(!errors.isEmpty()) return throwError(errors); if(!errors.isEmpty()) return throwError(errors);

@ -65,8 +65,8 @@ app:
url: 'http://localhost:${server.port}${server.servlet.context-path:}/' url: 'http://localhost:${server.port}${server.servlet.context-path:}/'
data: data:
root: root:
path: /Users/minuk/data #path: /Users/minuk/data
#path: d:/data path: d:/data
#--------------------------------------------------------------- #---------------------------------------------------------------
# log 설정 # log 설정

@ -42,7 +42,7 @@
WHERE unity_sndng_detail_id = #{srcKey} WHERE unity_sndng_detail_id = #{srcKey}
</update> </update>
<insert id="saveCntcSndngResult"> <insert id="saveKtCntcSndngResult">
/** ens-mysql-mapper|saveCntcSndngResult-연계발송결과반영|julim */ /** ens-mysql-mapper|saveCntcSndngResult-연계발송결과반영|julim */
<selectKey keyProperty="signguCode,ffnlgCode,sndngSeCode" resultType="hashmap" order="BEFORE"> <selectKey keyProperty="signguCode,ffnlgCode,sndngSeCode" resultType="hashmap" order="BEFORE">

@ -12,6 +12,7 @@ import kr.xit.biz.ens.model.kakao.KkopayDocBulkDTO.BulkStatus;
import kr.xit.biz.ens.model.kakao.KkopayDocDTO.OneTimeToken; import kr.xit.biz.ens.model.kakao.KkopayDocDTO.OneTimeToken;
import kr.xit.biz.ens.model.kt.KtMmsSendDTO.KtMainSendReqData; import kr.xit.biz.ens.model.kt.KtMmsSendDTO.KtMainSendReqData;
import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusResMapping; import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusResMapping;
import kr.xit.biz.ens.model.pplus.PplusDTO.PplusResult;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper; import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
/** /**
@ -359,12 +360,18 @@ public interface IEnsBatchMapper {
/** /**
* *
* @param rgistNo * @param t T
* @return int * @return int
*/ */
int selectCountRgistNo(final String rgistNo); <T> int selectCountRgistNo(final T t);
int updatePplusRgistNo(final PpStatusResMapping dto); int updatePplusRgistNo(final PpStatusResMapping dto);
List<String> selectPplusRgistNos(final String unitySndngMastrId);
/**
* ID - ~
* @param t T
* @return List<String>
*/
<T> List<PplusResult> selectPplusUnitySndngDetailIdsByRgistNo(final T t);
int updatePplusDlvrStatusFromEPostByRgistNo(final EpostTraceResTrackInfo dto); int updatePplusDlvrStatusFromEPostByRgistNo(final EpostTraceResTrackInfo dto);
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// status // status
@ -394,11 +401,18 @@ public interface IEnsBatchMapper {
int updateCntcSndngResultByKkoMyDoc(final CntcDTO.SndngResult dto); int updateCntcSndngResultByKkoMyDoc(final CntcDTO.SndngResult dto);
/** /**
* - KT-BC * Post plus
* - tb_cntc_sndng_result * @param unitySndngMstId String
* @param dto KtMainSendReqData * @return List<String>
*/
List<String> selectPplusResultTgtsByUnitySndngMstId(final String unitySndngMstId);
/**
* Post plus
* @param dto PplusResult
* @return int
*/ */
void saveCntcSndngResult(KtMainSendReqData dto); int savePplusCntcSndngResult(final PplusResult dto);
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// result // result
//---------------------------------------------------------------------- //----------------------------------------------------------------------

@ -4,7 +4,9 @@ import static kr.xit.core.support.utils.JsonUtils.toObjByObj;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map;
import kr.xit.biz.common.ApiConstants; import kr.xit.biz.common.ApiConstants;
import kr.xit.biz.common.ApiConstants.SndngSeCode; import kr.xit.biz.common.ApiConstants.SndngSeCode;
import kr.xit.biz.ens.cmm.CmmEnsBizUtils; import kr.xit.biz.ens.cmm.CmmEnsBizUtils;
@ -20,6 +22,7 @@ import kr.xit.biz.ens.model.kakao.KkopayDocBulkDTO.BulkStatusResponses;
import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusRequest; import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusRequest;
import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusResMapping; import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusResMapping;
import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusResponse; import kr.xit.biz.ens.model.pplus.PplusDTO.PpStatusResponse;
import kr.xit.biz.ens.model.pplus.PplusDTO.PplusResult;
import kr.xit.core.exception.BizRuntimeException; import kr.xit.core.exception.BizRuntimeException;
import kr.xit.core.model.ApiResponseDTO; import kr.xit.core.model.ApiResponseDTO;
import kr.xit.core.spring.util.ApiWebClientUtil; import kr.xit.core.spring.util.ApiWebClientUtil;
@ -233,6 +236,21 @@ public class EnsBatchStatusService extends EgovAbstractServiceImpl implements IE
if("일반".equals(dlvr)){ if("일반".equals(dlvr)){
if("제작발송완료".equals(processSttus)) resMapDTO.setDlvrSttus("배달"); if("제작발송완료".equals(processSttus)) resMapDTO.setDlvrSttus("배달");
mapper.updatePplusSndStatus(resMapDTO); mapper.updatePplusSndStatus(resMapDTO);
List<String> rsltTgts = mapper.selectPplusResultTgtsByUnitySndngMstId(unitySndngMstId);
rsltTgts.forEach( unitySndngDetailId -> mapper.savePplusCntcSndngResult(
PplusResult.builder()
.unitySndngDetailId(unitySndngMstId)
.signguCode(reqDTO.getSignguCode())
.ffnlgCode(reqDTO.getFfnlgCode())
.dlvrSttus(resMapDTO.getDlvrSttus())
.rgistNo(null)
.senderData(resDTO.get())
.receiveDate(null)
.build()
)
);
} }
if(Arrays.asList("등기","준등기","익일특급").contains(processSttus)){ if(Arrays.asList("등기","준등기","익일특급").contains(processSttus)){
@ -244,7 +262,7 @@ public class EnsBatchStatusService extends EgovAbstractServiceImpl implements IE
// 제작발송완료 -> 종적추적 // 제작발송완료 -> 종적추적
if("제작발송완료".equals(processSttus)){ if("제작발송완료".equals(processSttus)){
epostTrace(unitySndngMstId, reqDTO); epostTrace(reqDTO, resDTO);
} }
} }
@ -262,8 +280,12 @@ public class EnsBatchStatusService extends EgovAbstractServiceImpl implements IE
* @param unitySndngMstId * @param unitySndngMstId
*/ */
private void setPostPlusRgistNo(PpStatusResponse resDTO, String unitySndngMstId) { private void setPostPlusRgistNo(PpStatusResponse resDTO, String unitySndngMstId) {
if(mapper.selectCountRgistNo(resDTO.get()) == 0) {
int dlvCnt = Integer.valueOf(resDTO.get()); int dlvCnt = Integer.valueOf(resDTO.get());
Map<String,String> pMap = new HashMap<>();
pMap.put("startRgistNo", resDTO.get());
pMap.put("endRgistNo", resDTO.get());
if(mapper.selectCountRgistNo(pMap) != dlvCnt) {
int startRgistNo = Integer.parseInt(resDTO.get()); int startRgistNo = Integer.parseInt(resDTO.get());
int endRgistNo = Integer.parseInt(resDTO.get()); int endRgistNo = Integer.parseInt(resDTO.get());
@ -286,44 +308,58 @@ public class EnsBatchStatusService extends EgovAbstractServiceImpl implements IE
} }
} }
private void epostTrace(final String unitySndngMstId, final SndngMssageParam reqDTO){ private void epostTrace(final SndngMssageParam reqDTO, final PpStatusResponse resDTO){
final List<String> rgistNos = mapper.selectPplusRgistNos(unitySndngMstId); Map<String,String> pMap = new HashMap<>();
pMap.put("startRgistNo", resDTO.get());
pMap.put("endRgistNo", resDTO.get());
final List<PplusResult> lists = mapper.selectPplusUnitySndngDetailIdsByRgistNo(pMap);
//final List<String> rgistNos = List.of("1900472677718","1900472677695"); //final List<String> rgistNos = List.of("1900472677718","1900472677695");
if(!rgistNos.isEmpty()){ if(!lists.isEmpty()){
final String url = apiHost + apiEpostTrace; final String url = apiHost + apiEpostTrace;
rgistNos.forEach( rgistNo -> { lists.forEach( dto -> {
ApiResponseDTO apiResult = apiWebClient.exchange( ApiResponseDTO apiResult = apiWebClient.exchange(
url, url,
HttpMethod.POST, HttpMethod.POST,
EpostTraceRequest.builder() EpostTraceRequest.builder()
.signguCode(reqDTO.getSignguCode()) .signguCode(reqDTO.getSignguCode())
.ffnlgCode(reqDTO.getFfnlgCode()) .ffnlgCode(reqDTO.getFfnlgCode())
.rgist(rgistNo) .rgist(dto.getRgistNo())
.build(), .build(),
ApiResponseDTO.class, ApiResponseDTO.class,
CmmEnsBizUtils.getHeadeMap()); CmmEnsBizUtils.getHeadeMap());
if(apiResult.getData() != null) { if(apiResult.getData() != null) {
final EpostTraceResponse resDTO = JsonUtils.toObjByObj(apiResult.getData(), final EpostTraceResponse epostResDTO = JsonUtils.toObjByObj(apiResult.getData(),
EpostTraceResponse.class); EpostTraceResponse.class);
//final String unitySndngMstId = resDTO.get연계식별키(); //final String unitySndngMstId = resDTO.get연계식별키();
System.out.println(""+resDTO); System.out.println(""+epostResDTO);
dto.setSignguCode(reqDTO.getSignguCode());
dto.setFfnlgCode(reqDTO.getFfnlgCode());
try{ try{
assert resDTO != null; assert epostResDTO != null;
EpostTraceResTrackInfo traceDTO = resDTO.result(); EpostTraceResTrackInfo traceDTO = epostResDTO.result();
mapper.updatePplusDlvrStatusFromEPostByRgistNo(traceDTO); mapper.updatePplusDlvrStatusFromEPostByRgistNo(traceDTO);
dto.setDlvrSttus(traceDTO.getTrackState());
dto.setSenderData(traceDTO.getSenderData());
dto.setReceiveDate(traceDTO.getReceiveDate());
mapper.savePplusCntcSndngResult(dto);
}catch (BizRuntimeException e){ }catch (BizRuntimeException e){
//TODO :: error 처리 확인 필요 //TODO :: error 처리 확인 필요
mapper.updatePplusDlvrStatusFromEPostByRgistNo( mapper.updatePplusDlvrStatusFromEPostByRgistNo(
EpostTraceResTrackInfo.builder() EpostTraceResTrackInfo.builder()
.regiNo(rgistNo) .regiNo(dto.getRgistNo())
.trackState(e.getMessage()) .trackState(e.getMessage())
.build() .build()
); );
dto.setErrorCn(e.getMessage());
} }
mapper.savePplusCntcSndngResult(dto);
} }
}); });

@ -73,8 +73,8 @@ app:
url: 'http://localhost:${server.port}${server.servlet.context-path:}/' url: 'http://localhost:${server.port}${server.servlet.context-path:}/'
data: data:
root: root:
path: /Users/minuk/data #path: /Users/minuk/data
#path: d:/data path: d:/data
#--------------------------------------------------------------- #---------------------------------------------------------------
# log 설정 # log 설정

@ -840,6 +840,18 @@
WHERE unity_sndng_mastr_id = #{unitySndngMastrId} WHERE unity_sndng_mastr_id = #{unitySndngMastrId}
</update> </update>
<update id="updateKtBcMst" parameterType="kr.xit.biz.ens.model.cmm.SndngMssageParam">
/** ens-kt-mysql-mapper|updateKtBcMst-kt 메세지 수신결과 마스터 반영|julim */
UPDATE tb_ens_kt_bc_mastr
SET result_cd = #{resultCd}
, result_dt = #{resultDt}
, error_msg = #{errorMssage}
, updt_dt = NOW()
, updusr = 'batch'
WHERE sndng_mastr_id = #{sndngMastrId}
AND signgu_code = #{signguCode}
AND ffnlg_code = #{ffnlgCode}
</update>
<!-- =================================================================================== --> <!-- =================================================================================== -->
<!-- ================================ send ============================================= --> <!-- ================================ send ============================================= -->
<!-- =================================================================================== --> <!-- =================================================================================== -->
@ -929,7 +941,8 @@
/** ens-mysql-mapper|selectCountRgistNo-Post plus 등기번호 조회|julim */ /** ens-mysql-mapper|selectCountRgistNo-Post plus 등기번호 조회|julim */
Select count(sndng_detail_id) Select count(sndng_detail_id)
FROM tb_ens_post_plus FROM tb_ens_post_plus
WHERE rgist_no = #{rgistNo} WHERE rgist_no &gt;= #{startRgistNo}
AND rgist_no &lt;= #{endRgistNo}
</select> </select>
<update id="updatePplusRgistNo" parameterType="kr.xit.biz.ens.model.pplus.PplusDTO$PpStatusResMapping"> <update id="updatePplusRgistNo" parameterType="kr.xit.biz.ens.model.pplus.PplusDTO$PpStatusResMapping">
@ -946,13 +959,13 @@
AND tepp.sn = #{sn}) AND tepp.sn = #{sn})
</update> </update>
<select id="selectPplusRgistNos" resultType="string"> <select id="selectPplusUnitySndngDetailIdsByRgistNo" resultType="kr.xit.biz.ens.model.pplus.PplusDTO$PplusResult">
/** ens-mysql-mapper|selectPplusRgistNos-Post plus 등기번호 목록 조회|julim */ /** ens-mysql-mapper|selectPplusUnitySndngDetailIdsByRgistNo-Post plus 통합발송상세ID 목록 조회|julim */
SELECT tepp.rgist_no SELECT tepp.unity_sndng_detail_id
FROM tb_ens_sndng_mastr tesm , tepp.rgist_no
JOIN tb_ens_post_plus tepp FROM tb_ens_post_plus tepp
ON tesm.sndng_mastr_id = tepp.sndng_mastr_id WHERE rgist_no &gt;= #{startRgistNo}
WHERE tesm.unity_sndng_mastr_id = #{unitySndngMastrId} AND rgist_no &lt;= #{endRgistNo}
</select> </select>
<update id="updatePplusDlvrStatusFromEPostByRgistNo" parameterType="kr.xit.biz.ens.model.epost.EPostDTO$EpostTraceResTrackInfo"> <update id="updatePplusDlvrStatusFromEPostByRgistNo" parameterType="kr.xit.biz.ens.model.epost.EPostDTO$EpostTraceResTrackInfo">
@ -960,7 +973,7 @@
UPDATE tb_ens_post_plus UPDATE tb_ens_post_plus
SET dlvr_sttus = SUBSTR(#{trackStatus}, 1, 20) SET dlvr_sttus = SUBSTR(#{trackStatus}, 1, 20)
, dlvr_de = REPLACE(#{receiveDate}, "-", "") , dlvr_de = REPLACE(#{receiveDate}, "-", "")
, receive_name = #{receiveName} , recevie_name = #{receiveName}
, updt_dt = now() , updt_dt = now()
, updusr = 'batch' , updusr = 'batch'
WHERE rgist_no = #{regiNo} WHERE rgist_no = #{regiNo}
@ -1018,8 +1031,17 @@
WHERE tekmd.document_binder_uuid = #{documentBinderUuid}) WHERE tekmd.document_binder_uuid = #{documentBinderUuid})
</insert> </insert>
<insert id="saveCntcSndngResult"> <select id="selectPplusResultTgtsByUnitySndngMstId" parameterType="string" resultType="string">
/** ens-mysql-mapper|saveCntcSndngResult-연계발송결과반영|julim */ /** ens-mysql-mapper|selectPplusResultTgtsByUnitySndngMstId-post plus 연계발송결과반영 대상 조회|julim */
SELECT tepp.unity_sndng_detail_id
FROM tb_ens_sndng_mastr tesm
JOIN tb_ens_post_plus tepp
ON tesm.sndng_mastr_id = tepp.sndng_mastr_id
WHERE tesm.unity_sndng_mastr_id = #{unitySndngMstId}
</select>
<insert id="savePplusCntcSndngResult">
/** ens-mysql-mapper|savePplusCntcSndngResult-Post plus 연계발송결과반영|julim */
INSERT INSERT
INTO tb_cntc_sndng_result ( INTO tb_cntc_sndng_result (
unity_sndng_detail_id, /* 통합 발송 상세 ID*/ unity_sndng_detail_id, /* 통합 발송 상세 ID*/
@ -1027,30 +1049,29 @@
signgu_code, /* 시군구코드 */ signgu_code, /* 시군구코드 */
ffnlg_code, /* 과태료코드 */ ffnlg_code, /* 과태료코드 */
sndng_result_sttus, sndng_result_sttus,
rgist_no,
requst_dt, /* 송신(요청) 일시 */ requst_dt, /* 송신(요청) 일시 */
inqire_dt, /* 수신(조회) 일시 */ inqire_dt, /* 수신(조회) 일시 */
readng_dt, /* 최초열람일시 */ error_cn, /* 에러내용 */
-- error_cn, /* 에러내용 */
regist_dt, regist_dt,
register register
) VALUES ( ) VALUES (
#{unitySndngDetailId} #{unitySndngDetailId}
, #{sndngSeCode} /* 발송구분코드 - KAKAO-MY-DOC|KT-BC */ , #{sndngSeCode} /* 발송구분코드 - KAKAO-MY-DOC|KT-BC */
, (SELECT tgt.signgu_code, tgt.ffnlg_code FROM tb_ens_unity_sndng_detail tgt WHERE tgt.unity_sndng_detail_id = #{src_key}) /* 시군구코드 */ , #{signguCode} /* 시군구코드 */
, (SELECT tgt.ffnlg_code FROM tb_ens_unity_sndng_detail tgt WHERE tgt.unity_sndng_detail_id = #{src_key}) /* 과태료코드 */ , #{ffnlgcode} /* 과태료코드 */
, #{sndngResultSttus} , #{dlvrSttus}
, #{mmsSndgTmst} /* 송신(요청) 일시 */ , #{rgistNo}
, #{mmsRcvTmst} /* 수신(조회) 일시 */ , #{senderData} /* 송신(요청) 일시 */
, #{mmsRdgTmst} /* 최초열람일시 */ , #{receiveDate} /* 수신(조회) 일시 */
-- , #{errorCn} /* 에러내용 */ , #{errorCn} /* 에러내용 */
, now() , now()
, 'batch' , 'batch'
) )
ON DUPLICATE KEY UPDATE ON DUPLICATE KEY UPDATE
sndng_result_sttus = IFNULL(#{sndngResultSttus}, sndng_result_sttus) sndng_result_sttus = IFNULL(#{dlvrSttus}, sndng_result_sttus)
, requst_dt = IFNULL(#{mmsSndgTmst}, requst_dt) /* 송신(요청) 일시 */ , requst_dt = IFNULL(#{senderData}, requst_dt) /* 송신(요청) 일시 */
, inqire_dt = IFNULL(#{mmsRcvTmst}, inqire_dt) /* 수신(조회) 일시 */ , inqire_dt = IFNULL(#{receiveDate}, inqire_dt) /* 수신(조회) 일시 */
, readng_dt = IFNULL(#{mmsRdgTmst}, readng_dt) /* 최초열람일시 */
, updt_dt = now() , updt_dt = now()
, updusr = 'batch' , updusr = 'batch'
</insert> </insert>

@ -8,7 +8,6 @@ import javax.validation.constraints.Size;
import kr.xit.biz.ens.model.cmm.CmmEnsRequestDTO; import kr.xit.biz.ens.model.cmm.CmmEnsRequestDTO;
import kr.xit.core.model.IApiResponse; import kr.xit.core.model.IApiResponse;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.Getter; import lombok.Getter;
@ -717,7 +716,7 @@ public class PplusDTO {
@Data @Data
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@Builder @SuperBuilder
public static class PpStatusResMapping { public static class PpStatusResMapping {
/** /**
* <pre> * <pre>
@ -757,4 +756,54 @@ public class PplusDTO {
*/ */
private String rgistNo; private String rgistNo;
} }
@Schema(name = "PplusResult", description = "Postplus 상태 조회 결과 Mapping DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
public static class PplusResult extends PpStatusResMapping {
/**
* <pre>
* ID
* </pre>
*/
private String unitySndngDetailId;
/**
*
*/
private String signguCode;
/**
*
*/
private String ffnlgCode;
/**
* <pre>
* : - 10
* yyyy-mm-dd
* </pre>
*/
private String senderData;
/**
* <pre>
* : - max 50
* </pre>
*/
private String receiveName;
/**
* <pre>
* : - 10
* yyyy-mm-dd
* </pre>
*/
private String receiveDate;
private String errorCn;
}
} }

Loading…
Cancel
Save