Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
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
hlcm
leaf-hlcm
Commits
39604fe6
Commit
39604fe6
authored
Oct 19, 2023
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进项发票查询数据更改
parent
de1e437e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletion
+29
-1
acp_import_contract_lov.lwm
...pp/WEB-INF/classes/acp/ACP522/acp_import_contract_lov.lwm
+29
-1
No files found.
src/main/webapp/WEB-INF/classes/acp/ACP522/acp_import_contract_lov.lwm
View file @
39604fe6
...
...
@@ -23,12 +23,40 @@
where c.data_class = 'NORMAL'
and c.contract_status IN
('REPURING', 'ETING', 'INCEPT', 'PENDING')
and c.business_type <>
'LEASEBACK'
and c.business_type not in ('LEASEBACK' , 'LEASEOPERAT')
and not exists
(select 1
from acp_invoice_ln an
where an.contract_id = c.contract_id
and an.confirmation_status in ('APPROVING', 'APPROVED'))
union
select c.contract_id,
c.contract_number,
c.contract_name,
c.business_type,
c.search_term_1,
(SELECT description
FROM HLS_BUSINESS_TYPE_V a
WHERE a.business_type = c.business_type) business_type_n
from con_contract c,
con_contract_lease_item ci,
prj_project_lease_item pi,
prj_project pp
where c.contract_id = ci.contract_id
and ci.project_lease_item_id = pi.project_lease_item_id
and pi.source_project_id = pp.project_id
and c.data_class = 'NORMAL'
and c.contract_id =
con_contract_pkg.get_first_contract_id(pp.project_id)
and c.contract_status IN
('REPURING', 'ETING', 'INCEPT', 'PENDING')
and c.business_type = 'LEASEOPERAT'
and not exists
(select 1
from acp_invoice_ln an
where an.contract_id = c.contract_id
and an.confirmation_status in ('APPROVING', 'APPROVED'))) V
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
...
...
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