外带模式创建订单不删除餐位费信息

This commit is contained in:
2024-10-08 16:16:56 +08:00
parent 6724635bcf
commit 6097c45d68

View File

@@ -1176,9 +1176,9 @@ public class CartService {
// 删除旧的餐位费信息
if (shopEatTypeInfoDTO.isTakeout() && seatCartInfo != null) {
cashierCartMapper.deleteByPrimaryKey(seatCartInfo.getId());
}
// if (shopEatTypeInfoDTO.isTakeout() && seatCartInfo != null) {
// cashierCartMapper.deleteByPrimaryKey(seatCartInfo.getId());
// }
if (!CollectionUtils.isEmpty(outRecords)) outRecordMapper.insertBatch(outRecords);