| | |
| | | company = companyService.selectById(driver.getCompanyId()); |
| | | } |
| | | TransactionDetails transactionDetails = new TransactionDetails(); |
| | | driver.setBalance(driver.getBalance() - company.getFixedDeduction()); |
| | | transactionDetails.setMoney(company.getFixedDeduction()); |
| | | driver.setBalance(driver.getBalance() - company.getMeterPrintingFee()); |
| | | transactionDetails.setMoney(company.getMeterPrintingFee()); |
| | | // 新增扣除使用费记录 |
| | | transactionDetails.setUserId(driver.getId()); |
| | | transactionDetails.setInsertTime(new Date()); |
| | |
| | | System.err.println("订单数据异常:" + orderId); |
| | | return false; |
| | | } |
| | | if(orderTaxi.getState() != 5){ |
| | | return false; |
| | | } |
| | | OrderPosition orderPosition = orderPositionService.queryNew(orderId, 2); |
| | | String now = lon + "," + lat; |
| | | String old = null; |