Browse Source

user表过滤掉不需要的网格ID

hotfix/yujt_opt
zhangyuan 5 years ago
parent
commit
7953a335e7
  1. 51
      epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_comm_query.ktr
  2. 612
      epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_query.ktr
  3. 24
      epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_query_month.ktr
  4. 12
      epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_query_year.ktr
  5. 2
      epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_update.ktr
  6. 1
      epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_street_query.ktr
  7. 6
      epdc-cloud-property/doc/kettle/screen-yushan/screen_ys_grid_rank_month_update_day.ktr
  8. 535
      epdc-cloud-property/doc/kettle/screen-yushan/set_variable.ktr
  9. 12
      epdc-cloud-property/doc/kettle/screen-yushan/yushan_grid_day.kjb

51
epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_comm_query.ktr

@ -926,6 +926,12 @@ FROM
epdc_user u
WHERE
u.DEL_FLAG = '0'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND u.PARTY_FLAG = '1';</sql>
<limit>0</limit>
<lookup/>
@ -2098,6 +2104,13 @@ FROM
epdc_user u
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '0'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND find_in_set('${commId}', u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
@ -2231,6 +2244,12 @@ FROM
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '1'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND find_in_set('${commId}', u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
@ -2238,7 +2257,31 @@ WHERE
<variables_active>Y</variables_active>
<lazy_conversion_active>N</lazy_conversion_active>
<cached_row_meta_active>N</cached_row_meta_active>
<row-meta/>
<row-meta>
<value-meta>
<type>Integer</type>
<storagetype>normal</storagetype>
<name>party_member_num</name>
<length>15</length>
<precision>0</precision>
<origin>街道党员数</origin>
<comments>party_member_num</comments>
<conversion_Mask>####0;-####0</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol>,</grouping_symbol>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
<collator_disabled>Y</collator_disabled>
<collator_strength>0</collator_strength>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
<date_format_locale>zh_CN</date_format_locale>
<date_format_timezone>Asia/Shanghai</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
</row-meta>
<attributes/>
<cluster_schema/>
<remotesteps>
@ -2272,6 +2315,12 @@ FROM
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '0'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND find_in_set('${commId}', u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>

612
epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_query.ktr

@ -743,7 +743,7 @@
<enabled>Y</enabled>
</hop>
<hop>
<from>议题数</from>
<from>议题数</from>
<to>设置议题数变量</to>
<enabled>Y</enabled>
</hop>
@ -773,8 +773,8 @@
<enabled>Y</enabled>
</hop>
<hop>
<from>当月总议题数项目数</from>
<to>设置上月总议题数项目数变量</to>
<from>本月议题数项目数</from>
<to>设置本月议题数项目数变量</to>
<enabled>Y</enabled>
</hop>
<hop>
@ -1792,12 +1792,12 @@ AND DATE_FORMAT(CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
</remotesteps>
<GUI>
<xloc>128</xloc>
<yloc>704</yloc>
<yloc>624</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>当月总议题数项目数</name>
<name>当月项目数</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
@ -1809,52 +1809,19 @@ AND DATE_FORMAT(CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
</partitioning>
<connection>source_ys_events</connection>
<sql>SELECT
SUM(topic_num) AS topic_num_month,
SUM(project_num) AS project_num_month,
GRID_ID AS grid_id,
DATE_FORMAT(NOW(),'%Y-%m') AS cal_date
COUNT(i.ID) AS project_num
FROM
(
SELECT
COUNT(id) AS topic_num,
0 AS project_num,
GRID_ID
FROM
epdc_issue
WHERE
DEL_FLAG = '0'
AND grid_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND DATE_FORMAT(CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND GRID_ID = ${gridId}
GROUP BY
GRID_ID
UNION ALL
SELECT
0 AS topic_num,
COUNT(id) AS project_num,
GRID_ID
FROM
epdc_item
WHERE
DEL_FLAG = '0'
AND grid_id NOT IN (
epdc_item i
WHERE
i.DEL_FLAG = '0'
AND i.grid_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND DATE_FORMAT(CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND GRID_ID = ${gridId}
GROUP BY
GRID_ID
) t
GROUP BY
t.GRID_ID</sql>
AND DATE_FORMAT(i.CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND find_in_set(${gridId}, i.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@ -1865,11 +1832,11 @@ GROUP BY
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>topic_num</name>
<length>42</length>
<name>participate_of_news</name>
<length>34</length>
<precision>0</precision>
<origin>上月总议题数</origin>
<comments>topic_num</comments>
<origin>新闻参与量阅读量点赞量</origin>
<comments>participate_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
@ -1888,11 +1855,11 @@ GROUP BY
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>project_num</name>
<length>41</length>
<name>read_of_news</name>
<length>32</length>
<precision>0</precision>
<origin>上月总议题数</origin>
<comments>project_num</comments>
<origin>新闻参与量阅读量点赞量</origin>
<comments>read_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
@ -1909,39 +1876,16 @@ GROUP BY
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
<value-meta>
<type>Integer</type>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>grid_id</name>
<length>15</length>
<name>like_of_news</name>
<length>32</length>
<precision>0</precision>
<origin>上月总议题数</origin>
<comments>grid_id</comments>
<conversion_Mask>####0;-####0</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol>,</grouping_symbol>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
<collator_disabled>Y</collator_disabled>
<collator_strength>0</collator_strength>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
<date_format_locale>zh_CN</date_format_locale>
<date_format_timezone>Asia/Shanghai</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
<value-meta>
<type>String</type>
<storagetype>normal</storagetype>
<name>cal_date</name>
<length>7</length>
<precision>-1</precision>
<origin>上月总议题数</origin>
<comments>cal_date</comments>
<conversion_Mask/>
<origin>新闻参与量阅读量点赞量</origin>
<comments>like_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol>,</grouping_symbol>
<grouping_symbol/>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
@ -1965,12 +1909,12 @@ GROUP BY
</remotesteps>
<GUI>
<xloc>128</xloc>
<yloc>304</yloc>
<yloc>544</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>本月用户注册社群数</name>
<name>本月用户注册党员数</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
@ -1980,16 +1924,16 @@ GROUP BY
<method>none</method>
<schema_name/>
</partitioning>
<connection>source_ys_group</connection>
<connection>source_ys_user</connection>
<sql>SELECT
COUNT(id) as reg_group_num
COUNT(u.ID) as reg_party_num
FROM
epdc_group
epdc_user u
WHERE
DEL_FLAG = '0'
AND STATE = '10'
AND DATE_FORMAT(CREATED_TIME, '%Y%m') = DATE_FORMAT(CURDATE(), '%Y%m')
AND find_in_set(${gridId}, ALL_DEPT_IDS);</sql>
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '1'
AND DATE_FORMAT(u.CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@ -2100,12 +2044,12 @@ WHERE
</remotesteps>
<GUI>
<xloc>560</xloc>
<yloc>224</yloc>
<yloc>144</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>当月项目数</name>
<name>本月用户注册数</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
@ -2115,21 +2059,16 @@ WHERE
<method>none</method>
<schema_name/>
</partitioning>
<connection>source_ys_events</connection>
<connection>source_ys_user</connection>
<sql>SELECT
COUNT(i.ID) AS project_num
COUNT(u.ID) as reg_user_num
FROM
epdc_item i
epdc_user u
WHERE
i.DEL_FLAG = '0'
AND i.grid_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND DATE_FORMAT(i.CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND find_in_set(${gridId}, i.ALL_DEPT_IDS);</sql>
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '0'
AND DATE_FORMAT(u.REGISTER_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@ -2140,34 +2079,11 @@ AND DATE_FORMAT(i.CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>participate_of_news</name>
<length>34</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>participate_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
<collator_disabled>Y</collator_disabled>
<collator_strength>0</collator_strength>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
<date_format_locale>zh_CN</date_format_locale>
<date_format_timezone>Asia/Shanghai</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>read_of_news</name>
<length>32</length>
<name>topic_num</name>
<length>42</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>read_of_news</comments>
<origin>今年总议题数</origin>
<comments>topic_num</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
@ -2186,81 +2102,11 @@ AND DATE_FORMAT(i.CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>like_of_news</name>
<length>32</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>like_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
<collator_disabled>Y</collator_disabled>
<collator_strength>0</collator_strength>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
<date_format_locale>zh_CN</date_format_locale>
<date_format_timezone>Asia/Shanghai</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
</row-meta>
<attributes/>
<cluster_schema/>
<remotesteps>
<input>
</input>
<output>
</output>
</remotesteps>
<GUI>
<xloc>128</xloc>
<yloc>624</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>总议题数</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>source_ys_events</connection>
<sql>SELECT
COUNT(i.ID) AS case_num
FROM
epdc_issue i
WHERE
i.DEL_FLAG = '0'
AND i.grid_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND find_in_set(${gridId}, i.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
<variables_active>Y</variables_active>
<lazy_conversion_active>N</lazy_conversion_active>
<cached_row_meta_active>N</cached_row_meta_active>
<row-meta>
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>participate_of_news</name>
<length>34</length>
<name>project_num</name>
<length>41</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>participate_of_news</comments>
<origin>今年总议题数</origin>
<comments>project_num</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
@ -2277,16 +2123,16 @@ AND i.grid_id NOT IN (
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
<value-meta>
<type>BigNumber</type>
<type>Integer</type>
<storagetype>normal</storagetype>
<name>read_of_news</name>
<length>32</length>
<name>grid_id</name>
<length>15</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>read_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<origin>今年总议题数</origin>
<comments>grid_id</comments>
<conversion_Mask>####0;-####0</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
<grouping_symbol>,</grouping_symbol>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
@ -2300,16 +2146,16 @@ AND i.grid_id NOT IN (
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
<value-meta>
<type>BigNumber</type>
<type>String</type>
<storagetype>normal</storagetype>
<name>like_of_news</name>
<length>32</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>like_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<name>cal_date</name>
<length>7</length>
<precision>-1</precision>
<origin>今年总议题数</origin>
<comments>cal_date</comments>
<conversion_Mask/>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
<grouping_symbol>,</grouping_symbol>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
@ -2332,13 +2178,13 @@ AND i.grid_id NOT IN (
</output>
</remotesteps>
<GUI>
<xloc>128</xloc>
<yloc>144</yloc>
<xloc>560</xloc>
<yloc>64</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>本月用户注册党员数</name>
<name>本月用户注册社群数</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
@ -2348,16 +2194,16 @@ AND i.grid_id NOT IN (
<method>none</method>
<schema_name/>
</partitioning>
<connection>source_ys_user</connection>
<connection>source_ys_group</connection>
<sql>SELECT
COUNT(u.ID) as reg_party_num
COUNT(id) as reg_group_num
FROM
epdc_user u
epdc_group
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '1'
AND DATE_FORMAT(u.CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
DEL_FLAG = '0'
AND STATE = '10'
AND DATE_FORMAT(CREATED_TIME, '%Y%m') = DATE_FORMAT(CURDATE(), '%Y%m')
AND find_in_set(${gridId}, ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@ -2468,12 +2314,12 @@ AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
</remotesteps>
<GUI>
<xloc>560</xloc>
<yloc>144</yloc>
<yloc>224</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>本月用户注册数</name>
<name>本月议题数项目数</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
@ -2483,16 +2329,54 @@ AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
<method>none</method>
<schema_name/>
</partitioning>
<connection>source_ys_user</connection>
<connection>source_ys_events</connection>
<sql>SELECT
COUNT(u.ID) as reg_user_num
SUM(topic_num) AS topic_num_month,
SUM(project_num) AS project_num_month,
GRID_ID AS grid_id,
DATE_FORMAT(NOW(),'%Y-%m') AS cal_date
FROM
epdc_user u
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '0'
AND DATE_FORMAT(u.REGISTER_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
(
SELECT
COUNT(id) AS topic_num,
0 AS project_num,
GRID_ID
FROM
epdc_issue
WHERE
DEL_FLAG = '0'
AND grid_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND DATE_FORMAT(CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND GRID_ID = ${gridId}
GROUP BY
GRID_ID
UNION ALL
SELECT
0 AS topic_num,
COUNT(id) AS project_num,
GRID_ID
FROM
epdc_item
WHERE
DEL_FLAG = '0'
AND grid_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND DATE_FORMAT(CREATED_TIME, '%Y%m') = DATE_FORMAT(NOW(), '%Y%m')
AND GRID_ID = ${gridId}
GROUP BY
GRID_ID
) t
GROUP BY
t.GRID_ID</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@ -2506,7 +2390,7 @@ AND u.PARTY_FLAG = '0'
<name>topic_num</name>
<length>42</length>
<precision>0</precision>
<origin>今年总议题数</origin>
<origin>上月总议题数</origin>
<comments>topic_num</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
@ -2529,7 +2413,7 @@ AND u.PARTY_FLAG = '0'
<name>project_num</name>
<length>41</length>
<precision>0</precision>
<origin>今年总议题数</origin>
<origin>上月总议题数</origin>
<comments>project_num</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
@ -2552,7 +2436,7 @@ AND u.PARTY_FLAG = '0'
<name>grid_id</name>
<length>15</length>
<precision>0</precision>
<origin>今年总议题数</origin>
<origin>上月总议题数</origin>
<comments>grid_id</comments>
<conversion_Mask>####0;-####0</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
@ -2575,7 +2459,7 @@ AND u.PARTY_FLAG = '0'
<name>cal_date</name>
<length>7</length>
<precision>-1</precision>
<origin>今年总议题数</origin>
<origin>上月总议题数</origin>
<comments>cal_date</comments>
<conversion_Mask/>
<decimal_symbol>.</decimal_symbol>
@ -2602,8 +2486,8 @@ AND u.PARTY_FLAG = '0'
</output>
</remotesteps>
<GUI>
<xloc>560</xloc>
<yloc>64</yloc>
<xloc>128</xloc>
<yloc>304</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -2620,12 +2504,19 @@ AND u.PARTY_FLAG = '0'
</partitioning>
<connection>source_ys_user</connection>
<sql>SELECT
COUNT(ID) AS reg_party_num
COUNT(u.id) register_party_num
FROM
epdc_party_members
epdc_user u
WHERE
DEL_FLAG = '0'
AND find_in_set(${gridId}, ALL_DEPT_IDS);</sql>
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '1'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@ -2642,8 +2533,8 @@ AND find_in_set(${gridId}, ALL_DEPT_IDS);</sql>
</output>
</remotesteps>
<GUI>
<xloc>560</xloc>
<yloc>624</yloc>
<xloc>1008</xloc>
<yloc>384</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -2665,6 +2556,13 @@ FROM
epdc_user u
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '0'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
@ -2682,8 +2580,8 @@ AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
</output>
</remotesteps>
<GUI>
<xloc>560</xloc>
<yloc>544</yloc>
<xloc>1008</xloc>
<yloc>304</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -2868,14 +2766,14 @@ AND u.dept_id = ${gridId};</sql>
</output>
</remotesteps>
<GUI>
<xloc>128</xloc>
<yloc>544</yloc>
<xloc>1008</xloc>
<yloc>224</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>设置上月总议题数项目数变量</name>
<type>SetVariable</type>
<name>议题数</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
@ -2884,33 +2782,97 @@ AND u.dept_id = ${gridId};</sql>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<field_name>cal_date</field_name>
<variable_name>cal_date</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
<field>
<field_name>grid_id</field_name>
<variable_name>grid_id</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
<field>
<field_name>project_num_month</field_name>
<variable_name>project_num_month</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
<field>
<field_name>topic_num_month</field_name>
<variable_name>topic_num_month</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
</fields>
<use_formatting>Y</use_formatting>
<connection>source_ys_events</connection>
<sql>SELECT
COUNT(i.ID) AS case_num
FROM
epdc_issue i
WHERE
i.DEL_FLAG = '0'
AND i.grid_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND find_in_set(${gridId}, i.ALL_DEPT_IDS);</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
<variables_active>Y</variables_active>
<lazy_conversion_active>N</lazy_conversion_active>
<cached_row_meta_active>N</cached_row_meta_active>
<row-meta>
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>participate_of_news</name>
<length>34</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>participate_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
<collator_disabled>Y</collator_disabled>
<collator_strength>0</collator_strength>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
<date_format_locale>zh_CN</date_format_locale>
<date_format_timezone>Asia/Shanghai</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>read_of_news</name>
<length>32</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>read_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
<collator_disabled>Y</collator_disabled>
<collator_strength>0</collator_strength>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
<date_format_locale>zh_CN</date_format_locale>
<date_format_timezone>Asia/Shanghai</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
<value-meta>
<type>BigNumber</type>
<storagetype>normal</storagetype>
<name>like_of_news</name>
<length>32</length>
<precision>0</precision>
<origin>新闻参与量阅读量点赞量</origin>
<comments>like_of_news</comments>
<conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
<decimal_symbol>.</decimal_symbol>
<grouping_symbol/>
<currency_symbol/>
<trim_type>none</trim_type>
<case_insensitive>N</case_insensitive>
<collator_disabled>Y</collator_disabled>
<collator_strength>0</collator_strength>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
<date_format_locale>zh_CN</date_format_locale>
<date_format_timezone>Asia/Shanghai</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
</row-meta>
<attributes/>
<cluster_schema/>
<remotesteps>
@ -2920,8 +2882,8 @@ AND u.dept_id = ${gridId};</sql>
</output>
</remotesteps>
<GUI>
<xloc>368</xloc>
<yloc>304</yloc>
<xloc>128</xloc>
<yloc>144</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -3201,7 +3163,7 @@ AND u.dept_id = ${gridId};</sql>
</remotesteps>
<GUI>
<xloc>368</xloc>
<yloc>704</yloc>
<yloc>624</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -3235,7 +3197,7 @@ AND u.dept_id = ${gridId};</sql>
</remotesteps>
<GUI>
<xloc>368</xloc>
<yloc>624</yloc>
<yloc>544</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -3341,6 +3303,58 @@ AND u.dept_id = ${gridId};</sql>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>设置本月议题数项目数变量</name>
<type>SetVariable</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<field_name>cal_date</field_name>
<variable_name>cal_date</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
<field>
<field_name>grid_id</field_name>
<variable_name>grid_id</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
<field>
<field_name>project_num_month</field_name>
<variable_name>project_num_month</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
<field>
<field_name>topic_num_month</field_name>
<variable_name>topic_num_month</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
</fields>
<use_formatting>Y</use_formatting>
<attributes/>
<cluster_schema/>
<remotesteps>
<input>
</input>
<output>
</output>
</remotesteps>
<GUI>
<xloc>368</xloc>
<yloc>304</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>设置注册党员数变量</name>
<type>SetVariable</type>
@ -3354,8 +3368,8 @@ AND u.dept_id = ${gridId};</sql>
</partitioning>
<fields>
<field>
<field_name>reg_party_num</field_name>
<variable_name>reg_party_num_month</variable_name>
<field_name>register_party_num</field_name>
<variable_name>register_party_num</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value/>
</field>
@ -3370,8 +3384,8 @@ AND u.dept_id = ${gridId};</sql>
</output>
</remotesteps>
<GUI>
<xloc>800</xloc>
<yloc>624</yloc>
<xloc>1248</xloc>
<yloc>384</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -3404,8 +3418,8 @@ AND u.dept_id = ${gridId};</sql>
</output>
</remotesteps>
<GUI>
<xloc>800</xloc>
<yloc>544</yloc>
<xloc>1248</xloc>
<yloc>304</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -3478,8 +3492,8 @@ AND u.dept_id = ${gridId};</sql>
</output>
</remotesteps>
<GUI>
<xloc>368</xloc>
<yloc>544</yloc>
<xloc>1248</xloc>
<yloc>224</yloc>
<draw>Y</draw>
</GUI>
</step>

24
epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_query_month.ktr

@ -1113,6 +1113,12 @@ FROM
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '1'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND DATE_FORMAT(u.CREATED_TIME, '%Y%m') = DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y%m')
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
@ -1248,6 +1254,12 @@ FROM
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '0'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND DATE_FORMAT(u.REGISTER_TIME, '%Y%m') = DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y%m')
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
@ -1926,6 +1938,12 @@ FROM
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '1'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND YEAR (u.CREATED_TIME) = YEAR (NOW())
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
<limit>0</limit>
@ -2060,6 +2078,12 @@ FROM
epdc_user u
WHERE
u.DEL_FLAG = '0'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND u.PARTY_FLAG = '0'
AND YEAR (u.CREATED_TIME) = YEAR (NOW())
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>

12
epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_query_year.ktr

@ -1105,6 +1105,12 @@ FROM
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '1'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND u.CREATED_TIME BETWEEN STR_TO_DATE( CONCAT( YEAR ( NOW())- 1, '-01-01' ), '%Y-%m-%d' )
AND STR_TO_DATE( CONCAT( YEAR ( NOW()), '-01-01' ), '%Y-%m-%d' )
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>
@ -1241,6 +1247,12 @@ FROM
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '0'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,
1258691044142047233,
1258587880499798017
)
AND u.CREATED_TIME BETWEEN STR_TO_DATE( CONCAT( YEAR ( NOW())- 1, '-01-01' ), '%Y-%m-%d' )
AND STR_TO_DATE( CONCAT( YEAR ( NOW()), '-01-01' ), '%Y-%m-%d' )
AND find_in_set(${gridId}, u.ALL_DEPT_IDS);</sql>

2
epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_update.ktr

@ -552,7 +552,7 @@
)
VALUES
(
${commId}, '${commName}', ${gridId}, '${communityGrid}', ${register_num}, ${case_num}, ${project_num_now}, ${village_num}, ${building_num}, ${housemaster_num}, ${focus_groups_num}, ${party_num}, ${reg_party_num_month}, ${close_case_num}, ${finish_project_num}, '${grid_master}', ${sort}, NOW(), null
${commId}, '${commName}', ${gridId}, '${communityGrid}', ${register_num}, ${case_num}, ${project_num_now}, ${village_num}, ${building_num}, ${housemaster_num}, ${focus_groups_num}, ${party_num}, ${register_party_num}, ${close_case_num}, ${finish_project_num}, '${grid_master}', ${sort}, NOW(), null
)</sql>
<set_params>N</set_params>
<insert_field/>

1
epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_street_query.ktr

@ -1915,6 +1915,7 @@ FROM
epdc_user u
WHERE
u.DEL_FLAG = '0'
AND u.PARTY_FLAG = '0'
AND u.dept_id NOT IN (
1258690654403125249,
1258690914995232770,

6
epdc-cloud-property/doc/kettle/screen-yushan/screen_ys_grid_rank_month_update_day.ktr

@ -560,8 +560,8 @@ VALUES
</output>
</remotesteps>
<GUI>
<xloc>543</xloc>
<yloc>193</yloc>
<xloc>560</xloc>
<yloc>256</yloc>
<draw>Y</draw>
</GUI>
</step>
@ -666,7 +666,7 @@ VALUES
</output>
</remotesteps>
<GUI>
<xloc>432</xloc>
<xloc>480</xloc>
<yloc>352</yloc>
<draw>Y</draw>
</GUI>

535
epdc-cloud-property/doc/kettle/screen-yushan/set_variable.ktr

@ -1,535 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<transformation>
<info>
<name>set_variable</name>
<description/>
<extended_description/>
<trans_version/>
<trans_type>Normal</trans_type>
<trans_status>0</trans_status>
<directory>/</directory>
<parameters>
</parameters>
<log>
<trans-log-table>
<connection/>
<schema/>
<table/>
<size_limit_lines/>
<interval/>
<timeout_days/>
<field>
<id>ID_BATCH</id>
<enabled>Y</enabled>
<name>ID_BATCH</name>
</field>
<field>
<id>CHANNEL_ID</id>
<enabled>Y</enabled>
<name>CHANNEL_ID</name>
</field>
<field>
<id>TRANSNAME</id>
<enabled>Y</enabled>
<name>TRANSNAME</name>
</field>
<field>
<id>STATUS</id>
<enabled>Y</enabled>
<name>STATUS</name>
</field>
<field>
<id>LINES_READ</id>
<enabled>Y</enabled>
<name>LINES_READ</name>
<subject/>
</field>
<field>
<id>LINES_WRITTEN</id>
<enabled>Y</enabled>
<name>LINES_WRITTEN</name>
<subject/>
</field>
<field>
<id>LINES_UPDATED</id>
<enabled>Y</enabled>
<name>LINES_UPDATED</name>
<subject/>
</field>
<field>
<id>LINES_INPUT</id>
<enabled>Y</enabled>
<name>LINES_INPUT</name>
<subject/>
</field>
<field>
<id>LINES_OUTPUT</id>
<enabled>Y</enabled>
<name>LINES_OUTPUT</name>
<subject/>
</field>
<field>
<id>LINES_REJECTED</id>
<enabled>Y</enabled>
<name>LINES_REJECTED</name>
<subject/>
</field>
<field>
<id>ERRORS</id>
<enabled>Y</enabled>
<name>ERRORS</name>
</field>
<field>
<id>STARTDATE</id>
<enabled>Y</enabled>
<name>STARTDATE</name>
</field>
<field>
<id>ENDDATE</id>
<enabled>Y</enabled>
<name>ENDDATE</name>
</field>
<field>
<id>LOGDATE</id>
<enabled>Y</enabled>
<name>LOGDATE</name>
</field>
<field>
<id>DEPDATE</id>
<enabled>Y</enabled>
<name>DEPDATE</name>
</field>
<field>
<id>REPLAYDATE</id>
<enabled>Y</enabled>
<name>REPLAYDATE</name>
</field>
<field>
<id>LOG_FIELD</id>
<enabled>Y</enabled>
<name>LOG_FIELD</name>
</field>
<field>
<id>EXECUTING_SERVER</id>
<enabled>N</enabled>
<name>EXECUTING_SERVER</name>
</field>
<field>
<id>EXECUTING_USER</id>
<enabled>N</enabled>
<name>EXECUTING_USER</name>
</field>
<field>
<id>CLIENT</id>
<enabled>N</enabled>
<name>CLIENT</name>
</field>
</trans-log-table>
<perf-log-table>
<connection/>
<schema/>
<table/>
<interval/>
<timeout_days/>
<field>
<id>ID_BATCH</id>
<enabled>Y</enabled>
<name>ID_BATCH</name>
</field>
<field>
<id>SEQ_NR</id>
<enabled>Y</enabled>
<name>SEQ_NR</name>
</field>
<field>
<id>LOGDATE</id>
<enabled>Y</enabled>
<name>LOGDATE</name>
</field>
<field>
<id>TRANSNAME</id>
<enabled>Y</enabled>
<name>TRANSNAME</name>
</field>
<field>
<id>STEPNAME</id>
<enabled>Y</enabled>
<name>STEPNAME</name>
</field>
<field>
<id>STEP_COPY</id>
<enabled>Y</enabled>
<name>STEP_COPY</name>
</field>
<field>
<id>LINES_READ</id>
<enabled>Y</enabled>
<name>LINES_READ</name>
</field>
<field>
<id>LINES_WRITTEN</id>
<enabled>Y</enabled>
<name>LINES_WRITTEN</name>
</field>
<field>
<id>LINES_UPDATED</id>
<enabled>Y</enabled>
<name>LINES_UPDATED</name>
</field>
<field>
<id>LINES_INPUT</id>
<enabled>Y</enabled>
<name>LINES_INPUT</name>
</field>
<field>
<id>LINES_OUTPUT</id>
<enabled>Y</enabled>
<name>LINES_OUTPUT</name>
</field>
<field>
<id>LINES_REJECTED</id>
<enabled>Y</enabled>
<name>LINES_REJECTED</name>
</field>
<field>
<id>ERRORS</id>
<enabled>Y</enabled>
<name>ERRORS</name>
</field>
<field>
<id>INPUT_BUFFER_ROWS</id>
<enabled>Y</enabled>
<name>INPUT_BUFFER_ROWS</name>
</field>
<field>
<id>OUTPUT_BUFFER_ROWS</id>
<enabled>Y</enabled>
<name>OUTPUT_BUFFER_ROWS</name>
</field>
</perf-log-table>
<channel-log-table>
<connection/>
<schema/>
<table/>
<timeout_days/>
<field>
<id>ID_BATCH</id>
<enabled>Y</enabled>
<name>ID_BATCH</name>
</field>
<field>
<id>CHANNEL_ID</id>
<enabled>Y</enabled>
<name>CHANNEL_ID</name>
</field>
<field>
<id>LOG_DATE</id>
<enabled>Y</enabled>
<name>LOG_DATE</name>
</field>
<field>
<id>LOGGING_OBJECT_TYPE</id>
<enabled>Y</enabled>
<name>LOGGING_OBJECT_TYPE</name>
</field>
<field>
<id>OBJECT_NAME</id>
<enabled>Y</enabled>
<name>OBJECT_NAME</name>
</field>
<field>
<id>OBJECT_COPY</id>
<enabled>Y</enabled>
<name>OBJECT_COPY</name>
</field>
<field>
<id>REPOSITORY_DIRECTORY</id>
<enabled>Y</enabled>
<name>REPOSITORY_DIRECTORY</name>
</field>
<field>
<id>FILENAME</id>
<enabled>Y</enabled>
<name>FILENAME</name>
</field>
<field>
<id>OBJECT_ID</id>
<enabled>Y</enabled>
<name>OBJECT_ID</name>
</field>
<field>
<id>OBJECT_REVISION</id>
<enabled>Y</enabled>
<name>OBJECT_REVISION</name>
</field>
<field>
<id>PARENT_CHANNEL_ID</id>
<enabled>Y</enabled>
<name>PARENT_CHANNEL_ID</name>
</field>
<field>
<id>ROOT_CHANNEL_ID</id>
<enabled>Y</enabled>
<name>ROOT_CHANNEL_ID</name>
</field>
</channel-log-table>
<step-log-table>
<connection/>
<schema/>
<table/>
<timeout_days/>
<field>
<id>ID_BATCH</id>
<enabled>Y</enabled>
<name>ID_BATCH</name>
</field>
<field>
<id>CHANNEL_ID</id>
<enabled>Y</enabled>
<name>CHANNEL_ID</name>
</field>
<field>
<id>LOG_DATE</id>
<enabled>Y</enabled>
<name>LOG_DATE</name>
</field>
<field>
<id>TRANSNAME</id>
<enabled>Y</enabled>
<name>TRANSNAME</name>
</field>
<field>
<id>STEPNAME</id>
<enabled>Y</enabled>
<name>STEPNAME</name>
</field>
<field>
<id>STEP_COPY</id>
<enabled>Y</enabled>
<name>STEP_COPY</name>
</field>
<field>
<id>LINES_READ</id>
<enabled>Y</enabled>
<name>LINES_READ</name>
</field>
<field>
<id>LINES_WRITTEN</id>
<enabled>Y</enabled>
<name>LINES_WRITTEN</name>
</field>
<field>
<id>LINES_UPDATED</id>
<enabled>Y</enabled>
<name>LINES_UPDATED</name>
</field>
<field>
<id>LINES_INPUT</id>
<enabled>Y</enabled>
<name>LINES_INPUT</name>
</field>
<field>
<id>LINES_OUTPUT</id>
<enabled>Y</enabled>
<name>LINES_OUTPUT</name>
</field>
<field>
<id>LINES_REJECTED</id>
<enabled>Y</enabled>
<name>LINES_REJECTED</name>
</field>
<field>
<id>ERRORS</id>
<enabled>Y</enabled>
<name>ERRORS</name>
</field>
<field>
<id>LOG_FIELD</id>
<enabled>N</enabled>
<name>LOG_FIELD</name>
</field>
</step-log-table>
<metrics-log-table>
<connection/>
<schema/>
<table/>
<timeout_days/>
<field>
<id>ID_BATCH</id>
<enabled>Y</enabled>
<name>ID_BATCH</name>
</field>
<field>
<id>CHANNEL_ID</id>
<enabled>Y</enabled>
<name>CHANNEL_ID</name>
</field>
<field>
<id>LOG_DATE</id>
<enabled>Y</enabled>
<name>LOG_DATE</name>
</field>
<field>
<id>METRICS_DATE</id>
<enabled>Y</enabled>
<name>METRICS_DATE</name>
</field>
<field>
<id>METRICS_CODE</id>
<enabled>Y</enabled>
<name>METRICS_CODE</name>
</field>
<field>
<id>METRICS_DESCRIPTION</id>
<enabled>Y</enabled>
<name>METRICS_DESCRIPTION</name>
</field>
<field>
<id>METRICS_SUBJECT</id>
<enabled>Y</enabled>
<name>METRICS_SUBJECT</name>
</field>
<field>
<id>METRICS_TYPE</id>
<enabled>Y</enabled>
<name>METRICS_TYPE</name>
</field>
<field>
<id>METRICS_VALUE</id>
<enabled>Y</enabled>
<name>METRICS_VALUE</name>
</field>
</metrics-log-table>
</log>
<maxdate>
<connection/>
<table/>
<field/>
<offset>0.0</offset>
<maxdiff>0.0</maxdiff>
</maxdate>
<size_rowset>10000</size_rowset>
<sleep_time_empty>50</sleep_time_empty>
<sleep_time_full>50</sleep_time_full>
<unique_connections>N</unique_connections>
<feedback_shown>Y</feedback_shown>
<feedback_size>50000</feedback_size>
<using_thread_priorities>Y</using_thread_priorities>
<shared_objects_file/>
<capture_step_performance>N</capture_step_performance>
<step_performance_capturing_delay>1000</step_performance_capturing_delay>
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
<dependencies>
</dependencies>
<partitionschemas>
</partitionschemas>
<slaveservers>
</slaveservers>
<clusterschemas>
</clusterschemas>
<created_user>-</created_user>
<created_date>2020/04/27 09:32:01.126</created_date>
<modified_user>-</modified_user>
<modified_date>2020/04/27 09:32:01.126</modified_date>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
</info>
<notepads>
</notepads>
<order>
</order>
<step>
<name>设置变量</name>
<type>SetVariable</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<field_name>topic_num</field_name>
<variable_name>topic_num</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>project_num</field_name>
<variable_name>project_num</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>reg_user_num</field_name>
<variable_name>reg_user_num</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>reg_party_num</field_name>
<variable_name>reg_party_num</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>reg_group_num</field_name>
<variable_name>reg_group_num</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>topic_num_year</field_name>
<variable_name>topic_num_year</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>project_num_year</field_name>
<variable_name>project_num_year</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>reg_user_num_year</field_name>
<variable_name>reg_user_num_year</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>reg_party_num_year</field_name>
<variable_name>reg_party_num_year</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
<field>
<field_name>reg_group_num_year</field_name>
<variable_name>reg_group_num_year</variable_name>
<variable_type>PARENT_JOB</variable_type>
<default_value>0</default_value>
</field>
</fields>
<use_formatting>Y</use_formatting>
<attributes/>
<cluster_schema/>
<remotesteps>
<input>
</input>
<output>
</output>
</remotesteps>
<GUI>
<xloc>368</xloc>
<yloc>336</yloc>
<draw>Y</draw>
</GUI>
</step>
<step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>
</slave-step-copy-partition-distribution>
<slave_transformation>N</slave_transformation>
<attributes/>
</transformation>

12
epdc-cloud-property/doc/kettle/screen-yushan/yushan_grid_day.kjb

@ -322,7 +322,7 @@
<draw>Y</draw>
<nr>0</nr>
<xloc>304</xloc>
<yloc>320</yloc>
<yloc>192</yloc>
<attributes_kjc/>
</entry>
<entry>
@ -419,8 +419,8 @@
<parallel>N</parallel>
<draw>Y</draw>
<nr>0</nr>
<xloc>160</xloc>
<yloc>320</yloc>
<xloc>192</xloc>
<yloc>192</yloc>
<attributes_kjc/>
</entry>
<entry>
@ -483,7 +483,7 @@ parent_job.setVariable("reg_group_num",0);
parent_job.setVariable("reg_user_num_year",0);
parent_job.setVariable("reg_party_num_year",0);
parent_job.setVariable("reg_group_num_year",0);
parent_job.setVariable("register_party_num",0);
parent_job.setVariable("village_num",0);
parent_job.setVariable("building_num",0);
parent_job.setVariable("housemaster_num",0);
@ -496,8 +496,8 @@ true;</script>
<parallel>N</parallel>
<draw>Y</draw>
<nr>0</nr>
<xloc>448</xloc>
<yloc>320</yloc>
<xloc>416</xloc>
<yloc>192</yloc>
<attributes_kjc/>
</entry>
</entries>

Loading…
Cancel
Save