| | |
| | | try { |
| | | String[] split = orderId.split(","); |
| | | Double aDouble = orderService.queryReassignMoney(Integer.valueOf(split[0]), orderType); |
| | | if(Objects.isNull(aDouble)){ |
| | | return ResultUtil.error("未设置改派金额",null); |
| | | } |
| | | BaseWarpper baseWarpper = new BaseWarpper(); |
| | | if(orderType == 3){ |
| | | aDouble = aDouble * split.length; |
| | |
| | | transactionDetailsService.saveDataTaxi(driver.getId(), "完成订单", moneyTwo, 1, 1, 2, 2, orderTaxi.getId(),placeOrderWay,company.getId()); |
| | | |
| | | driverService.updateById(driver); |
| | | |
| | | pushUtil.pushOrderState(1, orderTaxi.getUserId(), orderTaxi.getId(), 2, orderTaxi.getState()); |
| | | |
| | | return ResultUtil.success(); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |