|
|
@ -348,7 +348,7 @@ |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>网格下标</name> |
|
|
|
<name>网格下标100-END</name> |
|
|
|
<description/> |
|
|
|
<type>SET_VARIABLES</type> |
|
|
|
<attributes/> |
|
|
@ -358,7 +358,7 @@ |
|
|
|
<fields> |
|
|
|
<field> |
|
|
|
<variable_name>gridIndex</variable_name> |
|
|
|
<variable_value>0</variable_value> |
|
|
|
<variable_value>100</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
</fields> |
|
|
@ -485,6 +485,11 @@ |
|
|
|
<script>var gridIndex = parseInt(parent_job.getVariable("gridIndex")); |
|
|
|
gridIndex = gridIndex + 1; |
|
|
|
parent_job.setVariable("gridIndex",gridIndex); |
|
|
|
var subject="网格循环标记"; |
|
|
|
//实例化日志channel对象 |
|
|
|
var log= new org.pentaho.di.core.logging.LogChannel(subject); |
|
|
|
//日志输出 |
|
|
|
log.logMinimal("----------------------------------------------------------------:"+gridIndex); |
|
|
|
true; |
|
|
|
|
|
|
|
</script> |
|
|
@ -936,7 +941,7 @@ true; |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>640</xloc> |
|
|
|
<yloc>320</yloc> |
|
|
|
<yloc>1184</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
@ -955,7 +960,7 @@ true; |
|
|
|
</field> |
|
|
|
<field> |
|
|
|
<variable_name>months</variable_name> |
|
|
|
<variable_value>3</variable_value> |
|
|
|
<variable_value>20</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
<field> |
|
|
@ -973,7 +978,7 @@ true; |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>368</xloc> |
|
|
|
<yloc>320</yloc> |
|
|
|
<yloc>1184</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
@ -992,7 +997,7 @@ true; |
|
|
|
</field> |
|
|
|
<field> |
|
|
|
<variable_name>months</variable_name> |
|
|
|
<variable_value>3</variable_value> |
|
|
|
<variable_value>20</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
<field> |
|
|
@ -1029,7 +1034,7 @@ true; |
|
|
|
</field> |
|
|
|
<field> |
|
|
|
<variable_name>months</variable_name> |
|
|
|
<variable_value>3</variable_value> |
|
|
|
<variable_value>20</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
<field> |
|
|
@ -1066,7 +1071,7 @@ true; |
|
|
|
</field> |
|
|
|
<field> |
|
|
|
<variable_name>months</variable_name> |
|
|
|
<variable_value>3</variable_value> |
|
|
|
<variable_value>20</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
<field> |
|
|
@ -1087,10 +1092,261 @@ true; |
|
|
|
<yloc>912</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>网格下标0-99</name> |
|
|
|
<description/> |
|
|
|
<type>SET_VARIABLES</type> |
|
|
|
<attributes/> |
|
|
|
<replacevars>Y</replacevars> |
|
|
|
<filename/> |
|
|
|
<file_variable_type>CURRENT_JOB</file_variable_type> |
|
|
|
<fields> |
|
|
|
<field> |
|
|
|
<variable_name>gridIndex</variable_name> |
|
|
|
<variable_value>0</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
</fields> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>464</xloc> |
|
|
|
<yloc>192</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>网格数 2</name> |
|
|
|
<description/> |
|
|
|
<type>TRANS</type> |
|
|
|
<attributes/> |
|
|
|
<specification_method>filename</specification_method> |
|
|
|
<trans_object_id/> |
|
|
|
<filename>${Internal.Entry.Current.Directory}/screen_totality_grid_query_grid_info.ktr</filename> |
|
|
|
<transname/> |
|
|
|
<arg_from_previous>N</arg_from_previous> |
|
|
|
<params_from_previous>N</params_from_previous> |
|
|
|
<exec_per_row>N</exec_per_row> |
|
|
|
<clear_rows>N</clear_rows> |
|
|
|
<clear_files>N</clear_files> |
|
|
|
<set_logfile>N</set_logfile> |
|
|
|
<logfile/> |
|
|
|
<logext/> |
|
|
|
<add_date>N</add_date> |
|
|
|
<add_time>N</add_time> |
|
|
|
<loglevel>Basic</loglevel> |
|
|
|
<cluster>N</cluster> |
|
|
|
<slave_server_name/> |
|
|
|
<set_append_logfile>N</set_append_logfile> |
|
|
|
<wait_until_finished>Y</wait_until_finished> |
|
|
|
<follow_abort_remote>N</follow_abort_remote> |
|
|
|
<create_parent_folder>N</create_parent_folder> |
|
|
|
<logging_remote_work>N</logging_remote_work> |
|
|
|
<run_configuration>Pentaho local</run_configuration> |
|
|
|
<parameters> |
|
|
|
<pass_all_parameters>Y</pass_all_parameters> |
|
|
|
</parameters> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>640</xloc> |
|
|
|
<yloc>192</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>if(numberOfGrid>0) 2</name> |
|
|
|
<description/> |
|
|
|
<type>SIMPLE_EVAL</type> |
|
|
|
<attributes/> |
|
|
|
<valuetype>variable</valuetype> |
|
|
|
<fieldname/> |
|
|
|
<variablename>${numberOfGrid}</variablename> |
|
|
|
<fieldtype>number</fieldtype> |
|
|
|
<mask/> |
|
|
|
<comparevalue>0</comparevalue> |
|
|
|
<minvalue/> |
|
|
|
<maxvalue/> |
|
|
|
<successcondition>equal</successcondition> |
|
|
|
<successnumbercondition>greater</successnumbercondition> |
|
|
|
<successbooleancondition>false</successbooleancondition> |
|
|
|
<successwhenvarset>N</successwhenvarset> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>848</xloc> |
|
|
|
<yloc>192</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>结束循环 4</name> |
|
|
|
<description/> |
|
|
|
<type>SPECIAL</type> |
|
|
|
<attributes/> |
|
|
|
<start>N</start> |
|
|
|
<dummy>Y</dummy> |
|
|
|
<repeat>N</repeat> |
|
|
|
<schedulerType>0</schedulerType> |
|
|
|
<intervalSeconds>0</intervalSeconds> |
|
|
|
<intervalMinutes>60</intervalMinutes> |
|
|
|
<hour>12</hour> |
|
|
|
<minutes>0</minutes> |
|
|
|
<weekDay>1</weekDay> |
|
|
|
<DayOfMonth>1</DayOfMonth> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>640</xloc> |
|
|
|
<yloc>320</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>if(numberOfGrid>gridIndex) 2</name> |
|
|
|
<description/> |
|
|
|
<type>SIMPLE_EVAL</type> |
|
|
|
<attributes/> |
|
|
|
<valuetype>variable</valuetype> |
|
|
|
<fieldname/> |
|
|
|
<variablename>${numberOfGrid}</variablename> |
|
|
|
<fieldtype>number</fieldtype> |
|
|
|
<mask/> |
|
|
|
<comparevalue>${gridIndex}</comparevalue> |
|
|
|
<minvalue/> |
|
|
|
<maxvalue/> |
|
|
|
<successcondition>equal</successcondition> |
|
|
|
<successnumbercondition>greater</successnumbercondition> |
|
|
|
<successbooleancondition>false</successbooleancondition> |
|
|
|
<successwhenvarset>N</successwhenvarset> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>1072</xloc> |
|
|
|
<yloc>192</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>网格下标加一,处理下个网格 2</name> |
|
|
|
<description/> |
|
|
|
<type>EVAL</type> |
|
|
|
<attributes/> |
|
|
|
<script>var gridIndex = parseInt(parent_job.getVariable("gridIndex")); |
|
|
|
gridIndex = gridIndex + 1; |
|
|
|
parent_job.setVariable("gridIndex",gridIndex); |
|
|
|
var subject="网格循环标记"; |
|
|
|
//实例化日志channel对象 |
|
|
|
var log= new org.pentaho.di.core.logging.LogChannel(subject); |
|
|
|
//日志输出 |
|
|
|
log.logMinimal("----------------------------------------------------------------:"+gridIndex); |
|
|
|
true; |
|
|
|
|
|
|
|
</script> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>848</xloc> |
|
|
|
<yloc>320</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>网格操作 2</name> |
|
|
|
<description/> |
|
|
|
<type>JOB</type> |
|
|
|
<attributes/> |
|
|
|
<specification_method>filename</specification_method> |
|
|
|
<job_object_id/> |
|
|
|
<filename>${Internal.Entry.Current.Directory}/yushan_grid_all_day.kjb</filename> |
|
|
|
<jobname/> |
|
|
|
<directory/> |
|
|
|
<arg_from_previous>N</arg_from_previous> |
|
|
|
<params_from_previous>N</params_from_previous> |
|
|
|
<exec_per_row>N</exec_per_row> |
|
|
|
<set_logfile>N</set_logfile> |
|
|
|
<logfile/> |
|
|
|
<logext/> |
|
|
|
<add_date>N</add_date> |
|
|
|
<add_time>N</add_time> |
|
|
|
<loglevel>Nothing</loglevel> |
|
|
|
<slave_server_name/> |
|
|
|
<wait_until_finished>Y</wait_until_finished> |
|
|
|
<follow_abort_remote>N</follow_abort_remote> |
|
|
|
<expand_remote_job>N</expand_remote_job> |
|
|
|
<create_parent_folder>N</create_parent_folder> |
|
|
|
<pass_export>N</pass_export> |
|
|
|
<run_configuration>Pentaho local</run_configuration> |
|
|
|
<parameters> |
|
|
|
<pass_all_parameters>Y</pass_all_parameters> |
|
|
|
</parameters> |
|
|
|
<set_append_logfile>N</set_append_logfile> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>1072</xloc> |
|
|
|
<yloc>320</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>日期下标 2 2</name> |
|
|
|
<description/> |
|
|
|
<type>SET_VARIABLES</type> |
|
|
|
<attributes/> |
|
|
|
<replacevars>Y</replacevars> |
|
|
|
<filename/> |
|
|
|
<file_variable_type>CURRENT_JOB</file_variable_type> |
|
|
|
<fields> |
|
|
|
<field> |
|
|
|
<variable_name>monthIndex</variable_name> |
|
|
|
<variable_value>0</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
<field> |
|
|
|
<variable_name>months</variable_name> |
|
|
|
<variable_value>20</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
<field> |
|
|
|
<variable_name>dayIndex</variable_name> |
|
|
|
<variable_value>0</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
<field> |
|
|
|
<variable_name>days</variable_name> |
|
|
|
<variable_value>30</variable_value> |
|
|
|
<variable_type>CURRENT_JOB</variable_type> |
|
|
|
</field> |
|
|
|
</fields> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>368</xloc> |
|
|
|
<yloc>192</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
<entry> |
|
|
|
<name>index<100</name> |
|
|
|
<description/> |
|
|
|
<type>SIMPLE_EVAL</type> |
|
|
|
<attributes/> |
|
|
|
<valuetype>variable</valuetype> |
|
|
|
<fieldname/> |
|
|
|
<variablename>${gridIndex}</variablename> |
|
|
|
<fieldtype>number</fieldtype> |
|
|
|
<mask/> |
|
|
|
<comparevalue>100</comparevalue> |
|
|
|
<minvalue/> |
|
|
|
<maxvalue/> |
|
|
|
<successcondition>equal</successcondition> |
|
|
|
<successnumbercondition>smaller</successnumbercondition> |
|
|
|
<successbooleancondition>false</successbooleancondition> |
|
|
|
<successwhenvarset>N</successwhenvarset> |
|
|
|
<parallel>N</parallel> |
|
|
|
<draw>Y</draw> |
|
|
|
<nr>0</nr> |
|
|
|
<xloc>960</xloc> |
|
|
|
<yloc>240</yloc> |
|
|
|
<attributes_kjc/> |
|
|
|
</entry> |
|
|
|
</entries> |
|
|
|
<hops> |
|
|
|
<hop> |
|
|
|
<from>网格下标</from> |
|
|
|
<from>网格下标100-END</from> |
|
|
|
<to>网格数</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
@ -1316,7 +1572,7 @@ true; |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>日期下标 2</from> |
|
|
|
<to>网格下标</to> |
|
|
|
<to>网格下标100-END</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
@ -1359,6 +1615,105 @@ true; |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>清空表</from> |
|
|
|
<to>日期下标 2 2</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>日期下标 2 2</from> |
|
|
|
<to>网格下标0-99</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>网格下标0-99</from> |
|
|
|
<to>网格数 2</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>网格数 2</from> |
|
|
|
<to>if(numberOfGrid>0) 2</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>if(numberOfGrid>gridIndex) 2</from> |
|
|
|
<to>网格操作 2</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>网格操作 2</from> |
|
|
|
<to>网格下标加一,处理下个网格 2</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>网格下标加一,处理下个网格 2</from> |
|
|
|
<to>if(numberOfGrid>0) 2</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>if(numberOfGrid>0) 2</from> |
|
|
|
<to>结束循环 4</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>N</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>if(numberOfGrid>0) 2</from> |
|
|
|
<to>index<100</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>index<100</from> |
|
|
|
<to>if(numberOfGrid>gridIndex) 2</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>Y</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
<hop> |
|
|
|
<from>index<100</from> |
|
|
|
<to>结束循环 4</to> |
|
|
|
<from_nr>0</from_nr> |
|
|
|
<to_nr>0</to_nr> |
|
|
|
<enabled>Y</enabled> |
|
|
|
<evaluation>N</evaluation> |
|
|
|
<unconditional>N</unconditional> |
|
|
|
</hop> |
|
|
|
</hops> |
|
|
|
<notepads> |
|
|
|
</notepads> |
|
|
|