|
|
@@ -305,8 +305,8 @@ public class AAutoNodeLogServiceImpl extends SuperServiceImpl<AAutoNodeLogMapper
|
|
|
@Override
|
|
|
public AAutoNodeLog confirmCallback() {
|
|
|
LbqWrapper<AAutoNodeLog> lbqWrapper = new LbqWrapper<AAutoNodeLog>();
|
|
|
- lbqWrapper.eq(AAutoNodeLog::getExeStatus, "2").isNotNull(AAutoNodeLog::getTaskNodeId).isNotNull(AAutoNodeLog::getRequestParameter)
|
|
|
- .lt(AAutoNodeLog::getStartTime, DateUtil.getAddSecondsTime(new Date(), TIMEOUT_THRESHOLD_SEC)).orderByDesc(AAutoNodeLog::getCreateTime);
|
|
|
+ lbqWrapper.eq(AAutoNodeLog::getExeStatus, "2").isNotNull(AAutoNodeLog::getTaskNodeId).isNotNull(AAutoNodeLog::getRequestParameter).eq(AAutoNodeLog::getSendStatus, "1")
|
|
|
+ .gt(AAutoNodeLog::getEndTime, DateUtil.getAddSecondsTime(new Date(), TIMEOUT_THRESHOLD_SEC)).orderByDesc(AAutoNodeLog::getCreateTime);
|
|
|
List<AAutoNodeLog> robotLogList = aAutoNodeLogService.list(lbqWrapper);
|
|
|
|
|
|
Optional<AAutoNodeLog> aAutoNodeLog = robotLogList.stream().filter(item->{
|