<def-flow>
	<appid>1</appid>
	<appname>project1</appname>
	<flowid>15</flowid>
	<flowname>project1_Flow0</flowname>
	<desc>演示追数主流程设计一</desc>
	<flowstate>fstQuit</flowstate>
	<startmodule>MainModul</startmodule>
	<ctlbatch>$(msystime)</ctlbatch>
	<pri_rwx>rwxrwxrwx</pri_rwx>
	<createuser>admin</createuser>
	<usergroups>admin,</usergroups>
	<owners>admin,</owners>
	<createtime>20200520173219</createtime>
	<maxjob>5</maxjob>
	<logsavedays>5</logsavedays>
	<issubflow>N</issubflow>
	<flowtype>0</flowtype>
	<def-module>
		<module>
			<name>MainModul</name>
			<desc>主模块</desc>
		</module>
	</def-module>
	<def-para>
		<para>
			<name>startdatetime</name>
			<value>20200520010000</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>启动触发时间如每晚1点开始</desc>
		</para>
		<para>
			<name>workdate</name>
			<value>20200519</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>业务日期如为T加1是此时为20200519</desc>
		</para>
		<para>
			<name>sleep_para</name>
			<value>10</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>睡眠时长</desc>
		</para>
		<para>
			<name>msystime</name>
			<value>20200520061909</value>
			<paratype>date</paratype>
			<encry>N</encry>
			<desc></desc>
		</para>
	</def-para>
</def-flow>0B57E56505C2MainModul0B57E56505C4<!--************************************************************* 
  TASKCTL技术平台模块文件 
     工程名称：project1
     流程名称: project1_Flow0
     模块名称: MainModul
                                                             
*****************************************************************-->
<serial>
  <name>MainModul_rootnode</name>
  <begin>
    <name>MainModul_beginjob</name>
    <jobdesc>begin</jobdesc>
  </begin>
  <!--  用户模块代码自定义区开始 -->
  <nulljob>
    <name>startctljob</name>
    <jobdesc>启动触发控制节点</jobdesc>
    <condition>if($(startdatetime)&lt;systime('yyyymmddhhmiss')) CTL_DOIT else CTL_WAIT</condition>
  </nulljob>
  <exe>
    <name>MainModul_JobNode0</name>
    <progname>sleep</progname>
    <para>$(sleep_para)</para>
    <jobdesc>睡眠n秒</jobdesc>
  </exe>
  <!--
      调实际业务流程,且向实际的子流程传递参数，为子流程的私有变量赋值；
      		也可以不传递参数，不传递时，流程的私有变量用当前默认的值。
   -->
  <exe>
    <name>dojob</name>
    <progname>echo</progname>
    <para>$(workdate)</para>
    <jobdesc>类比实际业务流</jobdesc>
  </exe>
  <exe>
    <name>MainModul_JobNode1</name>
    <progname>sleep</progname>
    <para>$(sleep_para)</para>
    <jobdesc>睡眠n秒</jobdesc>
  </exe>
  <modivarv>
    <name>modivarv</name>
    <para>varname=workdate,varvalue=$(addday('$(workdate)', 'yyyymmdd', 1))</para>
    <jobdesc>翻牌：修改业务日期</jobdesc>
  </modivarv>
  <modivarv>
    <name>passflow</name>
    <para>varname=startdatetime,varvalue=$(addday('$(startdatetime)', 'yyyymmddhhmiss', 1))</para>
    <jobdesc>翻牌：修改变量</jobdesc>
  </modivarv>
  <!--  用户模块代码自定义区结束 -->
  <end>
    <name>MainModul_endjob</name>
    <jobdesc>end</jobdesc>
  </end>
