-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Job 支持容器执行 - 脚本任务 #2631 #2753
Conversation
(fileLog.getStatus().equals(FileDistStatusEnum.DOWNLOADING.getValue()) | ||
|| fileLog.getStatus().equals(FileDistStatusEnum.UPLOADING.getValue()) | ||
|| fileLog.getStatus().equals(FileDistStatusEnum.WAITING.getValue())) | ||
|| fileLog.getStatus().equals(FileDistStatusEnum.PULLING.getValue()))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议将状态判断逻辑放到FileDistStatusEnum类中实现,以利于后续扩展修改
(fileLog.getStatus().equals(FileDistStatusEnum.DOWNLOADING.getValue()) | ||
|| fileLog.getStatus().equals(FileDistStatusEnum.UPLOADING.getValue()) | ||
|| fileLog.getStatus().equals(FileDistStatusEnum.WAITING.getValue())) | ||
|| fileLog.getStatus().equals(FileDistStatusEnum.PULLING.getValue()))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议将状态判断逻辑放到FileDistStatusEnum类中实现,以利于后续扩展修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2个小问题需处理
DB 设计
服务层