|
@ -513,58 +513,6 @@ |
|
|
</connection> |
|
|
</connection> |
|
|
<order> |
|
|
<order> |
|
|
</order> |
|
|
</order> |
|
|
<step> |
|
|
|
|
|
<name>网格排名表</name> |
|
|
|
|
|
<type>ExecSQL</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<connection>target_yushan</connection> |
|
|
|
|
|
<execute_each_row>N</execute_each_row> |
|
|
|
|
|
<single_statement>N</single_statement> |
|
|
|
|
|
<replace_variables>Y</replace_variables> |
|
|
|
|
|
<quoteString>N</quoteString> |
|
|
|
|
|
<sql>INSERT INTO ys_grid_rank ( |
|
|
|
|
|
cal_date, |
|
|
|
|
|
name, |
|
|
|
|
|
grid_id, |
|
|
|
|
|
comm_id, |
|
|
|
|
|
comm_name, |
|
|
|
|
|
topic_num, |
|
|
|
|
|
project_num, |
|
|
|
|
|
create_time, |
|
|
|
|
|
update_time |
|
|
|
|
|
) |
|
|
|
|
|
VALUES |
|
|
|
|
|
( |
|
|
|
|
|
DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), '${communityGrid}', ${gridId}, ${commId}, '${commName}', ${topic_num}, ${project_num}, NOW(), null |
|
|
|
|
|
)</sql> |
|
|
|
|
|
<set_params>N</set_params> |
|
|
|
|
|
<insert_field/> |
|
|
|
|
|
<update_field/> |
|
|
|
|
|
<delete_field/> |
|
|
|
|
|
<read_field/> |
|
|
|
|
|
<arguments> |
|
|
|
|
|
</arguments> |
|
|
|
|
|
<attributes/> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>464</xloc> |
|
|
|
|
|
<yloc>256</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
<step> |
|
|
<name>网格排名表年度数据清空</name> |
|
|
<name>网格排名表年度数据清空</name> |
|
|
<type>ExecSQL</type> |
|
|
<type>ExecSQL</type> |
|
@ -581,7 +529,8 @@ VALUES |
|
|
<single_statement>N</single_statement> |
|
|
<single_statement>N</single_statement> |
|
|
<replace_variables>Y</replace_variables> |
|
|
<replace_variables>Y</replace_variables> |
|
|
<quoteString>N</quoteString> |
|
|
<quoteString>N</quoteString> |
|
|
<sql>delete from ys_grid_rank where grid_id = ${gridId} and cal_date like YEAR (NOW());</sql> |
|
|
<sql>delete from ys_grid_rank where grid_id = ${gridId} and cal_date like YEAR (NOW()); |
|
|
|
|
|
delete from ys_grid_rank where grid_id = ${gridId} and cal_date = DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m');</sql> |
|
|
<set_params>N</set_params> |
|
|
<set_params>N</set_params> |
|
|
<insert_field/> |
|
|
<insert_field/> |
|
|
<update_field/> |
|
|
<update_field/> |
|
@ -603,59 +552,6 @@ VALUES |
|
|
<draw>Y</draw> |
|
|
<draw>Y</draw> |
|
|
</GUI> |
|
|
</GUI> |
|
|
</step> |
|
|
</step> |
|
|
<step> |
|
|
|
|
|
<name>网格治理排行表-月</name> |
|
|
|
|
|
<type>ExecSQL</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<connection>target_yushan</connection> |
|
|
|
|
|
<execute_each_row>N</execute_each_row> |
|
|
|
|
|
<single_statement>N</single_statement> |
|
|
|
|
|
<replace_variables>Y</replace_variables> |
|
|
|
|
|
<quoteString>N</quoteString> |
|
|
|
|
|
<sql>INSERT INTO ys_grid_gov_rank ( |
|
|
|
|
|
comm_id, |
|
|
|
|
|
comm_name, |
|
|
|
|
|
cal_date, |
|
|
|
|
|
grid_name, |
|
|
|
|
|
grid_id, |
|
|
|
|
|
project_num, |
|
|
|
|
|
project_finish_num, |
|
|
|
|
|
finish_rate, |
|
|
|
|
|
create_time, |
|
|
|
|
|
update_time |
|
|
|
|
|
) |
|
|
|
|
|
VALUES |
|
|
|
|
|
( |
|
|
|
|
|
${commId}, '${commName}', DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), '${communityGrid}', ${gridId}, ${project_num}, ${finish_project_num}, IFNULL(${finish_project_num} / ${project_num}, 0), NOW(), null |
|
|
|
|
|
)</sql> |
|
|
|
|
|
<set_params>N</set_params> |
|
|
|
|
|
<insert_field/> |
|
|
|
|
|
<update_field/> |
|
|
|
|
|
<delete_field/> |
|
|
|
|
|
<read_field/> |
|
|
|
|
|
<arguments> |
|
|
|
|
|
</arguments> |
|
|
|
|
|
<attributes/> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>464</xloc> |
|
|
|
|
|
<yloc>480</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
<step> |
|
|
<name>网格治理排行表清空-年</name> |
|
|
<name>网格治理排行表清空-年</name> |
|
|
<type>ExecSQL</type> |
|
|
<type>ExecSQL</type> |
|
@ -672,7 +568,9 @@ VALUES |
|
|
<single_statement>N</single_statement> |
|
|
<single_statement>N</single_statement> |
|
|
<replace_variables>Y</replace_variables> |
|
|
<replace_variables>Y</replace_variables> |
|
|
<quoteString>N</quoteString> |
|
|
<quoteString>N</quoteString> |
|
|
<sql>delete from ys_grid_gov_rank where grid_id = ${gridId} and cal_date like YEAR (NOW());</sql> |
|
|
<sql>delete from ys_grid_gov_rank where grid_id = ${gridId} and cal_date like YEAR (NOW()); |
|
|
|
|
|
delete from ys_grid_gov_rank where grid_id = ${gridId} and cal_date = DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'); |
|
|
|
|
|
</sql> |
|
|
<set_params>N</set_params> |
|
|
<set_params>N</set_params> |
|
|
<insert_field/> |
|
|
<insert_field/> |
|
|
<update_field/> |
|
|
<update_field/> |
|
@ -689,60 +587,7 @@ VALUES |
|
|
</output> |
|
|
</output> |
|
|
</remotesteps> |
|
|
</remotesteps> |
|
|
<GUI> |
|
|
<GUI> |
|
|
<xloc>624</xloc> |
|
|
<xloc>800</xloc> |
|
|
<yloc>480</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>网格注册信息表</name> |
|
|
|
|
|
<type>ExecSQL</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<connection>target_yushan</connection> |
|
|
|
|
|
<execute_each_row>N</execute_each_row> |
|
|
|
|
|
<single_statement>N</single_statement> |
|
|
|
|
|
<replace_variables>Y</replace_variables> |
|
|
|
|
|
<quoteString>N</quoteString> |
|
|
|
|
|
<sql>INSERT INTO ys_grid_reg ( |
|
|
|
|
|
comm_id, |
|
|
|
|
|
comm_name, |
|
|
|
|
|
cal_date, |
|
|
|
|
|
name, |
|
|
|
|
|
grid_id, |
|
|
|
|
|
reg_user_num, |
|
|
|
|
|
reg_party_num, |
|
|
|
|
|
reg_group_num, |
|
|
|
|
|
create_time, |
|
|
|
|
|
update_time |
|
|
|
|
|
) |
|
|
|
|
|
VALUES |
|
|
|
|
|
( |
|
|
|
|
|
${commId}, '${commName}', DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), '${communityGrid}', ${gridId}, ${reg_user_num}, ${reg_party_num}, ${reg_group_num}, NOW(), null |
|
|
|
|
|
)</sql> |
|
|
|
|
|
<set_params>N</set_params> |
|
|
|
|
|
<insert_field/> |
|
|
|
|
|
<update_field/> |
|
|
|
|
|
<delete_field/> |
|
|
|
|
|
<read_field/> |
|
|
|
|
|
<arguments> |
|
|
|
|
|
</arguments> |
|
|
|
|
|
<attributes/> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>464</xloc> |
|
|
|
|
|
<yloc>368</yloc> |
|
|
<yloc>368</yloc> |
|
|
<draw>Y</draw> |
|
|
<draw>Y</draw> |
|
|
</GUI> |
|
|
</GUI> |
|
@ -763,7 +608,8 @@ VALUES |
|
|
<single_statement>N</single_statement> |
|
|
<single_statement>N</single_statement> |
|
|
<replace_variables>Y</replace_variables> |
|
|
<replace_variables>Y</replace_variables> |
|
|
<quoteString>N</quoteString> |
|
|
<quoteString>N</quoteString> |
|
|
<sql>delete from ys_grid_reg where grid_id = ${gridId} and cal_date like YEAR (NOW());</sql> |
|
|
<sql>delete from ys_grid_reg where grid_id = ${gridId} and cal_date like YEAR (NOW()); |
|
|
|
|
|
delete from ys_grid_reg where grid_id = ${gridId} and cal_date = DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m');</sql> |
|
|
<set_params>N</set_params> |
|
|
<set_params>N</set_params> |
|
|
<insert_field/> |
|
|
<insert_field/> |
|
|
<update_field/> |
|
|
<update_field/> |
|
@ -785,44 +631,6 @@ VALUES |
|
|
<draw>Y</draw> |
|
|
<draw>Y</draw> |
|
|
</GUI> |
|
|
</GUI> |
|
|
</step> |
|
|
</step> |
|
|
<step> |
|
|
|
|
|
<name>清空网格治理排行表</name> |
|
|
|
|
|
<type>ExecSQL</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<connection>target_yushan</connection> |
|
|
|
|
|
<execute_each_row>N</execute_each_row> |
|
|
|
|
|
<single_statement>N</single_statement> |
|
|
|
|
|
<replace_variables>Y</replace_variables> |
|
|
|
|
|
<quoteString>N</quoteString> |
|
|
|
|
|
<sql>delete from ys_grid_gov_rank where grid_id = ${gridId} and cal_date like YEAR (NOW())</sql> |
|
|
|
|
|
<set_params>N</set_params> |
|
|
|
|
|
<insert_field/> |
|
|
|
|
|
<update_field/> |
|
|
|
|
|
<delete_field/> |
|
|
|
|
|
<read_field/> |
|
|
|
|
|
<arguments> |
|
|
|
|
|
</arguments> |
|
|
|
|
|
<attributes/> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>800</xloc> |
|
|
|
|
|
<yloc>256</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step_error_handling> |
|
|
<step_error_handling> |
|
|
</step_error_handling> |
|
|
</step_error_handling> |
|
|
<slave-step-copy-partition-distribution> |
|
|
<slave-step-copy-partition-distribution> |
|
|