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
65d3c62d
Commit
65d3c62d
authored
Oct 24, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-24 生产管理报表
parent
c92d01dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
HGSC013.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC013.xml
+9
-0
No files found.
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC013.xml
View file @
65d3c62d
...
...
@@ -86,6 +86,9 @@
<isNotEmpty
prepend=
" AND "
property=
"productCode"
>
h.product_code = #productCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depositDate"
>
k.DEPOSIT_DATE = #depositDate#
</isNotEmpty>
) ha on h.id = ha.material_id
join (
select
...
...
@@ -137,6 +140,9 @@
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
k.COMPANY_NAME = #companyName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"receiptDate"
>
k.RECEIPT_DATE = #receiptDate#
</isNotEmpty>
group by k.COMPANY_CODE, k.PROJ_CODE, k1.RECEIPT_DATE, k.INVENT_CODE
) k on h.company_code = k.COMPANY_CODE
and h.proj_code = k.PROJ_CODE
...
...
@@ -151,6 +157,9 @@
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
h.COMPANY_NAME = #companyName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"inventCode"
>
h.product_code = #inventCode#
</isNotEmpty>
) hb on h.id = hb.material_id and ha.product_code = hb.parent_prod_code
order by h.id desc
</select>
...
...
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