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
43cb2382
Commit
43cb2382
authored
Nov 25, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.工序产量换算计算
parent
f40b9e57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HGSC007.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC007.xml
+3
-3
No files found.
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC007.xml
View file @
43cb2382
...
...
@@ -1243,7 +1243,7 @@
left join (
select
h2.process_code ,
ROUND(ifnull(SUM(h.INV_WEIGHT), 0)/ 1000, 4
) "INV_WEIGHT"
ifnull(SUM(h.INV_WEIGHT), 0
) "INV_WEIGHT"
from ${hggpSchema}.hgkc003 h
inner join ${hggpSchema}.hgzl002 h2 on h.QUALITY_ID = h2.id
where 1 = 1
...
...
@@ -1282,7 +1282,7 @@
select
h.COMPANY_CODE,
h2.process_code ,
ROUND(ifnull(SUM(h.INV_WEIGHT), 0)/ 1000, 4
) "INV_WEIGHT"
ifnull(SUM(h.INV_WEIGHT), 0
) "INV_WEIGHT"
from ${hggpSchema}.hgkc003 h
inner join ${hggpSchema}.hgzl002 h2 on h.QUALITY_ID = h2.id
where h.DELETE_FLAG = '0' and h.SUBMIT_STATUS = '1'
...
...
@@ -1316,7 +1316,7 @@
<select
id=
"queryByDayWt"
parameterClass=
"java.util.HashMap"
resultClass=
"java.util.HashMap"
>
select
A.DEPOSIT_DATE as "depositDate",
ROUND(ifnull(SUM(A.INV_WEIGHT),0)/1000, 4
) "totalWeight"
ifnull(SUM(A.INV_WEIGHT),0
) "totalWeight"
from (
select
replace(date_sub(str_to_date(#depositDate#, '%Y%m%d'), interval 6 day), '-', '') as "DEPOSIT_DATE",
...
...
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