| | |
| | | |
| | | @Autowired |
| | | private IOrderLogisticsService orderLogisticsService; |
| | | @Autowired |
| | | private ICompanyService companyService; |
| | | |
| | | @Value("${pushMinistryOfTransport}") |
| | | private boolean pushMinistryOfTransport; |
| | |
| | | return ResultUtil.error("该车辆正在服务中,请更换其他车辆"); |
| | | } |
| | | } |
| | | List<TUseMoney> tUseMoney = useMoneyMapper.selectList(null); |
| | | if (tUseMoney.get(0).getMoney()>driver.getBalance()){ |
| | | // List<TUseMoney> tUseMoney = useMoneyMapper.selectList(null); |
| | | Company company = companyService.selectById(driver.getCompanyId()); |
| | | if (company.getDriverRestriction()>driver.getBalance()){ |
| | | pushUtil.expireWork(uid,2); |
| | | return new ResultUtil(-1,"您的余额不足,请及时充值!"); |
| | | } |