Browse Source

重复变量修改。

hotfix/yujt_opt
zhangyuan 5 years ago
parent
commit
dfd8a253b4
  1. 2
      epdc-cloud-property/doc/kettle/screen-yushan/screen_totality_grid_query_month.ktr
  2. 70
      epdc-cloud-property/doc/kettle/screen-yushan/screen_ys_grid_rank_month_update_year.ktr

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

@ -2837,7 +2837,7 @@ AND del_flag = '0'</sql>
<fields> <fields>
<field> <field>
<field_name>project_num</field_name> <field_name>project_num</field_name>
<variable_name>project_num</variable_name> <variable_name>project_num_month</variable_name>
<variable_type>PARENT_JOB</variable_type> <variable_type>PARENT_JOB</variable_type>
<default_value/> <default_value/>
</field> </field>

70
epdc-cloud-property/doc/kettle/screen-yushan/screen_ys_grid_rank_month_update_year.ktr

@ -566,7 +566,7 @@ VALUES
</GUI> </GUI>
</step> </step>
<step> <step>
<name>网格治理排行表-年</name> <name>网格排名表 2</name>
<type>ExecSQL</type> <type>ExecSQL</type>
<description/> <description/>
<distribute>Y</distribute> <distribute>Y</distribute>
@ -581,21 +581,20 @@ 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>INSERT INTO ys_grid_gov_rank ( <sql>INSERT INTO ys_grid_rank (
comm_id,
comm_name,
cal_date, cal_date,
grid_name, name,
grid_id, grid_id,
comm_id,
comm_name,
topic_num,
project_num, project_num,
project_finish_num,
finish_rate,
create_time, create_time,
update_time update_time
) )
VALUES VALUES
( (
${commId}, '${commName}', DATE_FORMAT(CURDATE(), '%Y'), '${communityGrid}', ${gridId}, ${project_num_year}, ${finish_project_num_year}, IFNULL(${finish_project_num_year} / ${project_num_year}, 0), NOW(), null DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), '${communityGrid}', ${gridId}, ${commId}, '${commName}', ${topic_num}, ${project_num}, NOW(), null
)</sql> )</sql>
<set_params>N</set_params> <set_params>N</set_params>
<insert_field/> <insert_field/>
@ -613,13 +612,13 @@ VALUES
</output> </output>
</remotesteps> </remotesteps>
<GUI> <GUI>
<xloc>464</xloc> <xloc>608</xloc>
<yloc>448</yloc> <yloc>256</yloc>
<draw>Y</draw> <draw>Y</draw>
</GUI> </GUI>
</step> </step>
<step> <step>
<name>网格注册信息表</name> <name>网格治理排行表-年</name>
<type>ExecSQL</type> <type>ExecSQL</type>
<description/> <description/>
<distribute>Y</distribute> <distribute>Y</distribute>
@ -634,21 +633,21 @@ 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>INSERT INTO ys_grid_reg ( <sql>INSERT INTO ys_grid_gov_rank (
comm_id, comm_id,
comm_name, comm_name,
cal_date, cal_date,
name, grid_name,
grid_id, grid_id,
reg_user_num, project_num,
reg_party_num, project_finish_num,
reg_group_num, finish_rate,
create_time, create_time,
update_time update_time
) )
VALUES VALUES
( (
${commId}, '${commName}', DATE_FORMAT(NOW(),'%Y'), '${communityGrid}', ${gridId}, ${reg_user_num_year}, ${reg_party_num_year}, ${reg_group_num_year}, NOW(), null ${commId}, '${commName}', DATE_FORMAT(CURDATE(), '%Y'), '${communityGrid}', ${gridId}, ${project_num_year}, ${finish_project_num_year}, IFNULL(${finish_project_num_year} / ${project_num_year}, 0), NOW(), null
)</sql> )</sql>
<set_params>N</set_params> <set_params>N</set_params>
<insert_field/> <insert_field/>
@ -667,12 +666,12 @@ VALUES
</remotesteps> </remotesteps>
<GUI> <GUI>
<xloc>464</xloc> <xloc>464</xloc>
<yloc>352</yloc> <yloc>448</yloc>
<draw>Y</draw> <draw>Y</draw>
</GUI> </GUI>
</step> </step>
<step> <step>
<name>网格排名表 2</name> <name>网格治理排行表-月</name>
<type>ExecSQL</type> <type>ExecSQL</type>
<description/> <description/>
<distribute>Y</distribute> <distribute>Y</distribute>
@ -687,20 +686,21 @@ 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>INSERT INTO ys_grid_rank ( <sql>INSERT INTO ys_grid_gov_rank (
cal_date,
name,
grid_id,
comm_id, comm_id,
comm_name, comm_name,
topic_num, cal_date,
grid_name,
grid_id,
project_num, project_num,
project_finish_num,
finish_rate,
create_time, create_time,
update_time update_time
) )
VALUES VALUES
( (
DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), '${communityGrid}', ${gridId}, ${commId}, '${commName}', ${topic_num}, ${project_num}, NOW(), null ${commId}, '${commName}', DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), '${communityGrid}', ${gridId}, ${project_num_month}, ${finish_project_num}, IFNULL(${finish_project_num} / ${project_num}, 0), NOW(), null
)</sql> )</sql>
<set_params>N</set_params> <set_params>N</set_params>
<insert_field/> <insert_field/>
@ -719,12 +719,12 @@ VALUES
</remotesteps> </remotesteps>
<GUI> <GUI>
<xloc>608</xloc> <xloc>608</xloc>
<yloc>256</yloc> <yloc>480</yloc>
<draw>Y</draw> <draw>Y</draw>
</GUI> </GUI>
</step> </step>
<step> <step>
<name>网格治理排行表-月</name> <name>网格注册信息表</name>
<type>ExecSQL</type> <type>ExecSQL</type>
<description/> <description/>
<distribute>Y</distribute> <distribute>Y</distribute>
@ -739,21 +739,21 @@ 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>INSERT INTO ys_grid_gov_rank ( <sql>INSERT INTO ys_grid_reg (
comm_id, comm_id,
comm_name, comm_name,
cal_date, cal_date,
grid_name, name,
grid_id, grid_id,
project_num, reg_user_num,
project_finish_num, reg_party_num,
finish_rate, reg_group_num,
create_time, create_time,
update_time update_time
) )
VALUES 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 ${commId}, '${commName}', DATE_FORMAT(NOW(),'%Y'), '${communityGrid}', ${gridId}, ${reg_user_num_year}, ${reg_party_num_year}, ${reg_group_num_year}, NOW(), null
)</sql> )</sql>
<set_params>N</set_params> <set_params>N</set_params>
<insert_field/> <insert_field/>
@ -771,8 +771,8 @@ VALUES
</output> </output>
</remotesteps> </remotesteps>
<GUI> <GUI>
<xloc>608</xloc> <xloc>464</xloc>
<yloc>480</yloc> <yloc>352</yloc>
<draw>Y</draw> <draw>Y</draw>
</GUI> </GUI>
</step> </step>

Loading…
Cancel
Save