1.代客下单 已出餐商品不支持操作

This commit is contained in:
2024-08-29 15:54:26 +08:00
parent 92c4f1ca3a
commit ee5cb7d4ba

View File

@@ -1114,7 +1114,7 @@ public class OrderService {
if (orderId > 0) {
TbOrderInfo orderInfo = tbOrderInfoMapper.selectByPrimaryKey(orderId);
if (ids.isEmpty() && "postPay".equals(orderInfo.getUseType())) {
return Result.success(CodeEnum.SUCCESS);
return Result.success(CodeEnum.SUCCESS, proName + "商品已出餐,无法删除", null);
}
// 返还耗材