Project

General

Profile

Actions

개선(improvement) #986

closed

개선(improvement) #954: * Rate Plan improvement​ _CANCELLATION POLICY

개선(improvement) #998: 2. Develop Multiple Cancellation Policy Registration Feature

Syn plan cancel policy to Redis

Added by Dan Hoang 7 months ago. Updated 7 months ago.

Status:
완료(Done)
Priority:
높음(High)
Assignee:
Start date:
08/04/2025
Due date:
08/21/2025
% Done:

100%

Estimated time:
8.00 h
Spent time:
Part:
Build env.:
Dev

Description

Syn plan cancel policy to Redis

Actions #1

Updated by calvin dev 7 months ago

  • Assignee set to calvin dev
Actions #2

Updated by ziniy Kang 7 months ago

  • Due date set to 08/11/2025
Actions #3

Updated by ziniy Kang 7 months ago

  • Due date deleted (08/11/2025)
Actions #4

Updated by Joseph Vo 7 months ago

Actions #5

Updated by ziniy Kang 7 months ago

  • Parent task changed from #954 to #998
Actions #6

Updated by Joseph Vo 7 months ago

  • Due date set to 08/21/2025
Actions #7

Updated by calvin dev 7 months ago

  • Status changed from 신규(New) to 진행(Doing)
  • Start date set to 08/04/2025
Actions #8

Updated by calvin dev 7 months ago

  • Estimated time set to 8.00 h
Actions #9

Updated by calvin dev 7 months ago

1/ Add new planCxMasMap, add new field pMSeq in CancelationPolicy (planCxMap)

@Data
public static class PlanCancelPolicyMaster{
@JsonProperty("pSeq")
private int pSeq; // VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.VENDOR_ROOM_PLAN_SEQ
@JsonProperty("pMSeq")
private int pMSeq; // VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.POLICY_MASTER_SEQ
@JsonProperty("c1")
private int c1; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.DEFAULT_YN
@JsonProperty("c2")
private int c2; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.NON_REFUNDABLE_YN
@JsonProperty("c3")
private int c3; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.USE_POLICY_OPTION_YN
@JsonProperty("c4")
private int c4; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_FROM_DATE
@JsonProperty("c5")
private int c5; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_TO_DATE
@JsonProperty("c6")
private int c6; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.DATE_OPTION_YN
@JsonProperty("c7")
private int c7; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_SUN_YN
@JsonProperty("c8")
private int c8; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_MON_YN
@JsonProperty("c9")
private int c9; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_TUE_YN
@JsonProperty("c10")
private int c10; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_WED_YN
@JsonProperty("c11")
private int c11; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_THU_YN
@JsonProperty("c12")
private int c12; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_FRI_YN
@JsonProperty("c13")
private int c13; //VD_VENDOR_PLAN_CANCEL_POLICY_MASTER.APPLIED_SAT_YN
}
@Data
public static class CancelPolicy { // PLAN & PROMOTION COMMON USED
@JsonProperty("cSeq")
private int cSeq; // HOTEL_CONTRACT_SEQ
@JsonProperty("rSeq")
private int rSeq; // VENDOR_ROOM_TYPE_SEQ
@JsonProperty("pSeq")
private int pSeq; // VENDOR_ROOM_PLAN_SEQ
@JsonProperty("ppSeq")
private int ppSeq; // PLAN_PROMOTION_SEQ
@JsonProperty("bCd")
private String bCd; // CANCEL_PENALTY_BASIS_CODE
@JsonProperty("cDt")
private int cDt; // CANCEL_POLICY_DATE
@JsonProperty("stDt")
private int stDt; // APPLIED_FROM_DATE
@JsonProperty("edDt")
private int edDt; // APPLIED_TO_DATE
@JsonProperty("fTm")
private String fTm; // FIRST_CANCEL_DEADLINE_TIME
@JsonProperty("ra")
private String ra; // CANCEL_PENALTY_RATE_OR_AMOUNT
@JsonProperty("val")
private double val; // CANCEL_PENALTY_VALUE
@JsonProperty("pMSeq")
private int pMSeq; // POLICY_MASTER_SEQ
}
@JsonProperty("plnCx")
private Map<String, List<PlanCancelPolicyMaster>> planCxMasMap;

2/ Update OpenSearchUploadService.postBulkItemByHotelSearchDocElastic:

-- new query to get PLAN_CANCEL_POLICY_MASTER;

Actions #10

Updated by calvin dev 7 months ago

  • % Done changed from 0 to 80
Actions #11

Updated by calvin dev 7 months ago

  • Status changed from 진행(Doing) to 완료(Done)
  • % Done changed from 80 to 100
Actions #12

Updated by calvin dev 7 months ago

  • Build env. set to Dev
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 50 MB)