Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
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
platform
hg-smart
Commits
22ac8838
Commit
22ac8838
authored
May 28, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目立项bugfix;
parent
50d9760f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+4
-0
No files found.
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
22ac8838
...
@@ -159,6 +159,10 @@ public class HGSCTools {
...
@@ -159,6 +159,10 @@ public class HGSCTools {
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
long
count
=
stringList
.
stream
().
distinct
().
count
();
long
count
=
stringList
.
stream
().
distinct
().
count
();
AssertUtils
.
isTrue
(
stringList
.
size
()
!=
count
,
"项目负责人重复!"
);
AssertUtils
.
isTrue
(
stringList
.
size
()
!=
count
,
"项目负责人重复!"
);
objList
.
stream
().
forEach
(
o
->
{
AssertUtils
.
isEmpty
(
o
.
getUserCode
(),
"请选择负责人!"
);
});
}
}
public
static
List
<
HGSC001A
>
save
(
List
<
HGSC001A
>
hgsc001AList
,
Long
projId
){
public
static
List
<
HGSC001A
>
save
(
List
<
HGSC001A
>
hgsc001AList
,
Long
projId
){
...
...
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