失败重试 failRetryMoveTasks

20230922-ljl-fixBug
laolin 1 year ago
parent 37e1668088
commit 0611b513e9

@ -100,6 +100,13 @@ public class FailRetryMoveTasksService extends SPIBaseService implements Extensi
if (BeanUtil.isEmpty(moveCollectTask.getCondition())) { if (BeanUtil.isEmpty(moveCollectTask.getCondition())) {
return R.fail("未找到配置信息!无法重试,请使用链接重新搬家!"); return R.fail("未找到配置信息!无法重试,请使用链接重新搬家!");
} }
/**
*condition
$condition['filterSkipReason'][$detailId] = [];
if($reason) {
$condition['filterSkipReason'][$detailId][] = $reason;
}
*/
if (Objects.equals(moveCollectTaskDetail.getStatus(), StatusConst.fail) || Objects.equals(moveCollectTaskDetail.getStatus(), StatusConst.cancel) if (Objects.equals(moveCollectTaskDetail.getStatus(), StatusConst.fail) || Objects.equals(moveCollectTaskDetail.getStatus(), StatusConst.cancel)
|| Objects.equals(moveCollectTaskDetail.getStatus(), StatusConst.delete) || Objects.equals(moveCollectTaskDetail.getStatus(), StatusConst.skip)) { || Objects.equals(moveCollectTaskDetail.getStatus(), StatusConst.delete) || Objects.equals(moveCollectTaskDetail.getStatus(), StatusConst.skip)) {

Loading…
Cancel
Save