Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
fanxing3
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1db8e8d2
authored
Jul 26, 2022
by
毛树良
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
<fix>:判断任务是否需要被重新构建完善
1 parent
3ac5ed89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
fanxing-task/src/main/java/com/viontech/fanxing/task/utils/TaskUtils.java
fanxing-task/src/main/java/com/viontech/fanxing/task/utils/TaskUtils.java
View file @
1db8e8d
...
@@ -52,7 +52,7 @@ public enum TaskUtils {
...
@@ -52,7 +52,7 @@ public enum TaskUtils {
* @param present 现在的任务信息
* @param present 现在的任务信息
*/
*/
public
boolean
needRebuild
(
Task
original
,
Task
present
)
{
public
boolean
needRebuild
(
Task
original
,
Task
present
)
{
return
(!
Objects
.
equals
(
original
.
getRuntimeConf
(),
equals
(
present
.
getRuntimeConf
()
)))
return
(!
Objects
.
equals
(
original
.
getRuntimeConf
(),
present
.
getRuntimeConf
(
)))
||
(!
Objects
.
equals
(
original
.
getStoreConfigId
(),
present
.
getStoreConfigId
()))
||
(!
Objects
.
equals
(
original
.
getStoreConfigId
(),
present
.
getStoreConfigId
()))
||
(!
Objects
.
equals
(
original
.
getResourceNeed
(),
present
.
getResourceNeed
()))
||
(!
Objects
.
equals
(
original
.
getResourceNeed
(),
present
.
getResourceNeed
()))
||
(!
Objects
.
equals
(
original
.
getVaType
(),
present
.
getVaType
()));
||
(!
Objects
.
equals
(
original
.
getVaType
(),
present
.
getVaType
()));
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment