Project

General

Profile

Actions

New Function #297

closed

[ADMIN] 스토리 오더 주문 상태 변경 내역

Added by Jisoo Choi 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
High
Assignee:
Start date:
01/03/2024
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

 

 

 

주문 상태 변경 내역, 결제 변경 내역에 대한 문의가 너무 많아서 변경된 이력을 기록 및 표출하기로 했습니다.

 

현재 스토리 오더 기준

1. 변경 ID : 관리자 ID

2. 변경일시

3. 변경위치 : admin / agent / pos / system / app

4. 주문 상태 : 변경 전 상태 -> 변경 후 상태

5. 결제 상태 : 주문 상태 변경에 따른 결제 상태 변동

 

을 기록하려고 하는데, 현재 상태에서 기록이 불가능하거나 어려운 부분이 있을지 확인을 요청드리고 싶습니다.

1차 확인 -> 코레일유통에 확인 요청 -> admin에 추가

예정입니다.

 

 


Files

Actions #1

Updated by Deca Park 9 months ago

  • Description updated (diff)
Actions #2

Updated by Deca Park 9 months ago

[order status change history - Logic]

1.DB (st_order_change)
  - db change
  1) insert definition
    a) job_type : 'scheduler' / 'admin' / 'pos' / 'agent'
    b) scheduler_name : scheduler name
      - if not scheduler, NULL
    c) order_no : current order_no
    d) if order is smart order
      - set smart_order_status_before / smart_order_status_after
    e) else if order is online shop order
      - set order_status_before / order_status_after
    f) payment_status_before : payment_status before order status is changed
    g) payment_status_after : payment_status when order status is changed - if payment_status is not changed, set payment_status_after by payment_status_before
      - if no change, set by payment_status_before)
    h) reg_user_seq : 
      - if ADMIN, set admin user_seq
      - if scheduler, NULL
    i) reg_date : datetime when update

2.ADMIN
  1) when OrderService.update() is called AND order status is updated
    a) if it's called by Scheduler
      - INSERT st_order_change (job_type: scheduler) - scheduler_name / payment_status_before / payment_status_after are not set
    b) if it's called by ADMIN
      - INSERT st_order_change (job_type: admin)

3.API
  1) AgentController : storeOrderStatusNew()
    a) when OrderService.update() is called AND order status is updated - if payment_status is not changed, set payment_status_after by payment_status_before
      - INSERT st_order_change (job_type: agent)
  2) PosController : orderProductReceive()
    a) when OrderService.update() is called AND order status is updated
      - INSERT st_order_change (job_type: pos)
  3) OrderController : storeOrderCancel()
    a) when OrderService.update() is called AND order status is updated
      - INSERT st_order_change (job_type: app)

Actions #3

Updated by Deca Park 9 months ago

  • Assignee changed from Deca Park to bryant bryant
Actions #4

Updated by bryant bryant 9 months ago

  • Status changed from New to Resolved
  • Assignee changed from bryant bryant to Deca Park
Actions #5

Updated by Deca Park 8 months ago

[ADMIN] 스토리 오더 관리 > 주문 관리 (/storeOrder) > 상세 (Modify)

1.to-do

Actions #6

Updated by Deca Park 8 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Deca Park to bryant bryant
Actions #7

Updated by bryant bryant 8 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from bryant bryant to Deca Park
Actions #8

Updated by Deca Park 8 months ago

  • Assignee changed from Deca Park to Jisoo Choi
Actions #9

Updated by Jisoo Choi 8 months ago

 

 

 

 

스토리 쇼핑의 경우 결제상태 변경 전, 변경 후가 동일해도 두 개 모두 표시되고 있는데, 

스토리 오더의 경우 결제상태가 동일하면 변경 전만 표시되고 있습니다.

 

 

 

 

Actions #10

Updated by Deca Park 8 months ago

  • Assignee changed from Deca Park to Jisoo Choi
Actions #11

Updated by Jisoo Choi 8 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF