Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
klck
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
位宇华
klck
Commits
5222d965
Commit
5222d965
authored
May 24, 2024
by
Fuzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改实体类
parent
085f8824
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ruoyi-supplies/src/main/java/com/ruoyi/system/service/impl/ActMaterialServiceImpl.java
...com/ruoyi/system/service/impl/ActMaterialServiceImpl.java
+8
-0
No files found.
ruoyi-supplies/src/main/java/com/ruoyi/system/service/impl/ActMaterialServiceImpl.java
View file @
5222d965
...
@@ -31,6 +31,14 @@ public class ActMaterialServiceImpl implements ActMaterialService {
...
@@ -31,6 +31,14 @@ public class ActMaterialServiceImpl implements ActMaterialService {
if
(
actMaterialVO
==
null
||
actMaterialVO
.
size
()
==
0
){
if
(
actMaterialVO
==
null
||
actMaterialVO
.
size
()
==
0
){
ActSuppliesDetails
actSuppliesDetails
=
new
ActSuppliesDetails
();
ActSuppliesDetails
actSuppliesDetails
=
new
ActSuppliesDetails
();
List
<
ActSuppliesDetails
>
details
=
actSuppliesDetailsMapper
.
selectActSuppliesDetailsMaterialListPZ
(
actSuppliesDetails
);
List
<
ActSuppliesDetails
>
details
=
actSuppliesDetailsMapper
.
selectActSuppliesDetailsMaterialListPZ
(
actSuppliesDetails
);
if
(
mineId
.
equals
(
"011704"
)){
details
.
parallelStream
()
.
filter
(
v
->
v
.
getCode
().
startsWith
(
"30"
)
||
v
.
getCode
().
startsWith
(
"31"
)
||
v
.
getCode
().
startsWith
(
"32"
)
||
v
.
getCode
().
startsWith
(
"33"
)
||
v
.
getCode
().
startsWith
(
"34"
)
||
v
.
getCode
().
startsWith
(
"35"
)
||
v
.
getCode
().
startsWith
(
"36"
))
.
forEach
(
v
->
v
.
setCodes
(
"04"
));
details
.
parallelStream
().
filter
(
v
->
v
.
getCode
().
startsWith
(
"6199"
)).
forEach
(
v
->
v
.
setCodes
(
"10"
));
}
return
AjaxResult
.
success
(
details
);
return
AjaxResult
.
success
(
details
);
}
}
return
AjaxResult
.
success
(
actMaterialVO
);
return
AjaxResult
.
success
(
actMaterialVO
);
...
...
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