Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
Project
Project
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
竹天卫
tianjin-cement
Commits
de4a408d
Commit
de4a408d
authored
Apr 12, 2021
by
竹天卫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
平行样 必须全部校核完才可以显示 检测结果222
parent
53262371
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
SampleDistributionMapper.xml
...c/cement/business/mapper/xml/SampleDistributionMapper.xml
+1
-1
EntrustServiceImpl.java
...e/sc/cement/business/service/impl/EntrustServiceImpl.java
+2
-2
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/mapper/xml/SampleDistributionMapper.xml
View file @
de4a408d
...
...
@@ -123,7 +123,7 @@
left join sys_user su on su.id = t.user_id
left join team s on s.id = t.team_id
left join team_group tg on tg.id = t.team_group_id
where t.sample_id = #{sampleId}
where t.sample_id = #{sampleId}
and t.status = 4
<if
test=
"userId != null"
>
and t.user_id = #{userId}
</if>
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/service/impl/EntrustServiceImpl.java
View file @
de4a408d
...
...
@@ -1282,7 +1282,7 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl
SampleDistribution
sampleDistribution
=
distributionMapper
.
selectById
(
sampleDistributionTeamVo
.
getDistributionId
());
//该检测项的误差结果值和最终结果值
//获取其他平行样的结果值 如果是平行样 必须都校核通过才可以显示结果。
//获取其他平行样的结果值 如果是平行样 必须都校核通过才可以显示结果。
有一个点击保存 也不能显示结果
int
noCheckOver
=
0
;
List
<
Sample
>
otherSampleList
=
sampleMapper
.
getOtherSampleList
(
entrust
.
getId
(),
sample
.
getCementCode
(),
sample
.
getId
());
if
(
otherSampleList
!=
null
&&
otherSampleList
.
size
()
>
0
)
{
...
...
@@ -1298,7 +1298,7 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl
}
if
(
ortherDdistributionList
!=
null
&&
ortherDdistributionList
.
size
()
>
0
)
{
SampleDistribution
other
=
ortherDdistributionList
.
get
(
0
);
if
(
other
.
getCheckId
()
==
null
){
if
(
other
.
getCheckId
()
==
null
||
other
.
getStatus
()
!=
4
){
noCheckOver
=
noCheckOver
+
1
;
}
}
...
...
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