显式抛出
This commit is contained in:
@@ -219,7 +219,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
||||
}
|
||||
|
||||
@Override
|
||||
public HistoryOrderVo historyOrder(Long orderId, String tableCode) {
|
||||
public HistoryOrderVo historyOrder(Long orderId, String tableCode) throws CzgException {
|
||||
if (orderId == null && StrUtil.isBlank(tableCode)) {
|
||||
throw new CzgException("订单id或台桌码不可为空");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user