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
a270a6aa
Commit
a270a6aa
authored
Jul 26, 2021
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
原铝品味统计
parent
8c7fb381
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
EntrustSampleMapper.xml
src/main/resources/mapper/hmhj/EntrustSampleMapper.xml
+5
-5
No files found.
src/main/resources/mapper/hmhj/EntrustSampleMapper.xml
View file @
a270a6aa
...
...
@@ -200,21 +200,21 @@
e.model "branch",
e.plant,
COUNT ( 1 ) "total",
( CASE WHEN COUNT ( 1 ) / ${vo.days} > 1 THEN ( COUNT ( 1 ) /
${vo.days} / 2
) ELSE 1 END ) "slots_num",
( CASE WHEN COUNT ( 1 ) / ${vo.days} > 1 THEN ( COUNT ( 1 ) /
(${vo.days} / 2)
) ELSE 1 END ) "slots_num",
sum(ix.al_85_num) "al_85_num",
round(coalesce(sum(ix.al_85_num),0) / COUNT ( 1 ),4) "al_85_per",
round(coalesce(sum(ix.al_85_num),0) /
${vo.days} / 2
) "al_85_slots_num",
round(coalesce(sum(ix.al_85_num),0) /
(${vo.days} / 2)
) "al_85_slots_num",
sum(ix.al_70_num) "al_70_num",
round(coalesce(sum(ix.al_70_num),0) / COUNT ( 1 ),4) "al_70_per",
round(coalesce(sum(ix.al_70_num),0) /
${vo.days} / 2
) "al_70_slots_num",
round(coalesce(sum(ix.al_70_num),0) /
(${vo.days} / 2)
) "al_70_slots_num",
sum(ix.fe_10_num) "fe_10_num",
round(coalesce(sum(ix.fe_10_num),0) / COUNT ( 1 ),4) "fe_10_per",
round(coalesce(sum(ix.fe_10_num),0) /
${vo.days} / 2
) "fe_10_slots_num",
round(coalesce(sum(ix.fe_10_num),0) /
(${vo.days} / 2)
) "fe_10_slots_num",
sum(ix.fe_08_num) "fe_08_num",
round(coalesce(sum(ix.fe_08_num),0) / COUNT ( 1 ),4) "fe_08_per",
round(coalesce(sum(ix.fe_08_num),0) /
${vo.days} / 2
) "fe_08_slots_num"
round(coalesce(sum(ix.fe_08_num),0) /
(${vo.days} / 2)
) "fe_08_slots_num"
FROM
entrust_sample s
JOIN electrolyzer e ON s.electrolyzer_id = e.ID
...
...
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