显式抛出

This commit is contained in:
2025-11-14 16:44:32 +08:00
parent 54ef1906ef
commit 1142caaa68
2 changed files with 3 additions and 2 deletions

View File

@@ -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或台桌码不可为空");
}