Commit 406585c2 authored by 陆正友's avatar 陆正友

sbo导入 导入前租赁时间的校验

parent ec7fa42d
......@@ -8,7 +8,8 @@
hls_journal_import_pkg.insert_hls_journal_tmp(p_user_id => ${/session/@user_id},
p_header_id => ${@header_id},
p_company_id => ${/session/@company_id},
p_count =>${@v_count},
p_count =>${@v_count},
p_final_count =>${@v_final_count},
p_template_type=>${@template_type}
);
END;
......@@ -17,7 +18,9 @@
<bm:parameter inputPath="/session/@user_id"/>
<bm:parameter inputPath="/session/@session_id"/>
<bm:parameter inputPath="/session/@template_type"/>
<bm:parameter name="v_count" dataType="java.lang.Long" input="false" output="true" outputPath="@v_count"/>
<bm:parameter name="v_final_count" dataType="java.lang.Long" input="false" output="true" outputPath="@v_final_count"/>
<bm:parameter name="v_count" dataType="java.lang.Long" input="false" output="true" outputPath="@v_count"/>
</bm:parameters>
</bm:operation>
<bm:operation name="update" >
......
......@@ -26,6 +26,10 @@
Leaf.showInfoMessage('成功','导入成功!',function(){
window.location.href = $('hls_journal_entrance_import_link').getUrl();
});
}else if (res.result.v_final_count>0){
Leaf.showInfoMessage('提示','贷款最终到期日为空,请检查!',function(){
window.location.href = $('hls_journal_entrance_import_link').getUrl();
});
}else{
Leaf.showInfoMessage('失败','导入失败!',function(){
window.location.href = $('hls_journal_entrance_import_link').getUrl();
......
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