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
c76abba5
Commit
c76abba5
authored
Sep 29, 2019
by
Spencer Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 增加用印信息维护过程
parent
3f77330f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
4 deletions
+61
-4
INITIALIZE_SYSCODE_SEAL_NUMBER.sql
...database/Init/Sys_code/INITIALIZE_SYSCODE_SEAL_NUMBER.sql
+3
-3
cus_con_change_req_pkg.pck
src/main/database/Package/cus_con_change_req_pkg.pck
+58
-1
No files found.
src/main/database/Init/Sys_code/INITIALIZE_SYSCODE_SEAL_NUMBER.sql
View file @
c76abba5
...
...
@@ -14,9 +14,9 @@ sys_code_pkg.update_sys_code('SEAL_NUMBER', 'Seal Number', 'Seal Number', 'Seal
sys_code_pkg
.
insert_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_TW_NUMBER'
,
'一式两份'
,
'ZHS'
,
''
);
sys_code_pkg
.
update_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_TW_NUMBER'
,
'一式两份'
,
'US'
,
''
);
--
--
sys_code_pkg.insert_sys_code_value('SEAL_NUMBER','SEAL_O_TH_NUMBER','一式三份','ZHS','');
--
sys_code_pkg.update_sys_code_value('SEAL_NUMBER','SEAL_O_TH_NUMBER','一式三份','US','');
sys_code_pkg
.
insert_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_TH_NUMBER'
,
'一式三份'
,
'ZHS'
,
''
);
sys_code_pkg
.
update_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_TH_NUMBER'
,
'一式三份'
,
'US'
,
''
);
end
;
/
...
...
src/main/database/Package/cus_con_change_req_pkg.pck
View file @
c76abba5
...
...
@@ -4,6 +4,18 @@
-- Created : 9/23/2019 4:25:37 PM
-- Purpose : 合同變更申請
--创建时维护默认的用印信息
procedure insert_hls_document_use_seal(p_change_req_id number,
p_document_table varchar2,
p_instruments_types varchar2,
p_common_seal varchar2,
p_corporate_visa_seal varchar2,
p_legal_seal varchar2,
p_con_special_seal varchar2,
p_financial_seal varchar2,
p_supervisio_seal varchar2,
p_seal_number varchar2,
p_user_id number);
procedure create_change_req(p_contract_id number,
p_req_date date,
p_req_type varchar2,
...
...
@@ -78,7 +90,52 @@ create or replace package body cus_con_change_req_pkg is
raise_application_error(sys_raise_app_error_pkg.c_error_number,
sys_raise_app_error_pkg.g_err_line_id);
end;
--创建时维护默认的用印信息
procedure insert_hls_document_use_seal(p_change_req_id number,
p_document_table varchar2,
p_instruments_types varchar2,
p_common_seal varchar2,
p_corporate_visa_seal varchar2,
p_legal_seal varchar2,
p_con_special_seal varchar2,
p_financial_seal varchar2,
p_supervisio_seal varchar2,
p_seal_number varchar2,
p_user_id number) is
begin
insert into hls_document_use_seal
(document_use_seal_id,
document_table,
document_id,
instruments_types,
common_seal,
corporate_visa_seal,
legal_seal,
con_special_seal,
financial_seal,
supervisio_seal,
seal_number,
created_by,
creation_date,
last_updated_by,
last_update_date)
values
(hls_document_use_seal_s.nextval,
p_document_table,
p_change_req_id,
p_instruments_types,
p_common_seal,
p_corporate_visa_seal,
p_legal_seal,
p_con_special_seal,
p_financial_seal,
p_supervisio_seal,
p_seal_number,
p_user_id,
sysdate,
p_user_id,
sysdate);
end insert_hls_document_use_seal;
procedure create_change_req(p_contract_id number,
p_req_date date,
p_req_type varchar2,
...
...
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