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
6b75907c
Commit
6b75907c
authored
Jul 28, 2022
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加化学试剂接口统计;
parent
ae820c00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
StatisticsMapper.xml
src/main/resources/mapper/hmhj/StatisticsMapper.xml
+10
-10
No files found.
src/main/resources/mapper/hmhj/StatisticsMapper.xml
View file @
6b75907c
...
...
@@ -783,13 +783,12 @@
where
s.deleted = 0 and s.type = 0
<if
test=
"null != vo.timeS"
>
AND e.
c
time >= #{vo.timeS}
AND e.
entrust_
time >= #{vo.timeS}
</if>
<if
test=
"null != vo.timeE"
>
AND e.
c
time
<
= #{vo.timeE}
AND e.
entrust_
time
<
= #{vo.timeE}
</if>
group by
s.name
group by s.name order by s.name
</select>
<!--获取可检测项目统计数据:获取LIMS平台可检测项目统计数据-->
...
...
@@ -806,18 +805,18 @@
<!--获取化验检测完毕任务数量统计数据:获取LIMS平台某段时间内各类物料的化验检测完毕任务数量数据-->
<select
id=
"selectDetectedTasksQuantity"
resultType=
"map"
>
select
e
s.name,
count(
distinct es.i
d) "data"
from entrust_sample
e
s
join entrust e on
e
s.entrust_id = e.id and e.deleted = 0
where
es.deleted = 0 and es.type = 0 and es.status > 2
0
s.name,
count(
case when s.status > 20 then s.id en
d) "data"
from entrust_sample s
join entrust e on s.entrust_id = e.id and e.deleted = 0
where
s.deleted = 0 and s.type =
0
<if
test=
"null != vo.timeS"
>
AND e.entrust_time >= #{vo.timeS}
</if>
<if
test=
"null != vo.timeE"
>
AND e.entrust_time
<
= #{vo.timeE}
</if>
group by
e
s.name
group by
s.name order by
s.name
</select>
<!--获取日原辅料检测当前实时数据情况: 获取当天的截止查询时间内原辅料检测各个阶段的数量-->
...
...
@@ -902,4 +901,5 @@
and c.year = #{vo.year}
</if>
</select>
</mapper>
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