fix: 购物车角标数目不准确修复
This commit is contained in:
@@ -537,9 +537,10 @@
|
||||
shop_id = #{shopId}
|
||||
AND product_id = #{productId}
|
||||
AND `status` = 'create'
|
||||
and master_id = #{masterId}
|
||||
AND created_at > DATE_SUB(NOW(), INTERVAL 1 DAY)
|
||||
AND (master_id = #{masterId} OR master_id IS NULL)
|
||||
and table_id = #{tableId}
|
||||
and trade_day = #{day}
|
||||
AND use_type = #{useType}
|
||||
group by shop_id,product_id
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user