New Function #150
closed[ADMIN] QA-20231116
Added by Deca Park 12 months ago. Updated 10 months ago.
Description
1.Spec
- refer to attach ppt
Files
1116 코레일유통_요청사항_en.pptx (237 KB) 1116 코레일유통_요청사항_en.pptx | spec change(2023-11-17) | Deca Park, 11/17/2023 06:30 PM |
Updated by Deca Park 12 months ago
[ADMIN]-Scheduler changeSmartOrderStatus()-OrderConfirm (Logic fix)
1.logic (fix)
1) listStoreConfirmOrder()
a) conditions (REMOVE previous orderPayment conditions)
- st_order.smart_order_status = 'SS01' (주문확인중)
- if st_order.mod_date is NOT NULL
- check with mod_date if 15 minutes is passed
if NULL
- check with reg_date if 15 minutes is passed
b) other logic is same
[ADMIN]-Scheduler changeSmartOrderStatus()-ReceiveWait (New)
1.cron
- 1 AM every day
2.logic
1) select smart order
DB: st_order
conditions
- st_mall.mall_type = 'store'
- st_order.smart_order_status = 'SS03' (수령대기중) - ReceiveWait
- st_order.reg_date < date(today)||'00:00'(hour) (set time 00:00)
2) update smart order status per 1) target order
- no PG payment cancel
a) UPDATE st_order
set smart_order_status = 'SS06' (주문취소(환불불가)) - New status
mod_date = current datetime
condition: order_no={the order_no}
3) if target order exists
- levave log: level(INFO), "[Scheduler-changeSmartOrderStatus (ReceiveWait)] applied data count: {totalCount}"
Updated by Deca Park 12 months ago
- File 1116 코레일유통_요청사항_en.pptx 1116 코레일유통_요청사항_en.pptx added
Updated by bryant bryant 12 months ago
- Status changed from In Progress to Resolved
- Assignee changed from bryant bryant to Deca Park
Updated by Deca Park 12 months ago
- Status changed from Resolved to Feedback
- Assignee changed from Deca Park to bryant bryant
[kakao message(알림톡)]
1.ap0004 (template_id)
1) message content variables
a) {qrCodeUrl} (New)
- set by fixed URL: "https://storywayplus.page.link/?link=http://plus.storyway.co.kr/goto?redirectUrl=/mypage/order&apn=com.korailretail.happyrail&isi=6459728587&ibi=com.korailretail.happyrail&efr=1"
Updated by bryant bryant 12 months ago
- Status changed from Feedback to Resolved
- Assignee changed from bryant bryant to Deca Park