| | |
| | | |
| | | @Service |
| | | public class NettyServiceImpl implements INettyService { |
| | | |
| | | |
| | | @Resource |
| | | private DriverWorkMapper driverWorkMapper; |
| | | |
| | | |
| | | @Resource |
| | | private PushOrderMapper pushOrderMapper; |
| | | |
| | | |
| | | @Resource |
| | | private PushAuxiliaryMapper pushAuxiliaryMapper; |
| | | |
| | | @Autowired |
| | | private RedisTemplate redisTemplate; |
| | | |
| | | @Resource |
| | | private RedisTemplate<String, Object> redisTemplate; |
| | | |
| | | @Autowired |
| | | private IOrderTaxiService orderTaxiService; |
| | | |
| | | |
| | | @Autowired |
| | | private GDMapElectricFenceUtil gdMapElectricFenceUtil; |
| | | |
| | | |
| | | @Autowired |
| | | private IOrderPositionService orderPositionService; |
| | | |
| | | |
| | | @Autowired |
| | | private IDriverOrdersService driverOrdersService; |
| | | |
| | |
| | | } |
| | | |
| | | //查看是否有可接单的数据 |
| | | String value = (String) redisTemplate.opsForValue().get("DRIVER" + String.valueOf(uid)); |
| | | String value = (String) redisTemplate.opsForValue().get("dache:DRIVER" + String.valueOf(uid)); |
| | | if(ToolUtil.isNotEmpty(value)){ |
| | | String[] split = value.split(","); |
| | | List<OrderStatusWarpper> list1 = this.searchOrder(split[0], split[1], uid); |