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/specialTrain/TDispatchController.java | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TDispatchController.java b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TDispatchController.java index 2e7b2a1..0fc8764 100644 --- a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TDispatchController.java +++ b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TDispatchController.java @@ -67,7 +67,6 @@ model.addAttribute("roleType", shiroExtUtil.getUser().getRoleType()); List<TCompany> companyList = tCompanyService.selectList(new EntityWrapper<TCompany>().eq("type", 2) - .eq("isCross", 1) .last(" and state != 1 and FIND_IN_SET(flag,'1,2')")); model.addAttribute("companyList", companyList); @@ -113,19 +112,16 @@ model.addAttribute("roleType", roleType); if (1 == roleType) { List<TCompany> companyList = tCompanyService.selectList(new EntityWrapper<TCompany>().eq("type", 2) - .eq("isCross", 1) .last(" and state != 1 and FIND_IN_SET(flag,'1,2')")); model.addAttribute("companyList", companyList); List<TCompany> franchiseeList = tCompanyService.selectList(new EntityWrapper<TCompany>().eq("type", 3) .eq("superiorId", tDispatch.getCompanyId()) - .eq("isCross", 1) .last(" and state != 1 and FIND_IN_SET(flag,'1,2')")); model.addAttribute("franchiseeList",franchiseeList); }else if (2 == roleType){ List<TCompany> franchiseeList = tCompanyService.selectList(new EntityWrapper<TCompany>().eq("type", 3) .eq("superiorId", shiroExtUtil.getUser().getObjectId()) - .eq("isCross", 1) .last(" and state != 1 and FIND_IN_SET(flag,'1,2')")); model.addAttribute("franchiseeList",franchiseeList); } -- Gitblit v1.7.1