diff --git a/coolstore-partner-dao/src/main/resources/mapper/order/StoreOrderOptionSnapshotMapper.xml b/coolstore-partner-dao/src/main/resources/mapper/order/StoreOrderOptionSnapshotMapper.xml index 19372f21a..c2dea1280 100644 --- a/coolstore-partner-dao/src/main/resources/mapper/order/StoreOrderOptionSnapshotMapper.xml +++ b/coolstore-partner-dao/src/main/resources/mapper/order/StoreOrderOptionSnapshotMapper.xml @@ -66,9 +66,9 @@ a.create_time, a.option_unit FROM zxjp_store_order_option_snapshot a left join - sys_dict_column_5558ce7a3aa84e3590392fcaa8697ffb b on a.category_code = b.column_code + zxjp_cfg_item_category b on a.category_code = b.category_code WHERE order_id = #{orderId} - ORDER BY b.id asc,a.id ASC + ORDER BY b.sort_no asc,a.id ASC