diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/CartService.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/CartService.java index bd54919..cb7523a 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/CartService.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/CartService.java @@ -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);