Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
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
wangweidong
patzn-cloud-service-hmhj
Commits
be0f3475
Commit
be0f3475
authored
Feb 26, 2022
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质量判定没有累计杂质问题;
parent
03614a3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
EntrustSampleItemServiceImpl.java
.../lims/hmhj/service/impl/EntrustSampleItemServiceImpl.java
+1
-1
No files found.
src/main/java/com/patzn/cloud/service/lims/hmhj/service/impl/EntrustSampleItemServiceImpl.java
View file @
be0f3475
...
...
@@ -1212,7 +1212,7 @@ public class EntrustSampleItemServiceImpl extends BaseServiceImpl<EntrustSampleI
boolean
incSpecElement
=
otherYsList
.
stream
().
anyMatch
(
x
->
item
.
getName
().
contains
(
x
));
// 是组合判定标识或者稀有元素且稀有元素值大于0.01,才参与计算
if
(
1
==
composeJudge
||
(
isSpecStandard
&&
incSpecElement
&&
Double
.
parseDouble
(
testValue
)
>=
0.01
))
{
totalDecimal
.
add
(
new
BigDecimal
(
testValue
));
totalDecimal
=
totalDecimal
.
add
(
new
BigDecimal
(
testValue
));
}
}
...
...
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