</serial>0B57E56505C40B57E56505C30B57E56505C20B57E56505C1<def-flow>
	<appid>1</appid>
	<appname>project1</appname>
	<flowid>18</flowid>
	<flowname>project1_Flow1</flowname>
	<desc>演示追数主流程设计二</desc>
	<flowstate>fstQuit</flowstate>
	<startmodule>MainModul</startmodule>
	<ctlbatch>$(msystime)</ctlbatch>
	<pri_rwx>rwxrwxrwx</pri_rwx>
	<createuser>admin</createuser>
	<usergroups>admin,</usergroups>
	<owners>admin,</owners>
	<createtime>20200520181717</createtime>
	<maxjob>5</maxjob>
	<logsavedays>5</logsavedays>
	<issubflow>N</issubflow>
	<flowtype>0</flowtype>
	<def-module>
		<module>
			<name>MainModul</name>
			<desc>主模块</desc>
		</module>
	</def-module>
	<def-para>
		<para>
			<name>workdate</name>
			<value>20200519</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>业务日期如为T加1是此时为20200519</desc>
		</para>
		<para>
			<name>sleep_para</name>
			<value>10</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>睡眠时长</desc>
		</para>
		<para>
			<name>startdate</name>
			<value>20200101</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>业务日期参照开始日期</desc>
		</para>
		<para>
			<name>enddate</name>
			<value>20200131</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>业务日常参照结束时间</desc>
		</para>
		<para>
			<name>msystime</name>
			<value>20200520061947</value>
			<paratype>date</paratype>
			<encry>N</encry>
			<desc></desc>
		</para>
	</def-para>
</def-flow>0B57E56505C2MainModul0B57E56505C4<!--************************************************************* 
  TASKCTL技术平台模块文件 
     工程名称：project1
     流程名称: project1_Flow1
     模块名称: MainModul
                                                             
*****************************************************************-->
<serial>
  <name>MainModul_rootnode</name>
  <begin>
    <name>MainModul_beginjob</name>
    <jobdesc>begin</jobdesc>
  </begin>
  <!--  用户模块代码自定义区开始 -->
  <nulljob>
    <name>check_date</name>
    <jobdesc>检查日期是否在开始日期和结束日期之间</jobdesc>
    <condition>if($(workdate)&gt;=$(startdate) and $(workdate)&lt;=$(enddate)) CTL_DOIT else CTL_WAIT</condition>
  </nulljob>
  <exe>
    <name>MainModul_JobNode0</name>
    <progname>sleep</progname>
    <para>$(sleep_para)</para>
    <jobdesc>睡眠n秒</jobdesc>
  </exe>
  <!--
      调实际业务流程,且向实际的子流程传递参数，为子流程的私有变量赋值；
      		也可以不传递参数，不传递时，流程的私有变量用当前默认的值。
   -->
  <exe>
    <name>dojob</name>
    <progname>echo</progname>
    <para>$(workdate)</para>
    <jobdesc>类比实际业务流</jobdesc>
  </exe>
  <exe>
    <name>MainModul_JobNode1</name>
    <progname>sleep</progname>
    <para>$(sleep_para)</para>
    <jobdesc>睡眠n秒</jobdesc>
  </exe>
  <modivarv>
    <name>modivarv</name>
    <para>varname=workdate,varvalue=$(addday('$(workdate)', 'yyyymmdd', 1))</para>
    <jobdesc>翻牌：修改业务日期</jobdesc>
  </modivarv>
  <!--  用户模块代码自定义区结束 -->
  <end>
    <name>MainModul_endjob</name>
    <jobdesc>end</jobdesc>
  </end>
