Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HYH.APSJ
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
佟礼
HYH.APSJ
Commits
f322e462
Commit
f322e462
authored
Jun 10, 2026
by
Tong Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
6c291a36
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
GeneticDecoder.java
src/main/java/com/aps/service/Algorithm/GeneticDecoder.java
+1
-1
PlanResultService.java
src/main/java/com/aps/service/plan/PlanResultService.java
+3
-1
PlanResultServiceTest.java
src/test/java/com/aps/demo/PlanResultServiceTest.java
+1
-1
No files found.
src/main/java/com/aps/service/Algorithm/GeneticDecoder.java
View file @
f322e462
...
@@ -1633,7 +1633,7 @@ if(groupId==7)
...
@@ -1633,7 +1633,7 @@ if(groupId==7)
bomtime
=
getOperationBOMTime
(
operation
,
chromosome
,
earliestStartTime
,
2
);
bomtime
=
getOperationBOMTime
(
operation
,
chromosome
,
earliestStartTime
,
2
);
earliestStartTime
=
Math
.
max
(
earliestStartTime
,
bomtime
);
earliestStartTime
=
Math
.
max
(
earliestStartTime
,
bomtime
);
//倒排需要工序排完再验证原材料,保证bom供应商就行
//倒排需要工序排完再验证原材料,保证bom供应商就行
FileHelper
.
writeLogFile
(
"工序:"
+
operation
.
getId
()+
"BOMTIME:"
+
bomtime
);
//
FileHelper.writeLogFile("工序:"+operation.getId()+ "BOMTIME:"+bomtime);
}
}
}
}
...
...
src/main/java/com/aps/service/plan/PlanResultService.java
View file @
f322e462
...
@@ -177,7 +177,9 @@ public class PlanResultService {
...
@@ -177,7 +177,9 @@ public class PlanResultService {
* 后续会按场景创建人自动回退到可用的策略配置。
* 后续会按场景创建人自动回退到可用的策略配置。
*/
*/
public
Chromosome
execute2
(
String
SceneId
)
{
public
Chromosome
execute2
(
String
SceneId
)
{
return
execute2
(
SceneId
,
2361
l
,
241
l
,
null
);
// return execute2(SceneId, 2361l, 241l, null);
return
execute2
(
SceneId
,
2321
l
,
207
l
,
null
);
}
}
/**
/**
...
...
src/test/java/com/aps/demo/PlanResultServiceTest.java
View file @
f322e462
...
@@ -43,7 +43,7 @@ public class PlanResultServiceTest {
...
@@ -43,7 +43,7 @@ public class PlanResultServiceTest {
// planResultService.execute2("64E64F6B68094AF38CEDC418630C3CC2");//2000
// planResultService.execute2("64E64F6B68094AF38CEDC418630C3CC2");//2000
// planResultService.execute2("E1448B3C9C8743DEAB39708F2CFE348A");//倒排bomces
// planResultService.execute2("E1448B3C9C8743DEAB39708F2CFE348A");//倒排bomces
planResultService
.
execute2
(
"
29C78D0363244300BBB149E7D7873AF1
"
);
planResultService
.
execute2
(
"
197083D0D26A449EB179AC103C753FD3
"
);
// planResultService.execute2("15210B13B88A453F8B84AAC7F16C7541");//2000
// planResultService.execute2("15210B13B88A453F8B84AAC7F16C7541");//2000
// planResultService.execute2("E29F2B3ADA8149F6B916B5119296A92B");//2000
// planResultService.execute2("E29F2B3ADA8149F6B916B5119296A92B");//2000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment