Project

General

Profile

Actions

Bug #166

closed

[API] 상품 품절 체크 (product sold-out check)

Added by Deca Park 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
11/23/2023
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

[API] product sold-out check

1.ProductService.getProductSoldOutYn()
  1) logic (change)
    a) As-is
      (product.getStockCount() != null && product.getStockCount() <= 0)
    b) To-be
      b-1) if  st_mall.krs_bsns_se_cd = '002' (with st_product.mall_code)
        - don't check product stock count

      b-2) else
        - check product stock count as current

Actions #1

Updated by bryant bryant 10 months ago

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

Updated by Deca Park 10 months ago

[ADMIN/API] OrderService.processRestoreStockCount()

1.fix logic
  1) if product.getStockCount() = NULL
    - SKIP updateStockCount

    - currently, although stock_count is NULL, stock_count is updated
 

Actions #3

Updated by Deca Park 10 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF