Commit c76abba5 authored by Spencer Chang's avatar Spencer Chang

[fix] 增加用印信息维护过程

parent 3f77330f
...@@ -14,9 +14,9 @@ sys_code_pkg.update_sys_code('SEAL_NUMBER', 'Seal Number', 'Seal Number', 'Seal ...@@ -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.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.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.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.update_sys_code_value('SEAL_NUMBER','SEAL_O_TH_NUMBER','一式三份','US','');
end; end;
/ /
......
...@@ -4,6 +4,18 @@ ...@@ -4,6 +4,18 @@
-- Created : 9/23/2019 4:25:37 PM -- Created : 9/23/2019 4:25:37 PM
-- Purpose : 合同變更申請 -- 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, procedure create_change_req(p_contract_id number,
p_req_date date, p_req_date date,
p_req_type varchar2, p_req_type varchar2,
...@@ -78,7 +90,52 @@ create or replace package body cus_con_change_req_pkg is ...@@ -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, raise_application_error(sys_raise_app_error_pkg.c_error_number,
sys_raise_app_error_pkg.g_err_line_id); sys_raise_app_error_pkg.g_err_line_id);
end; 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, procedure create_change_req(p_contract_id number,
p_req_date date, p_req_date date,
p_req_type varchar2, p_req_type varchar2,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment