购物车只查询当天购物车,规格增加销量

This commit is contained in:
19991905653
2024-04-01 16:18:27 +08:00
parent bebbd8c3c3
commit 03a447d95b
6 changed files with 16 additions and 5 deletions

View File

@@ -61,7 +61,7 @@
</select>
<select id="selectByMaskerId" resultType="com.chaozhanggui.system.cashierservice.entity.TbCashierCart">
select *
from tb_cashier_cart where master_id = #{masterId} and shop_id = #{shopId} and status = #{status} order by id desc
from tb_cashier_cart where master_id = #{masterId} and shop_id = #{shopId} and status = #{status} and trade_day = #{day} order by id desc
</select>
<select id="selectCartList" resultType="com.chaozhanggui.system.cashierservice.entity.po.CartPo">
select shop_Id as shopId,master_id as masterId,uuid,