From e809f5955584e600d8612540ea814977c49774c2 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 27 八月 2025 23:51:54 +0800 Subject: [PATCH] 修改bug --- ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TAdditionalFeeController.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TAdditionalFeeController.java b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TAdditionalFeeController.java index fe516f4..f9a5fde 100644 --- a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TAdditionalFeeController.java +++ b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TAdditionalFeeController.java @@ -27,7 +27,7 @@ @Autowired private ITAdditionalFeeService additionalFeeService; - @Resource + @Autowired private ShiroExtUtil shiroExtUtil; @RequestMapping("") @@ -54,8 +54,9 @@ if (ToolUtil.isNotEmpty(state)){ wrapper.eq("state",state); } - - page.setRecords(additionalFeeService.selectMapsPage(page,wrapper).getRecords()); + Integer objectId = shiroExtUtil.getUser().getObjectId(); + wrapper.eq("companyId", objectId); + page.setRecords(additionalFeeService.selectMapsPage(page, wrapper).getRecords()); return super.packForBT(page); } -- Gitblit v1.7.1