1.代客下单 已出餐商品不支持操作
This commit is contained in:
@@ -1114,7 +1114,7 @@ public class OrderService {
|
|||||||
if (orderId > 0) {
|
if (orderId > 0) {
|
||||||
TbOrderInfo orderInfo = tbOrderInfoMapper.selectByPrimaryKey(orderId);
|
TbOrderInfo orderInfo = tbOrderInfoMapper.selectByPrimaryKey(orderId);
|
||||||
if (ids.isEmpty() && "postPay".equals(orderInfo.getUseType())) {
|
if (ids.isEmpty() && "postPay".equals(orderInfo.getUseType())) {
|
||||||
return Result.success(CodeEnum.SUCCESS);
|
return Result.success(CodeEnum.SUCCESS, proName + "商品已出餐,无法删除", null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 返还耗材
|
// 返还耗材
|
||||||
|
|||||||
Reference in New Issue
Block a user