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
61bffbba
Commit
61bffbba
authored
Feb 01, 2023
by
TIANZHI.HU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作流合同文本打印 add by 39135 HuTianzhi
parent
48c2efa2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
wfl_instance_pdf.lwm
...bapp/WEB-INF/classes/zjwfl/ZJWFL1060/wfl_instance_pdf.lwm
+3
-3
wfl_instance_pdf.lsc
src/main/webapp/modules/zjwfl/ZJWFL1060/wfl_instance_pdf.lsc
+4
-8
No files found.
src/main/webapp/WEB-INF/classes/zjwfl/ZJWFL1060/wfl_instance_pdf.lwm
View file @
61bffbba
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.
aurora
-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:model
xmlns:bm=
"http://www.
leaf
-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
...
...
@@ -15,7 +15,7 @@
BEGIN
wfl_instance_pdf_pkg.insert_fnd_atm(
p_table_name =>
${@table_name},
p_table_pk_value =>${@
content
_id},
p_table_pk_value =>${@
instance
_id},
p_file_name =>${@file_name},
p_file_path =>${@file_path},
p_user_id =>nvl(${/session/@user_id},1),
...
...
@@ -56,7 +56,7 @@
<bm:operation
name=
"insert"
>
<bm:update-sql>
<![CDATA[
begin
HL_CONTRACT_PKG.save_prj_credit_pdf_atm(p_content_id =>
${@content
_id},
wfl_instance_pdf_pkg.save_pdf_atm(p_instance_id =>
${@instance
_id},
p_table_name =>${@table_name});
end;
]]>
</bm:update-sql>
...
...
src/main/webapp/modules/zjwfl/ZJWFL1060/wfl_instance_pdf.lsc
View file @
61bffbba
<?xml version="1.0" encoding="UTF-8"?>
<a:service
xmlns:a=
"http://www.
aurora-framework.org/application"
xmlns:s=
"aurora
.plugin.script"
trace=
"true"
>
<a:service
xmlns:a=
"http://www.
leaf-framework.org/application"
xmlns:s=
"leaf
.plugin.script"
trace=
"true"
>
<a:init-procedure>
<s:server-script
import=
"con_print_path.js"
>
<![CDATA[
set_parameter_file_path();
]]>
</s:server-script>
<s:server-script>
<![CDATA[
importPackage(Packages.hls.plugin.docx4j);
importPackage(java.io);
importPackage(Packages.hls.plugin.jacob.engine);
importPackage(Packages.aurora.plugin.mail);
importPackage(Packages.uncertain.proc);
//importPackage(Packages.leaf.plugin.script.scriptobject);
importPackage(Packages.hls.plugin.docx4j);
importPackage(Packages.leaf.plugin.word2pdf);
function copyFile(fOld, fNew) {
...
...
@@ -71,7 +67,7 @@
//关联附件表
$bm('zjwfl.ZJWFL1060.wfl_instance_pdf').execute({
table_name: 'ZJ_WFL_WORKFLOW_INSTANCE',
content
_id: instance_id,
instance
_id: instance_id,
file_name: to_file_name.toString(),
file_path: to_file_path.toString(),
file_size: file_size
...
...
@@ -81,7 +77,7 @@
//更新转换的pdf附件,其附件表的字段
//这里的附件关联表是工作流监控表
attachment_update.insert({
content
_id: instance_id,
instance
_id: instance_id,
table_name: 'ZJ_WFL_WORKFLOW_INSTANCE'
});
...
...
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