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
855a002b
Commit
855a002b
authored
Jul 01, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工序质检单合格、不合格数量不能都为0
parent
eeacca29
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
HGKCTools.java
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
+1
-0
No files found.
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
View file @
855a002b
...
@@ -246,6 +246,7 @@ public class HGKCTools {
...
@@ -246,6 +246,7 @@ public class HGKCTools {
AssertUtils
.
isEmpty
(
hgzl002
.
getProductCode
(),
"存货编码不能为空!"
);
AssertUtils
.
isEmpty
(
hgzl002
.
getProductCode
(),
"存货编码不能为空!"
);
AssertUtils
.
isEmpty
(
hgzl002
.
getProductName
(),
"存货名称不能为空!"
);
AssertUtils
.
isEmpty
(
hgzl002
.
getProductName
(),
"存货名称不能为空!"
);
AssertUtils
.
isTrue
(
Objects
.
isNull
(
hgzl002
.
getId
())||
hgzl002
.
getId
()<=
0
,
"质检单明细ID不能为空!"
);
AssertUtils
.
isTrue
(
Objects
.
isNull
(
hgzl002
.
getId
())||
hgzl002
.
getId
()<=
0
,
"质检单明细ID不能为空!"
);
AssertUtils
.
isTrue
(
hgzl002
.
getPassQuantity
().
compareTo
(
0
)
==
0
&&
hgzl002
.
getUnpassQuantity
().
compareTo
(
0
)
==
0
,
"合格数量与不合格数量不能都为0!"
);
}
}
}
}
/**
/**
...
...
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