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/TOrderPrivateCarController.java | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TOrderPrivateCarController.java b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TOrderPrivateCarController.java index 8637767..c5df5f1 100644 --- a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TOrderPrivateCarController.java +++ b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TOrderPrivateCarController.java @@ -129,7 +129,8 @@ Integer rideType, Integer abnormal, Integer promotion, - String promotionUser + String promotionUser, + Integer payType ) { String beginTime = null; String endTime = null; @@ -140,7 +141,7 @@ } Page<Map<String, Object>> page = new PageFactory<Map<String, Object>>().defaultPage(); page.setRecords(tOrderPrivateCarService.getPrivateCarOrderList(page, beginTime, endTime, shiroExtUtil.getUser().getRoleType(), shiroExtUtil.getUser().getObjectId(), - orderNum, orderSource, userName, userPhone, passengers, passengersPhone, serverCarModelId, driver, state, rideType, abnormal, promotion, promotionUser,null)); + orderNum, orderSource, userName, userPhone, passengers, passengersPhone, serverCarModelId, driver, state, rideType, abnormal, promotion, promotionUser,null, payType)); return super.packForBT(page); } @@ -160,7 +161,7 @@ Integer rideType, Integer abnormal, Integer promotion, - String promotionUser, HttpServletRequest request, HttpServletResponse response) { + String promotionUser, Integer payType, HttpServletRequest request, HttpServletResponse response) { try { String beginTime = null; String endTime = null; @@ -199,6 +200,7 @@ shellList.add("接单车辆"); shellList.add("订单金额"); shellList.add("状态"); + shellList.add("支付方式"); shellList.add("是否异常订单"); shellList.add("是否推广订单"); shellList.add("推广员姓名"); @@ -379,7 +381,22 @@ break; } } - + if(SinataUtil.isNotEmpty(object.get("payType"))){ + switch (object.get("payType").toString()){ + case "1": + shellList.add("微信"); + break; + case "3": + shellList.add("余额"); + break; + case "5": + shellList.add("备付金"); + break; + default: + shellList.add("-"); + break; + } + } if(SinataUtil.isNotEmpty(object.get("abnormal"))){ shellList.add(object.get("abnormal").toString().equals("1")?"否":"是"); -- Gitblit v1.7.1