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
4bf77a0a
Commit
4bf77a0a
authored
Nov 27, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.生产成材率接口优化
parent
2bf1917b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
HGSC013.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC013.xml
+11
-11
No files found.
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC013.xml
View file @
4bf77a0a
...
...
@@ -14,13 +14,13 @@
ha.length as "length",
ha.width as "width",
ha.thick as "thick",
ha.quantity
as "quantity",
ha.single_weight
as "singleWeight",
ha.total_weight
as "totalWeight",
ha.DEPOSIT_DATE as "depositDate",
ha.INV_QTY
as "invQty",
ha.INV_UNIT_WEIGHT
as "invUnitWeight",
ha.INV_WEIGHT
as "invWeight",
ifnull(ha.quantity,0)
as "quantity",
ifnull(ha.single_weight,0)
as "singleWeight",
ifnull(ha.total_weight,0)
as "totalWeight",
ha.DEPOSIT_DATE as "depositDate",
ifnull(ha.INV_QTY,0)
as "invQty",
ifnull(ha.INV_UNIT_WEIGHT,0)
as "invUnitWeight",
ifnull(ha.INV_WEIGHT,0)
as "invWeight",
hb.product_code as "clproductCode" ,
hb.product_name as "clproductName",
...
...
@@ -28,12 +28,12 @@
hb.length as "cllength",
hb.width as "clwidth",
hb.thick as "clthick",
hb.quantity
as "clquantity",
hb.total_weight
as "cltotalWeight",
ifnull(hb.quantity,0)
as "clquantity",
ifnull(hb.total_weight,0)
as "cltotalWeight",
hb.RECEIPT_DATE as "receiptDate",
hb.INV_QTY
as "llinvQty",
hb.INV_WEIGHT
as "llinvWeight",
ifnull(hb.INV_QTY,0)
as "llinvQty",
ifnull(hb.INV_WEIGHT,0)
as "llinvWeight",
case when ifnull(ha.INV_WEIGHT,0)>0 and ifnull(hb.INV_WEIGHT,0)>0 then round((ifnull(ha.INV_WEIGHT,0)*1.0000) / (ifnull(hb.INV_WEIGHT,0)* 1.0000),4)*100 else 0 end "ccl"
from
(
...
...
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