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
1a15e08b
Commit
1a15e08b
authored
Jun 18, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-06-18 app工序累计产量bug修复
parent
068cebba
Show 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 @
1a15e08b
...
@@ -538,7 +538,7 @@
...
@@ -538,7 +538,7 @@
h2.factory_name as factoryName ,
h2.factory_name as factoryName ,
0 as dayWt,
0 as dayWt,
0 as monthWt,
0 as monthWt,
sum(h.
finish_weight
) as yearWt
sum(h.
INV_WEIGHT
) as yearWt
from ${hggpSchema}.hgkc003 h inner join ${hggpSchema}.hgzl002 h2 on h.QUALITY_ID = h2.id
from ${hggpSchema}.hgkc003 h inner join ${hggpSchema}.hgzl002 h2 on h.QUALITY_ID = h2.id
where 1 = 1 and h.DELETE_FLAG = '0' and h.SUBMIT_STATUS = '1'
where 1 = 1 and h.DELETE_FLAG = '0' and h.SUBMIT_STATUS = '1'
<include
refid=
"appCondition"
/>
<include
refid=
"appCondition"
/>
...
@@ -552,7 +552,7 @@
...
@@ -552,7 +552,7 @@
h2.factory_code as factoryCode ,
h2.factory_code as factoryCode ,
h2.factory_name as factoryName ,
h2.factory_name as factoryName ,
0 as dayWt,
0 as dayWt,
sum(h.
finish_weight
) as monthWt,
sum(h.
INV_WEIGHT
) as monthWt,
0 as yearWt
0 as yearWt
from ${hggpSchema}.hgkc003 h inner join ${hggpSchema}.hgzl002 h2 on h.QUALITY_ID = h2.id
from ${hggpSchema}.hgkc003 h inner join ${hggpSchema}.hgzl002 h2 on h.QUALITY_ID = h2.id
where 1 = 1 and h.DELETE_FLAG = '0' and h.SUBMIT_STATUS = '1'
where 1 = 1 and h.DELETE_FLAG = '0' and h.SUBMIT_STATUS = '1'
...
@@ -566,7 +566,7 @@
...
@@ -566,7 +566,7 @@
select
select
h2.factory_code as factoryCode ,
h2.factory_code as factoryCode ,
h2.factory_name as factoryName ,
h2.factory_name as factoryName ,
sum(h.
finish_weight
) as dayWt,
sum(h.
INV_WEIGHT
) as dayWt,
0 as monthWt,
0 as monthWt,
0 as yearWt
0 as yearWt
from ${hggpSchema}.hgkc003 h inner join ${hggpSchema}.hgzl002 h2 on h.QUALITY_ID = h2.id
from ${hggpSchema}.hgkc003 h inner join ${hggpSchema}.hgzl002 h2 on h.QUALITY_ID = h2.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