</serial>0B57E56505C40B57E56505C30B57E56505C20B57E56505C1<def-flow>
	<appid>1</appid>
	<appname>project1</appname>
	<flowid>19</flowid>
	<flowname>project1_Flow2</flowname>
	<desc>演示追数主流程设计三</desc>
	<flowstate>fstQuit</flowstate>
	<startmodule>MainModul</startmodule>
	<ctlbatch>$(msystime)</ctlbatch>
	<pri_rwx>rwxrwxrwx</pri_rwx>
	<createuser>admin</createuser>
	<usergroups>admin,</usergroups>
	<owners>admin,</owners>
	<createtime>20200520181750</createtime>
	<maxjob>5</maxjob>
	<logsavedays>5</logsavedays>
	<issubflow>N</issubflow>
	<flowtype>0</flowtype>
	<def-module>
		<module>
			<name>MainModul</name>
			<desc>主模块</desc>
		</module>
	</def-module>
	<def-para>
		<para>
			<name>startdatetime</name>
			<value>20200520010000</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>启动触发时间如每晚1点开始</desc>
		</para>
		<para>
			<name>workdate</name>
			<value>20200519</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>业务日期如为T加1是此时为20200519</desc>
		</para>
		<para>
			<name>sleep_para</name>
			<value>10</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>睡眠时长</desc>
		</para>
		<para>
			<name>startdate</name>
			<value>20200101</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>业务日期参照开始日期</desc>
		</para>
		<para>
			<name>enddate</name>
			<value>20200131</value>
			<paratype>comm</paratype>
			<encry>N</encry>
			<desc>业务日常参照结束时间</desc>
		</para>
		<para>
			<name>msystime</name>
			<value>20200520061757</value>
			<paratype>date</paratype>
			<encry>N</encry>
			<desc />
		</para>
	</def-para>
</def-flow>0B57E56505C2MainModul0B57E56505C4<!--************************************************************* 
  TASKCTL技术平台模块文件 
     工程名称：project1
     流程名称: project1_Flow2
     模块名称: MainModul
                                                             
*****************************************************************-->
<serial>
  <name>MainModul_rootnode</name>
  <begin>
    <name>MainModul_beginjob</name>
    <jobdesc>begin</jobdesc>
  </begin>
  <!--  用户模块代码自定义区开始 -->
  <nulljob>
    <name>check_date</name>
    <jobdesc>检查日期是否在开始日期和结束日期之间</jobdesc>
    <condition>if($(workdate)&gt;=$(startdate) and $(workdate)&lt;=$(enddate)) CTL_DOIT else CTL_WAIT</condition>
  </nulljob>
  <nulljob>
    <name>startctljob</name>
    <jobdesc>启动触发控制节点</jobdesc>
    <condition>if($(startdatetime)&lt;systime('yyyymmddhhmiss')) CTL_DOIT else CTL_WAIT</condition>
  </nulljob>
  <exe>
    <name>MainModul_JobNode0</name>
    <progname>sleep</progname>
    <para>$(sleep_para)</para>
    <jobdesc>睡眠n秒</jobdesc>
  </exe>
  <!--
      调实际业务流程,且向实际的子流程传递参数，为子流程的私有变量赋值；
      		也可以不传递参数，不传递时，流程的私有变量用当前默认的值。
   -->
  <exe>
    <name>dojob</name>
    <progname>echo</progname>
    <para>$(workdate)</para>
    <jobdesc>类比实际业务流</jobdesc>
  </exe>
  <exe>
    <name>MainModul_JobNode1</name>
    <progname>sleep</progname>
    <para>$(sleep_para)</para>
    <jobdesc>睡眠n秒</jobdesc>
  </exe>
  <modivarv>
    <name>modivarv</name>
    <para>varname=workdate,varvalue=$(addday('$(workdate)', 'yyyymmdd', 1))</para>
    <jobdesc>翻牌：修改业务日期</jobdesc>
  </modivarv>
  <modivarv>
    <name>modienddate</name>
    <para>varname=enddate,varvalue=$(addday('$(enddate)', 'yyyymmdd', 1))</para>
    <jobdesc>翻牌：修改结束日期</jobdesc>
  </modivarv>
  <modivarv>
    <name>passflow</name>
    <para>varname=startdatetime,varvalue=$(addday('$(startdatetime)', 'yyyymmddhhmiss', 1))</para>
    <jobdesc>翻牌：修改变量</jobdesc>
  </modivarv>
  <!--  用户模块代码自定义区结束 -->
  <end>
    <name>MainModul_endjob</name>
    <jobdesc>end</jobdesc>
  </end>
</serial>0B57E56505C40B57E56505C30B57E56505C20B57E56505C10B57E56505C0