diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/TransactionBillValidatorImpl.java b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/TransactionBillValidatorImpl.java index 41faa517..76b4c70a 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/TransactionBillValidatorImpl.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/TransactionBillValidatorImpl.java @@ -87,13 +87,12 @@ public class TransactionBillValidatorImpl extends BaseValidator implements Trans return error("当前设备Mac为空,无法充值"); } - // 判断设备是否有正在使用中的智能订单 + // 判断设备是否有正在使用中的订单 TransactionBillQuery query = new TransactionBillQuery(); query.setDeviceId(device.getDeviceId()); - query.setSuitFeeMode(SuitFeeMode.SMART.getMode()); List usingBill = transactionBillService.selectUsingBill(query); if (CollectionUtils.isNotEmptyElement(usingBill)) { - return error("设备有正在使用中的智能订单,暂时无法下单"); + return error("设备有正在使用中的订单,暂时无法下单"); } // 店铺