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
0dfa9f42
Commit
0dfa9f42
authored
Sep 29, 2019
by
homunculus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat] 发票确认
parent
d0912507
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
0 deletions
+82
-0
INITIALIZE_SYSCODE_CLAIM_STATUS.sql
...atabase/Init/Sys_code/INITIALIZE_SYSCODE_CLAIM_STATUS.sql
+25
-0
ACR_INVOICE_HD.sql
src/main/database/Table/Alter/ACR_INVOICE_HD.sql
+3
-0
acr_invoice_claim_application.lwm
...-INF/classes/acr/ACR604/acr_invoice_claim_application.lwm
+54
-0
No files found.
src/main/database/Init/Sys_code/INITIALIZE_SYSCODE_CLAIM_STATUS.sql
0 → 100644
View file @
0dfa9f42
WHENEVER
SQLERROR
EXIT
FAILURE
ROLLBACK
;
WHENEVER
OSERROR
EXIT
FAILURE
ROLLBACK
;
spool
INITIALIZE_SYSCODE_CLAIM_STATUS
.
log
set
feedback
off
set
define
off
begin
sys_code_pkg
.
delete_sys_code
(
'claim_status'
);
sys_code_pkg
.
insert_sys_code
(
'claim_status'
,
'认领状态'
,
'认领状态'
,
'认领状态'
,
'ZHS'
,
''
);
sys_code_pkg
.
insert_sys_code_value
(
'claim_status'
,
'未认领'
,
'未认领'
,
'ZHS'
);
sys_code_pkg
.
insert_sys_code_value
(
'claim_status'
,
'认领中'
,
'认领中'
,
'ZHS'
);
sys_code_pkg
.
insert_sys_code_value
(
'claim_status'
,
'已确认'
,
'已确认'
,
'ZHS'
);
sys_code_pkg
.
insert_sys_code_value
(
'claim_status'
,
'认领退回'
,
'认领退回'
,
'ZHS'
);
end
;
/
commit
;
set
feedback
on
set
define
on
spool
off
exit
\ No newline at end of file
src/main/database/Table/Alter/ACR_INVOICE_HD.sql
0 → 100644
View file @
0dfa9f42
alter
table
acr_invoice_hd
add
claim_status
varchar2
(
30
);
comment
on
column
acr_invoice_hd
.
claim_status
is
'认领状态'
;
\ No newline at end of file
src/main/webapp/WEB-INF/classes/acr/ACR604/acr_invoice_claim_application.lwm
0 → 100644
View file @
0dfa9f42
<?xml version="1.0" encoding="UTF-8"?>
<!--
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT t1.document_number,
t1.contract_id,
t1.contract_number,
t1.contract_name,
t2.cf_item,
t2.write_off_flag,
t1.total_amount,
t1.invoice_title,
t1.invoice_kind,
t1.invoice_kind_desc,
t1.invoice_status,
t1.invoice_status_desc,
t1.invoice_number,
t1.bp_agent_name,
t1.vat_invoice_code,
TO_CHAR(t1.invoice_date, 'yyyy-mm-dd') as invoice_date,
t1.invoice_bp_id,
t1.invoice_bp_code,
t1.invoice_bp_name,
t1.tax_amount,
t1.net_amount,
t1.currency,
t1.created_by_name,
t1.created_by,
t1.vat_interface_status_desc,
t1.vat_interface_status,
to_char(t1.accounting_date, 'yyyy-mm-dd') as accounting_date,
t1.CREATE_JE_FLAG,
t1.bp_tax_registry_num,
t1.claim_status
FROM acr_invoice_hd_v t1, acr_invoice_contract_cf_v t2
#WHERE_CLAUSE#
ORDER BY t1.invoice_date desc , t1.document_number desc
]]>
</bm:query-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter
enforceOperations=
"query"
expression=
"t1.contract_id = t2.contract_id"
/>
<bm:data-filter
enforceOperations=
"query"
expression=
"t2.write_off_flag = 'FULL'"
/>
</bm:data-filters>
</bm:model>
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