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
992e95ae
Commit
992e95ae
authored
Dec 23, 2025
by
Tong Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
遗传算法-优化
parent
dcf3cafd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
MaterialRequirementService.java
...com/aps/service/Algorithm/MaterialRequirementService.java
+1
-0
application.yml
src/main/resources/application.yml
+1
-1
PlanResultServiceTest.java
src/test/java/com/aps/demo/PlanResultServiceTest.java
+1
-1
No files found.
src/main/java/com/aps/service/Algorithm/MaterialRequirementService.java
View file @
992e95ae
...
...
@@ -100,6 +100,7 @@ public class MaterialRequirementService {
List
<
Entry
>
_newEntrys
=
new
ArrayList
<>();
List
<
Machine
>
_newMachines
=
new
ArrayList
<>();
List
<
Integer
>
routingIds
=
_allOperations
.
stream
()
.
filter
(
t
->
t
.
getRoutingId
()!=
null
)
.
map
(
Entry:
:
getRoutingId
)
.
distinct
()
.
collect
(
Collectors
.
toList
());
...
...
src/main/resources/application.yml
View file @
992e95ae
...
...
@@ -12,7 +12,7 @@ spring:
redis
:
host
:
39.100.88.40
port
:
6379
timeout
:
10000
timeout
:
1
2
0000
database
:
10
password
:
redis@228!
# Swagger 配置
...
...
src/test/java/com/aps/demo/PlanResultServiceTest.java
View file @
992e95ae
...
...
@@ -26,7 +26,7 @@ public class PlanResultServiceTest {
@Test
public
void
testExecute
()
{
planResultService
.
execute2
(
"
1D233450774C420B9165A6AE6E616F67
"
);
planResultService
.
execute2
(
"
6DB2311203C44FABBAE966A42D0A5C8E
"
);
// LocalDateTime t= LocalDateTime.of(2025, 11, 15, 6, 51, 11);
// List<Integer> opids=new ArrayList<>();
...
...
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