外带模式创建订单不删除餐位费信息
This commit is contained in:
@@ -1176,9 +1176,9 @@ public class CartService {
|
|||||||
|
|
||||||
|
|
||||||
// 删除旧的餐位费信息
|
// 删除旧的餐位费信息
|
||||||
if (shopEatTypeInfoDTO.isTakeout() && seatCartInfo != null) {
|
// if (shopEatTypeInfoDTO.isTakeout() && seatCartInfo != null) {
|
||||||
cashierCartMapper.deleteByPrimaryKey(seatCartInfo.getId());
|
// cashierCartMapper.deleteByPrimaryKey(seatCartInfo.getId());
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (!CollectionUtils.isEmpty(outRecords)) outRecordMapper.insertBatch(outRecords);
|
if (!CollectionUtils.isEmpty(outRecords)) outRecordMapper.insertBatch(outRecords);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user