Commit 481f04e0 authored by Luochenglong's avatar Luochenglong

附件补录

parent e7ccc349
...@@ -57,8 +57,9 @@ ...@@ -57,8 +57,9 @@
(SELECT c.code_value_name (SELECT c.code_value_name
FROM sys_code_values_v c FROM sys_code_values_v c
WHERE c.code = 'YES_NO' WHERE c.code = 'YES_NO'
AND c.code_value = 'Y') suppl_trans_flag, AND c.code_value = nvl(t1.suppl_trans_flag,'N')) suppl_trans_flag_desc,
t1.hly_req_number AS post_batch_num, t1.hly_req_number AS post_batch_num,
t1.suppl_trans_flag,
t1.post_message t1.post_message
FROM hl_e_archives_pool t1 FROM hl_e_archives_pool t1
#WHERE_CLAUSE# #WHERE_CLAUSE#
......
...@@ -151,8 +151,9 @@ ...@@ -151,8 +151,9 @@
<a:field name="document_info" /> <a:field name="document_info" />
<a:field name="post_status" /> <a:field name="post_status" />
<a:field name="archive_type" /> <a:field name="archive_type" />
<a:field name="suppl_trans_flag" />
<a:field name="archive_type_desc" displayField="code_value_name" options="data_cf_ds" returnField="archive_type" valueField="code_value"/> <a:field name="archive_type_desc" displayField="code_value_name" options="data_cf_ds" returnField="archive_type" valueField="code_value"/>
<a:field name="suppl_trans_flag" displayField="code_value_name" options="yes_no_ds" returnField="suppl_trans_flag" valueField="code_value"/> <a:field name="suppl_trans_flag_desc" displayField="code_value_name" options="yes_no_ds" returnField="suppl_trans_flag" valueField="code_value"/>
<a:field name="post_status_desc" displayField="code_value_name" options="post_status_ds" returnField="post_status" valueField="code_value"/> <a:field name="post_status_desc" displayField="code_value_name" options="post_status_ds" returnField="post_status" valueField="code_value"/>
</a:fields> </a:fields>
</a:dataSet> </a:dataSet>
...@@ -175,7 +176,7 @@ ...@@ -175,7 +176,7 @@
<a:textField name="internal_period_num" bindTarget="for_query_ds" prompt="资料期间"/> <a:textField name="internal_period_num" bindTarget="for_query_ds" prompt="资料期间"/>
<a:comboBox name="archive_type_desc" bindTarget="for_query_ds" prompt="资料类型"/> <a:comboBox name="archive_type_desc" bindTarget="for_query_ds" prompt="资料类型"/>
<a:textField name="primary_field" bindTarget="for_query_ds" prompt="主键"/> <a:textField name="primary_field" bindTarget="for_query_ds" prompt="主键"/>
<a:comboBox name="suppl_trans_flag" bindTarget="for_query_ds" prompt="是否补传"/> <a:comboBox name="suppl_trans_flag_desc" bindTarget="for_query_ds" prompt="是否补传"/>
<a:textField name="document_info" bindTarget="for_query_ds" prompt="原始资料号"/> <a:textField name="document_info" bindTarget="for_query_ds" prompt="原始资料号"/>
<a:comboBox name="post_status_desc" bindTarget="for_query_ds" prompt="传输状态"/> <a:comboBox name="post_status_desc" bindTarget="for_query_ds" prompt="传输状态"/>
<a:textField name="post_batch_num" bindTarget="for_query_ds" prompt="传输批次号"/> <a:textField name="post_batch_num" bindTarget="for_query_ds" prompt="传输批次号"/>
...@@ -188,7 +189,7 @@ ...@@ -188,7 +189,7 @@
<a:column name="document_info" prompt="原始资料号" width="300"/> <a:column name="document_info" prompt="原始资料号" width="300"/>
<a:column name="post_stru_data" prompt="结构化数据" renderer="att_update_renderer" width="110"/> <a:column name="post_stru_data" prompt="结构化数据" renderer="att_update_renderer" width="110"/>
<a:column name="att" align="center" prompt="附件" renderer="att_update_renderer"/> <a:column name="att" align="center" prompt="附件" renderer="att_update_renderer"/>
<a:column name="suppl_trans_flag" align="center" width="120" prompt="是否补传"/> <a:column name="suppl_trans_flag_desc" align="center" width="120" prompt="是否补传"/>
<a:column name="post_status" align="center" width="120" prompt="传输状态"/> <a:column name="post_status" align="center" width="120" prompt="传输状态"/>
<a:column name="post_message" align="center" editor="textarea_id" width="180" prompt="传输结果"/> <a:column name="post_message" align="center" editor="textarea_id" width="180" prompt="传输结果"/>
<a:column name="post_batch_num" align="center" width="120" prompt="传输批次号"/> <a:column name="post_batch_num" align="center" width="120" prompt="传输批次号"/>
......
...@@ -42,11 +42,13 @@ ...@@ -42,11 +42,13 @@
var check_token_valid_bm = $bm('efile.EFILE1000.check_token_valid'); var check_token_valid_bm = $bm('efile.EFILE1000.check_token_valid');
var checkTokenQuery = check_token_valid_bm.queryAsMap(); var checkTokenQuery = check_token_valid_bm.queryAsMap();
var is_valid = checkTokenQuery.getChildren()[0].is_valid; var is_valid = checkTokenQuery.getChildren()[0].is_valid;
var primaryField='CF-4252CE7A665C4562BF8E8AC3AD79BF1D'; // var primaryField='CF-4252CE7A665C4562BF8E8AC3AD79BF1D';
var file=new File('D:\\aurora_reference.pdf'); var documentTypeCode = $ctx.parameter.documentTypeCode;
logger.info(primaryField); var file_path = $ctx.parameter.file_path;
var primaryField = $ctx.parameter.primaryField;
var file=new File(file_path);
var map = { var map = {
"documentTypeCode" : "workflow_QC02", "documentTypeCode" : documentTypeCode,
"primaryField": primaryField, "primaryField": primaryField,
"documentSource":"CF", "documentSource":"CF",
"companyCode":"HL" "companyCode":"HL"
......
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