개선(improvement) #307
closed[Improvement] Replace orders of list - add Drag/Drop
Description
Description:
1. The ability to change the order with drag and drop should only be applied within the same city. Items within the same city can only be changed.
2. If you change the order by drag and drop and save it, it means that the same order will be applied to the B2C site as well.
If you swap the positions of product 1 and product 2 in the admin, it will appear in the 2-1 order in the admin, and the B2C site will also show the 2-1 order.

Script update ranking_order product hotel:
UPDATE BS_EVENT_PRODUCT ep
JOIN (
SELECT
PRODUCT_CODE,
EVENT_MASTER_SEQ,
ROW_NUMBER() OVER (
PARTITION BY EVENT_CITY_GROUP_SEQ
ORDER BY RANKING_ORDER
) AS new_rank
FROM BS_EVENT_PRODUCT
) ranked ON ep.PRODUCT_CODE = ranked.PRODUCT_CODE
AND ep.EVENT_MASTER_SEQ = ranked.EVENT_MASTER_SEQ
SET ep.RANKING_ORDER = ranked.new_rank;
Script update ranking_order product group hotel:
UPDATE BS_EVENT_CITY_GROUP ep
JOIN (
SELECT
EVENT_CITY_GROUP_SEQ,
EVENT_MASTER_SEQ,
ROW_NUMBER() OVER (
PARTITION BY EVENT_MASTER_SEQ
ORDER BY RANKING_ORDER
) AS new_rank
FROM BS_EVENT_CITY_GROUP
) ranked ON ep.EVENT_MASTER_SEQ = ranked.EVENT_MASTER_SEQ
AND ep.EVENT_CITY_GROUP_SEQ = ranked.EVENT_CITY_GROUP_SEQ
SET ep.RANKING_ORDER = ranked.new_rank;
Files
Updated by Joseph Vo 10 months ago
- Assignee changed from Joseph Vo to John Lee
- Priority changed from 높음(High) to 보통(Normal)
ziniy Kang is this task High Priority? We can use the input order number instead.
I already changed the priority to normal.
John Lee please proceed this task after you finish your current tasks
Updated by ziniy Kang 10 months ago
- Priority changed from 보통(Normal) to 높음(High)
Updated by ziniy Kang 10 months ago
Yes, the task was processed with High priority.
This issue was originally requested by the marketing team a while ago.
They mentioned that the overall development has been completed, except for the Drag & Drop part, which is still pending.
Updated by John Lee 10 months ago
- Assignee changed from John Lee to ziniy Kang
hi c ziniy Kang , please help me add description or figma for B2C frontpages follow above requirement
Updated by ziniy Kang 10 months ago
Tại trang Event & Deals, Product Group và Product List cần có chức năng kéo và thả (drag & drop) để thay đổi thứ tự.
Thứ tự sau khi sắp xếp này phải được áp dụng cho danh sách khách sạn trong trang promotion tương ứng.
On the Event & Deals page, the Product Group and Product List should support drag-and-drop to change the order.
The updated order must be reflected in the hotel list on the corresponding promotion page.
Event & Deals 페이지에 Product Group과 Product List 가 드래그 앤 드롭으로 순서 변경이 가능하고, 이 내용이 기획전 호텔 리스트에 적용이 되어야 한다는 것입니다.
Updated by John Lee 9 months ago
- Assignee changed from John Lee to ziniy Kang
- Build env. set to Dev
Hi c ziniy Kang, this task is reflected on dev now. Please help me verify it. Thank you!
Updated by ziniy Kang 9 months ago
- Assignee changed from ziniy Kang to John Lee
- Build env. changed from Dev to Staging
STG test done.
Updated by ziniy Kang 9 months ago
- Status changed from 피드백(Feedback) to 완료(Done)
need to built in prod at 2025/06/05.
Updated by ziniy Kang 9 months ago
- Status changed from 완료(Done) to 완료성공(Resolve)