调整订单逻辑,增加店内外带用餐方式,增加多次下单标记

This commit is contained in:
2024-09-24 09:55:21 +08:00
parent 7adf50ab99
commit ca49d31260
24 changed files with 1069 additions and 1798 deletions

View File

@@ -80,7 +80,7 @@
select shop_Id as shopId,master_id as masterId,uuid,
TRIM(TRAILING ', ' FROM GROUP_CONCAT(name ORDER BY id SEPARATOR ', ')) AS productName,
pending_at as pendingAt,
ifnull(sum(total_amount),0) as totalAmount
ifnull(sum(total_amount),0) as totalAmount, order_id as orderId
from tb_cashier_cart where shop_id = #{shopId} and status = 'refund' group by shop_Id, master_id order by trade_day desc
</select>
<select id="selectAllCreateOrder" resultType="com.chaozhanggui.system.cashierservice.entity.TbCashierCart">