| | |
| | | new Thread(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | pushUtil.frozenOrder(finalOrderPrivateCar.getDriverId(),2); |
| | | pushUtil.pushOrderState(2, finalOrderPrivateCar.getDriverId(), finalOrderPrivateCar.getId(), 1, 7, 0, ""); |
| | | } |
| | | }).start(); |
| | | } |
| | | orderPrivateCar.setIsFrozen(orderPrivateCar.getIsFrozen()==1?2:1); |
| | | orderPrivateCar.setState(7); |
| | | tOrderPrivateCarService.updateAllColumnById(orderPrivateCar); |
| | | |
| | | return SUCCESS_TIP; |
| | |
| | | if(orderPrivateCar.getIsplatPay()==2){ |
| | | return "error"; |
| | | } |
| | | //添加已收入明细 |
| | | //添加已收入明细 |
| | | TCompany company = companyService.selectById(orderPrivateCar.getCompanyId()); |
| | | Double taxi = company.getSpeMoney().doubleValue(); |
| | | BigDecimal d = null;//企业收入 |
| | |
| | | driver.setBalance((null != driver.getBalance() ? driver.getBalance() : BigDecimal.ZERO).add(c).setScale(2, BigDecimal.ROUND_HALF_EVEN)); |
| | | driverService.updateById(driver); |
| | | orderPrivateCar.setIsplatPay(2); |
| | | orderPrivateCar.setPayManner(1); |
| | | orderPrivateCar.setState(8); |
| | | orderPrivateCar.setPayMoney(orderPrivateCar.getOrderMoney()); |
| | | tOrderPrivateCarService.updateAllColumnById(orderPrivateCar); |
| | | return SUCCESS_TIP; |
| | | } |