diff --git a/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppTransactionBillController.java b/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppTransactionBillController.java index aab332e5..26b6d165 100644 --- a/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppTransactionBillController.java +++ b/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppTransactionBillController.java @@ -222,6 +222,7 @@ public class AppTransactionBillController extends BaseController ServiceUtil.assertion(!deviceValidator.isBelong(deviceId, getUserId()), "这不是您的设备,无法查询"); TransactionBillQuery query = new TransactionBillQuery(); query.setDeviceId(deviceId); + query.setMchId(getUserId()); query.setType(TransactionBillType.RECHARGE.getType()); query.setStatus(TransactionBillStatus.SUCCESS.getStatus()); startPage();