1
This commit is contained in:
parent
e188fbd3a2
commit
5ebb3a8d2a
@ -39,6 +39,9 @@ public class RescueDriverSocket {
|
|||||||
return appcontext;
|
return appcontext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void init(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建连接
|
* 创建连接
|
||||||
|
@ -435,7 +435,7 @@ public class RescueInfoServiceImpl extends ServiceImpl<RescueInfoMapper, RescueI
|
|||||||
rescueInfo.setRescueStatus(null);
|
rescueInfo.setRescueStatus(null);
|
||||||
}
|
}
|
||||||
// 取消订单时删除定时任务
|
// 取消订单时删除定时任务
|
||||||
if (rescueInfo.getRescueStatus().equals("0")) {
|
if (null!=rescueInfo && StringUtils.isNotEmpty(rescueInfo.getRescueStatus()) && rescueInfo.getRescueStatus().equals("0")) {
|
||||||
redissonDelayQueue.removeAllTasks(rescueInfo.getId());
|
redissonDelayQueue.removeAllTasks(rescueInfo.getId());
|
||||||
}
|
}
|
||||||
return baseMapper.updateById(rescueInfo);
|
return baseMapper.updateById(rescueInfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user