Project

General

Profile

Actions

New Function #309

closed

[APP/ADMIN] 수령번호 추가

Added by Jisoo Choi 10 months ago. Updated 10 months ago.

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

0%

Estimated time:
Spent time:

Description

 

 

 

스토리 오더 매장 주문 데이터에 '수령번호' 추가를 부탁드립니다.

(특정 주문 상태로 바뀔 때 생성하면 너무 복잡할 것 같아서) 수령번호는 주문 데이터가 생성되는 시점에 동일하게 생성하도록 할 예정입니다.

 

매장별, 일자별로 주문 데이터가 생성될 때 함께 생성되는 값입니다.

- A 매장의 1월 1일 첫 주문 : 수령번호 001

- B 매장의 1월 1일 첫 주문 : 수령번호 001

- A 매장의 1월 2일 첫 주문 : 수령번호 001

 

수령번호 범위는 001~999입니다. 가능하다면 1을 '001'로 표시할 수 있도록 부탁드립니다.

 

앱에는 '주문 확정', '수령 대기중' 시점에만 표출되도록 할 예정입니다.

 

API에 추가 시 agent에서의 사용 예정이고, pos에서도 사용할 가능성이 있어 그쪽으로도 추가해주시면 좋을 것 같습니다.

 

ppt, pdf 내용 동일합니다.

 

 

 

 


Files

Actions #1

Updated by Deca Park 10 months ago

[APP / ADMIN] smart order > 수령번호 (receive no)

1.Spec

  • refer to 코레일유통_수령번호_en.pptx
Actions #2

Updated by Deca Park 10 months ago

[API] POST /api/store_order

1.when INSERT st_order
  1) if payment_amount = 0 (smart_order_status='SS01')
    a) set receive_no (new)
      a-1) rule
        - next seq no : ex) 001,002,... (default length: 3)
        - group by mall_code, reg_date
          (ex)
          A mall, 2024-01-11 12:00 -> 001
          A mall, 2024-01-11 13:00- > 002
          A mall, 2024-01-12 13:00- > 001

[API] POST /api/pay_confirm

1.when UPDATE st_order
  1) set receive_no (new)
    - same with [API] /api/store_order

[API] (GET) /api/agent/store_order_list
      (GET) /api/pos/order
      (GET) /api/order/list
      (GET) /api/store_ongoing_order_list

1.Response
  1) add 1 field
    - receive_no : 수령번호 (string)

Actions #3

Updated by Deca Park 10 months ago

  • Assignee changed from Deca Park to Toby Pham
Actions #4

Updated by Toby Pham 10 months ago

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

Updated by Jisoo Choi 10 months ago

 

 

 

퍼블리싱 수정된 파일입니다.

[마이페이지 - 주문내역 - 스토리오더 탭] 수령번호 추가

 

 

 

Actions #6

Updated by Deca Park 10 months ago

[APP] Mypage > 주문내역(/mypage/order) > 수령번호 (receive no)

1.apply design html

  • refer to attach file

2.although receive_no exists, it's not displayed

  • test id/pass: dev01/123456
Actions #7

Updated by Deca Park 10 months ago

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

Updated by Deca Park 10 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Toby Pham to Jisoo Choi
Actions #9

Updated by Jisoo Choi 10 months ago

  • Status changed from Resolved to Closed
Actions #10

Updated by Jisoo Choi 10 months ago

 

 

 

 

수령번호의 형태를

- 기존 : 001 ~ 999

에서

- 수정 : 9001 ~ 9999

로 수정 부탁드립니다. 9는 고정으로 앞에 붙는 값이고, 001~009 및 기타 내용에는 변동사항이 없습니다.

네 자릿수가 필요해서 앞에 9를 붙여달라는 요청을 받은 상태입니다. 

 

 

 

 

Actions #11

Updated by Jisoo Choi 10 months ago

  • Status changed from Closed to In Progress
  • Assignee changed from Jisoo Choi to Deca Park
Actions #12

Updated by Deca Park 10 months ago

  • Assignee changed from Deca Park to Toby Pham

[API] POST /api/store_order, POST /api/pay_confirm

1.set 수령번호 (receive_no) - change rule

  1) As-is (3 length)
    - 001,002
  2) To-be (4 length)
    - 9001, 9002, 

Actions #13

Updated by Toby Pham 10 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Toby Pham to Deca Park
Actions #14

Updated by Deca Park 10 months ago

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

Updated by Jisoo Choi 10 months ago

  • Status changed from Resolved to Closed
Actions #16

Updated by Jisoo Choi 10 months ago

 

 

 

현재 동일 매장에 주문 데이터 생성 시,

9001 -> 9002 -> 9003 -> 9004 -> ... -> 9999 가 아니라

9001 -> 9900 -> 9990 으로 생성되고 있습니다.

 

(개발 관리자 페이지 주문번호)

240123153914PWOO

240123172243YKVT

240123172350PMZN

 

 

 

Actions #17

Updated by Jisoo Choi 10 months ago

  • Status changed from Closed to In Progress
  • Assignee changed from Jisoo Choi to Deca Park
Actions #18

Updated by Deca Park 10 months ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Deca Park to Toby Pham

[API] OrderMapper.getReceiveNoByMallCode

1.receive_no (fix logic)

  • because prefix '9' is added, when get next no, first prefix('9') should exclude
Actions #19

Updated by Toby Pham 10 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Toby Pham to Deca Park
Actions #20

Updated by Deca Park 10 months ago

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

Updated by Jisoo Choi 10 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF