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
7c510393
Commit
7c510393
authored
Mar 07, 2022
by
gzj34291
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
f445ec04
53a10a5c
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
563 additions
and
21 deletions
+563
-21
INITIALIZE_LAYOUT_DB_OBJECT.sql
...ase/Init/Layout_db_object/INITIALIZE_LAYOUT_DB_OBJECT.sql
+3
-0
REGISTER_ZJWFL5110.sql
src/main/database/Register_function/REGISTER_ZJWFL5110.sql
+3
-0
acr515_invoice_hd_v.lwm
...webapp/WEB-INF/classes/acr/ACR515/acr515_invoice_hd_v.lwm
+159
-0
reminder_repayment_t5_sms_list.lwm
...INF/classes/sys/SYS403/reminder_repayment_t5_sms_list.lwm
+266
-0
reminder_repayment_t5_sms_loop.lwm
...INF/classes/sys/SYS403/reminder_repayment_t5_sms_loop.lwm
+39
-0
weblogic.xml
src/main/webapp/WEB-INF/weblogic.xml
+0
-19
acr_invoice_vat.lview
src/main/webapp/modules/acr/ACR515/acr_invoice_vat.lview
+2
-2
reminder_repayment_t5_sms_list.lsc
...app/modules/sys/SYS403/reminder_repayment_t5_sms_list.lsc
+48
-0
sms_batch_send.lsc
src/main/webapp/modules/sys/SYS403/sms_batch_send.lsc
+43
-0
No files found.
src/main/database/Init/Layout_db_object/INITIALIZE_LAYOUT_DB_OBJECT.sql
View file @
7c510393
...
...
@@ -22,6 +22,9 @@ values ('CONTRACT', 'CON_CONTRACT_REPO_MODIFY_LV', 'VIEW', -1, sysdate, -1, sysd
insert
into
HLS_DOC_CATEGORY_DB_OBJECT
(
DOCUMENT_CATEGORY
,
OBJECT_NAME
,
OBJECT_TYPE
,
CREATED_BY
,
CREATION_DATE
,
LAST_UPDATED_BY
,
LAST_UPDATE_DATE
)
values
(
'CONTRACT'
,
'CON_CONTRACT_CCR_Q_LV'
,
'VIEW'
,
-
1
,
sysdate
,
-
1
,
sysdate
);
insert
into
HLS_DOC_CATEGORY_DB_OBJECT
(
DOCUMENT_CATEGORY
,
OBJECT_NAME
,
OBJECT_TYPE
,
CREATED_BY
,
CREATION_DATE
,
LAST_UPDATED_BY
,
LAST_UPDATE_DATE
)
values
(
'CONTRACT'
,
'con_contract_history_lv'
,
'VIEW'
,
-
1
,
sysdate
,
-
1
,
sysdate
);
end
;
/
commit
;
...
...
src/main/database/Register_function/REGISTER_ZJWFL5110.sql
View file @
7c510393
...
...
@@ -9,6 +9,9 @@ set define off
begin
sys_function_assign_pkg
.
func_bm_load
(
'ZJWFL5110'
,
'zjwfl.ZJWFL5110.cus_zj_wfl_instance_node_recipient'
);
sys_function_assign_pkg
.
func_bm_load
(
'ZJWFL5110'
,
'basic.hls_bp_master_v_for_agent_lov'
);
sys_function_assign_pkg
.
func_bm_load
(
'acr.ACR515.acr515_invoice_hd_v'
,
'acr.ACR515.acr515_invoice_hd_v'
);
end
;
/
...
...
src/main/webapp/WEB-INF/classes/acr/ACR515/acr515_invoice_hd_v.lwm
0 → 100644
View file @
7c510393
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/classes/sys/SYS403/reminder_repayment_t5_sms_list.lwm
0 → 100644
View file @
7c510393
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/classes/sys/SYS403/reminder_repayment_t5_sms_loop.lwm
0 → 100644
View file @
7c510393
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
xmlns:f=
"leaf.database.features"
alias=
"t1"
baseTable=
"SYS_SMS_LIST"
>
<bm:fields>
<bm:field
name=
"sms_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"SMS_ID"
prompt=
"SYS_SMS_LIST.SMS_ID"
/>
<bm:field
name=
"sms_date"
databaseType=
"DATE"
datatype=
"java.util.Date"
physicalName=
"SMS_DATE"
prompt=
"SYS_SMS_LIST.SMS_DATE"
/>
<bm:field
name=
"priority"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"PRIORITY"
prompt=
"SYS_SMS_LIST.PRIORITY"
/>
<bm:field
name=
"phone_number"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"PHONE_NUMBER"
prompt=
"SYS_SMS_LIST.PHONE_NUMBER"
/>
<bm:field
name=
"text"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"TEXT"
prompt=
"SYS_SMS_LIST.TEXT"
/>
<bm:field
name=
"error_status"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"ERROR_STATUS"
prompt=
"SYS_SMS_LIST.ERROR_STATUS"
/>
<bm:field
name=
"error_msg"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"ERROR_MSG"
prompt=
"SYS_SMS_LIST.ERROR_MSG"
/>
<bm:field
name=
"status"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"STATUS"
prompt=
"SYS_SMS_LIST.STATUS"
/>
<bm:field
name=
"project_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"PROJECT_ID"
prompt=
"SYS_SMS_LIST.PROJECT_ID"
/>
<bm:field
name=
"contract_number"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"CONTRACT_NUMBER"
prompt=
"SYS_SMS_LIST.CONTRACT_NUMBER"
/>
<bm:field
name=
"bp_name"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"BP_NAME"
prompt=
"SYS_SMS_LIST.BP_NAME"
/>
<bm:field
name=
"sms_type"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"SMS_TYPE"
prompt=
"SYS_SMS_LIST.SMS_TYPE"
/>
<bm:field
name=
"contract_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"CONTRACT_ID"
prompt=
"SYS_SMS_LIST.CONTRACT_ID"
/>
<bm:field
name=
"batch_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"BATCH_ID"
prompt=
"SYS_SMS_LIST.BATCH_ID"
/>
</bm:fields>
<bm:features>
<f:standard-who/>
</bm:features>
<bm:primary-key>
<bm:pk-field
name=
"sms_id"
/>
</bm:primary-key>
<bm:operations>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
hls_payment_msm_send_pkg.after_sys_sms_send_loop(p_sms_id =>
${@sms_id},
p_send_result =>${@result},
p_user_id =>${/session/@user_id});
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter
name=
"query"
enforceOperations=
"query"
expression=
"t1.status = 'NEW' and t1.batch_id=${@batch_id}"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/WEB-INF/weblogic.xml
deleted
100644 → 0
View file @
f445ec04
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app
xmlns=
"http://xmlns.oracle.com/weblogic/weblogic-web-app"
>
<session-descriptor>
<cookie-name>
JSESSIONID1
</cookie-name>
<persistent-store-type>
replicated_if_clustered
</persistent-store-type>
</session-descriptor>
<container-descriptor>
<!--<prefer-web-inf-classes>true</prefer-web-inf-classes>-->
<prefer-application-packages>
<package-name>
oracle.*
</package-name>
</prefer-application-packages>
<show-archived-real-path-enabled>
true
</show-archived-real-path-enabled>
</container-descriptor>
<virtual-directory-mapping>
<local-path>
/u01
</local-path>
<url-pattern>
/hls_file/*
</url-pattern>
</virtual-directory-mapping>
</weblogic-web-app>
\ No newline at end of file
src/main/webapp/modules/acr/ACR515/acr_invoice_vat.lview
View file @
7c510393
...
...
@@ -359,7 +359,7 @@
<a:datas
dataSource=
"/model/acr515_currency_list"
/>
</a:dataSet>
<a:dataSet
id=
"acr515_invoiceVatParaDs"
autoCreate=
"true"
model=
"acr.
acr
_invoice_hd_v"
>
<a:dataSet
id=
"acr515_invoiceVatParaDs"
autoCreate=
"true"
model=
"acr.
ACR515.acr515
_invoice_hd_v"
>
<a:fields>
<a:field
name=
"currency_desc"
displayField=
"currency_name"
options=
"acr515_currencyDs"
returnField=
"currency"
valueField=
"currency_code"
/>
...
...
@@ -443,7 +443,7 @@
<a:event
name=
"update"
handler=
"onUpdate_acr515_invoiceVatParaDs"
/>
</a:events>
</a:dataSet>
<a:dataSet
id=
"acr515_invoiceVatDs"
autoPageSize=
"true"
maxPageSize=
"10000"
model=
"acr.
acr
_invoice_hd_v"
<a:dataSet
id=
"acr515_invoiceVatDs"
autoPageSize=
"true"
maxPageSize=
"10000"
model=
"acr.
ACR515.acr515
_invoice_hd_v"
queryDataSet=
"acr515_invoiceVatParaDs"
selectable=
"true"
>
<a:fields>
<![CDATA[
]]>
</a:fields>
...
...
src/main/webapp/modules/sys/SYS403/reminder_repayment_t5_sms_list.lsc
0 → 100644
View file @
7c510393
<?xml version="1.0" encoding="UTF-8"?>
<a:service
xmlns:p=
"uncertain.proc"
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
trace=
"true"
>
<a:init-procedure>
<s:server-script>
<![CDATA[
importPackage(Packages.java.util)
importPackage(Packages.com.hand.hls.hlcm.emay);
importPackage(Packages.com.hand.hap.system.dto)
//step2 发送短信
function sendsms() {
// 查询待发送短信表
var contract_collection = $bm('sys.SYS403.reminder_repayment_t5_sms_list');
contract_collection.update();
var sms_list_bm = $bm('sys.SYS403.reminder_repayment_t5_sms_loop');
var sms_result = sms_list_bm.queryAsMap({
batch_id: $ctx.parameter.batch_id
});
var sms_list_records = sms_result.getChildren();
for (var i = 0; i < sms_list_records.length; i++) {
var Phones = sms_list_records[i].phone_number;
var content = sms_list_records[i].text;
var sms_id = sms_list_records[i].sms_id;
try {
var example = new Example();
var result = example.setSingleSms(content, Phones);
var req_response = result.toString();
} catch (e) {
println("抛出异常:" + e);
}
//发送后请求更新
$bm('sys.SYS403.reminder_repayment_t5_sms_loop').update({
sms_id: sms_id,
result: req_response
});
}
}
sendsms();
]]>
</s:server-script>
</a:init-procedure>
<a:service-output
output=
"/parameter"
/>
</a:service>
\ No newline at end of file
src/main/webapp/modules/sys/SYS403/sms_batch_send.lsc
0 → 100644
View file @
7c510393
<?xml version="1.0" encoding="UTF-8"?>
<a:service
xmlns:p=
"uncertain.proc"
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
trace=
"true"
>
<a:init-procedure>
<s:server-script>
<![CDATA[
importPackage(Packages.java.util);
importPackage(Packages.com.hand.hls.hlcm.emay);
importPackage(Packages.com.hand.hap.system.dto);
//step2 发送短信
function sendsms() {
// 查询待发送短信表
var sms_list_bm = $bm('sys.SYS403.reminder_repayment_t5_sms_loop');
var sms_list_result = sms_list_bm.queryAsMap({
"batch_id": $ctx.parameter.batch_id
});
var sms_list_records = sms_list_result.getChildren();
for (var i = 0; i < sms_list_records.length; i++) {
var Phones = sms_list_records[i].phone_number;
var content = sms_list_records[i].text;
var sms_id = sms_list_records[i].sms_id;
try {
var example = new Example();
var result = example.setSingleSms(content, Phones);
var req_response = result.toString();
} catch (e) {
println("抛出异常:" + e);
}
//发送后请求更新
$bm('sys.SYS403.reminder_repayment_t5_sms_loop').update({
sms_id: sms_id,
result: req_response
});
}
}
sendsms();
]]>
</s:server-script>
</a:init-procedure>
<a:service-output
output=
"/parameter"
/>
</a:service>
\ No newline at end of file
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