From 0a76301798b3ca6e36115d5044484b8287544c45 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Fri, 5 Jun 2020 14:43:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=8A=BD=E5=8F=96=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../screen_totality_comm_query_comm.ktr | 34 +- .../screen_totality_comm_query_comm_info.ktr | 7 +- .../screen_totality_comm_update.ktr | 2 +- .../screen_totality_grid_query_grid.ktr | 34 +- .../screen_totality_grid_query_grid_info.ktr | 5 + .../screen_totality_street_query_street.ktr | 34 +- ...reen_totality_street_query_street_info.ktr | 7 +- .../screen_totality_street_update.ktr | 2 +- .../screen_ys_charity_overview_update.ktr | 2 +- .../screen_ys_commu_hot_topic_update.ktr | 6 +- .../screen_ys_grid_rank_month_update.ktr | 4 +- .../yushan-kettle/screen_ys_news_update.ktr | 2 +- .../screen_ys_news_update_year.ktr | 4 +- .../screen_ys_trend_month_update_co.ktr | 2 +- .../screen_ys_trend_month_update_st.ktr | 2 +- .../doc/yushan-kettle/yushan_comm_year.kjb | 98 +-- .../doc/yushan-kettle/yushan_day.kjb | 4 +- .../doc/yushan-kettle/yushan_month.kjb | 4 +- .../doc/yushan-kettle/yushan_year.kjb | 57 +- .../doc/yushan-kettle/yushan_year_delete.ktr | 566 ++++++++++++++++++ 20 files changed, 747 insertions(+), 129 deletions(-) create mode 100644 epdc-cloud-property/doc/yushan-kettle/yushan_year_delete.ktr diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_query_comm.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_query_comm.ktr index 1d0e84d..1fb65fc 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_query_comm.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_query_comm.ktr @@ -578,6 +578,11 @@ FROM WHERE type_key = 'community_party' AND del_flag = 0 + AND id NOT IN ( + 1258690654403125249, + 1258690914995232770, + 1258691044142047233 + ) ORDER BY create_date ASC, id ASC @@ -592,11 +597,11 @@ ORDER BY Integer normal - grid_amount + COMM_ID 15 0 - 网格数 - grid_amount + 查询变量 社区id,name + COMM_ID ####0;-####0 . , @@ -612,6 +617,29 @@ ORDER BY Asia/Shanghai N + + String + normal + COMM_NAME + 50 + -1 + 查询变量 社区id,name + COMM_NAME + + . + , + + none + N + Y + 0 + N + N + N + zh_CN + Asia/Shanghai + N + diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_query_comm_info.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_query_comm_info.ktr index 3551cce..d8ad816 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_query_comm_info.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_query_comm_info.ktr @@ -537,6 +537,11 @@ FROM WHERE type_key = 'community_party' AND del_flag = 0 + AND id NOT IN ( + 1258690654403125249, + 1258690914995232770, + 1258691044142047233 + ) ORDER BY create_date ASC, id ASC; @@ -553,7 +558,7 @@ ORDER BY comm_amount 15 0 - 街道数 + 社区数 comm_amount ####0;-####0 . diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_update.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_update.ktr index 161eb79..a06c40a 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_update.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_totality_comm_update.ktr @@ -601,7 +601,7 @@ VALUES ) VALUES ( - ${commId}, '${commName}', curdate(), ${new_project_num}, ${project_finish_num}, ${new_case_num}, ${topic_finish_num}, NOW(), null + ${commId}, '${commName}', DATE_SUB(CURDATE(), INTERVAL 1 DAY), ${new_project_num}, ${project_finish_num}, ${new_case_num}, ${topic_finish_num}, NOW(), null ) N diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_totality_grid_query_grid.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_totality_grid_query_grid.ktr index 7bb1359..12bcb29 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_totality_grid_query_grid.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_totality_grid_query_grid.ktr @@ -578,6 +578,11 @@ FROM WHERE type_key = 'grid_party' AND del_flag = 0 + AND id NOT IN ( + 1258690654403125249, + 1258690914995232770, + 1258691044142047233 + ) ORDER BY create_date ASC, id ASC @@ -592,11 +597,11 @@ ORDER BY Integer normal - grid_amount + GRID_ID 15 0 - 网格数 - grid_amount + 查询变量 网格id,name + GRID_ID ####0;-####0 . , @@ -612,6 +617,29 @@ ORDER BY Asia/Shanghai N + + String + normal + GRID_NAME + 50 + -1 + 查询变量 网格id,name + GRID_NAME + + . + , + + none + N + Y + 0 + N + N + N + zh_CN + Asia/Shanghai + N + diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_totality_grid_query_grid_info.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_totality_grid_query_grid_info.ktr index 7737ec8..5801247 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_totality_grid_query_grid_info.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_totality_grid_query_grid_info.ktr @@ -537,6 +537,11 @@ FROM WHERE type_key = 'grid_party' AND del_flag = 0 + AND id NOT IN ( + 1258690654403125249, + 1258690914995232770, + 1258691044142047233 + ) ORDER BY create_date ASC, id ASC; diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_query_street.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_query_street.ktr index c5bbe86..dbf7425 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_query_street.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_query_street.ktr @@ -578,6 +578,11 @@ FROM WHERE type_key = 'street_party' AND del_flag = 0 + AND id NOT IN ( + 1258690654403125249, + 1258690914995232770, + 1258691044142047233 + ) ORDER BY create_date ASC, id ASC @@ -592,11 +597,11 @@ ORDER BY Integer normal - grid_amount + STREET_ID 15 0 - 网格数 - grid_amount + 查询变量 街道id,name + STREET_ID ####0;-####0 . , @@ -612,6 +617,29 @@ ORDER BY Asia/Shanghai N + + String + normal + STREET_NAME + 50 + -1 + 查询变量 街道id,name + STREET_NAME + + . + , + + none + N + Y + 0 + N + N + N + zh_CN + Asia/Shanghai + N + diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_query_street_info.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_query_street_info.ktr index e573d4c..5899b95 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_query_street_info.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_query_street_info.ktr @@ -537,6 +537,11 @@ FROM WHERE type_key = 'street_party' AND del_flag = 0 + AND id NOT IN ( + 1258690654403125249, + 1258690914995232770, + 1258691044142047233 + ) ORDER BY create_date ASC, id ASC; @@ -553,7 +558,7 @@ ORDER BY street_amount 15 0 - 网格数 + 街道数 street_amount ####0;-####0 . diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_update.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_update.ktr index 4fb8682..8b8cd5f 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_update.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_totality_street_update.ktr @@ -597,7 +597,7 @@ VALUES ) VALUES ( - curdate(), ${new_project_num}, ${project_finish_num}, ${new_case_num}, ${topic_finish_num}, NOW(), null + DATE_SUB(CURDATE(), INTERVAL 1 DAY), ${new_project_num}, ${project_finish_num}, ${new_case_num}, ${topic_finish_num}, NOW(), null ) N diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_ys_charity_overview_update.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_ys_charity_overview_update.ktr index 00fd539..77c7a5c 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_ys_charity_overview_update.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_ys_charity_overview_update.ktr @@ -538,7 +538,7 @@ ) VALUES ( - '${activity}', '${volunteer}', curdate(), now(), null + '${activity}', '${volunteer}', DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), now(), null ) N diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_ys_commu_hot_topic_update.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_ys_commu_hot_topic_update.ktr index 9867365..463f5bf 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_ys_commu_hot_topic_update.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_ys_commu_hot_topic_update.ktr @@ -2051,7 +2051,7 @@ GROUP BY ${commId} as comm_id, '${commName}' as comm_name, COUNT(id) AS value, - DATE_FORMAT(NOW(), '%Y-%m') AS cal_date, + DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m') AS cal_date, NEWS_PROPERTY AS name, now() AS create_time FROM @@ -2101,7 +2101,7 @@ GROUP BY id AS topic_id, EVENT_CONTENT AS name, COMMENT_NUM AS value, - DATE_FORMAT(NOW(), '%Y-%m') AS cal_date, + DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m') AS cal_date, now() AS create_time FROM epdc_events @@ -2310,7 +2310,7 @@ LIMIT 5 SELECT ${commId} as comm_id, '${commName}' as comm_name, - DATE_FORMAT(NOW(), '%Y-%m') AS cal_date, + DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m') AS cal_date, avg(es.SCORE) AS score_num, sum( CASE diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_ys_grid_rank_month_update.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_ys_grid_rank_month_update.ktr index d91009f..c4d62e9 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_ys_grid_rank_month_update.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_ys_grid_rank_month_update.ktr @@ -540,7 +540,7 @@ ) VALUES ( - DATE_FORMAT(NOW(),'%Y-%m'), '${communityGrid}', ${gridId}, ${topic_num}, ${project_num}, NOW(), null + DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), '${communityGrid}', ${gridId}, ${topic_num}, ${project_num}, NOW(), null ) N @@ -631,7 +631,7 @@ VALUES ) VALUES ( - ${commId}, '${commName}', DATE_FORMAT(NOW(),'%Y-%m'), '${communityGrid}', ${gridId}, ${reg_user_num}, ${reg_party_num}, ${reg_group_num}, NOW(), null + ${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 ) N diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_ys_news_update.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_ys_news_update.ktr index 24c55df..37df5c7 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_ys_news_update.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_ys_news_update.ktr @@ -998,7 +998,7 @@ GROUP BY source_ys_news SELECT COUNT(id) AS value, - DATE_FORMAT(NOW(), '%Y-%m') AS cal_date, + DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m') AS cal_date, NEWS_PROPERTY AS name, now() AS create_time FROM diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_ys_news_update_year.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_ys_news_update_year.ktr index 8c78012..5abfb4b 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_ys_news_update_year.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_ys_news_update_year.ktr @@ -704,8 +704,8 @@ FROM WHERE DEL_FLAG = '0' AND find_in_set(${streetId}, ALL_DEPT_IDS) - AND 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 CREATED_TIME > DATE_SUB(CURDATE(), INTERVAL 1 YEAR) +GROUP BY NEWS_PROPERTY 0 diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_ys_trend_month_update_co.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_ys_trend_month_update_co.ktr index 416c979..5ad64ed 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_ys_trend_month_update_co.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_ys_trend_month_update_co.ktr @@ -542,7 +542,7 @@ ) VALUES ( - ${commId}, '${commName}', DATE_FORMAT(NOW(),'%Y-%m'), ${new_project_num}, ${project_finish_num}, ${new_case_num}, ${topic_finish_num}, NOW(), null + ${commId}, '${commName}', DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), ${new_project_num}, ${project_finish_num}, ${new_case_num}, ${topic_finish_num}, NOW(), null ) N diff --git a/epdc-cloud-property/doc/yushan-kettle/screen_ys_trend_month_update_st.ktr b/epdc-cloud-property/doc/yushan-kettle/screen_ys_trend_month_update_st.ktr index ccc318f..c33f4e2 100644 --- a/epdc-cloud-property/doc/yushan-kettle/screen_ys_trend_month_update_st.ktr +++ b/epdc-cloud-property/doc/yushan-kettle/screen_ys_trend_month_update_st.ktr @@ -540,7 +540,7 @@ ) VALUES ( - DATE_FORMAT(NOW(),'%Y-%m'), ${new_project_num}, ${project_finish_num}, ${new_case_num}, ${topic_finish_num}, NOW(), null + DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH), '%Y-%m'), ${new_project_num}, ${project_finish_num}, ${new_case_num}, ${topic_finish_num}, NOW(), null ) N diff --git a/epdc-cloud-property/doc/yushan-kettle/yushan_comm_year.kjb b/epdc-cloud-property/doc/yushan-kettle/yushan_comm_year.kjb index 72416b3..51f0e99 100644 --- a/epdc-cloud-property/doc/yushan-kettle/yushan_comm_year.kjb +++ b/epdc-cloud-property/doc/yushan-kettle/yushan_comm_year.kjb @@ -325,44 +325,6 @@ 208 - - 获取社区信息变量 - - TRANS - - filename - - ${Internal.Entry.Current.Directory}/screen_totality_comm_query_month.ktr - - N - N - N - N - N - N - - - N - N - Basic - N - - N - Y - N - N - N - Pentaho local - - Y - - N - Y - 0 - 416 - 208 - - Start @@ -385,44 +347,6 @@ 208 - - 写入议题项目趋势分析-按天统计 - - TRANS - - filename - - ${Internal.Entry.Current.Directory}/screen_ys_trend_month_update_co.ktr - - N - N - N - N - N - N - - - N - N - Basic - N - - N - Y - N - N - N - Pentaho local - - Y - - N - Y - 0 - 608 - 208 - - 写入表 @@ -457,21 +381,12 @@ N Y 0 - 608 - 320 + 464 + 208 - - 社区ID,NAME - 获取社区信息变量 - 0 - 0 - Y - Y - N - Start 社区ID,NAME @@ -481,15 +396,6 @@ Y Y - - 获取社区信息变量 - 写入议题项目趋势分析-按天统计 - 0 - 0 - Y - Y - N - 社区ID,NAME 写入表 diff --git a/epdc-cloud-property/doc/yushan-kettle/yushan_day.kjb b/epdc-cloud-property/doc/yushan-kettle/yushan_day.kjb index 35c1bb5..56767d6 100644 --- a/epdc-cloud-property/doc/yushan-kettle/yushan_day.kjb +++ b/epdc-cloud-property/doc/yushan-kettle/yushan_day.kjb @@ -294,8 +294,8 @@ Y N - Y - 2 + N + 1 10 0 0 diff --git a/epdc-cloud-property/doc/yushan-kettle/yushan_month.kjb b/epdc-cloud-property/doc/yushan-kettle/yushan_month.kjb index b4c122a..5075bae 100644 --- a/epdc-cloud-property/doc/yushan-kettle/yushan_month.kjb +++ b/epdc-cloud-property/doc/yushan-kettle/yushan_month.kjb @@ -294,8 +294,8 @@ Y N - Y - 4 + N + 1 10 0 0 diff --git a/epdc-cloud-property/doc/yushan-kettle/yushan_year.kjb b/epdc-cloud-property/doc/yushan-kettle/yushan_year.kjb index e88697c..b4587a3 100644 --- a/epdc-cloud-property/doc/yushan-kettle/yushan_year.kjb +++ b/epdc-cloud-property/doc/yushan-kettle/yushan_year.kjb @@ -864,6 +864,44 @@ true; 1040 + + 清空表 + + TRANS + + filename + + ${Internal.Entry.Current.Directory}/yushan_year_delete.ktr + + N + N + N + N + N + N + + + N + N + Basic + N + + N + Y + N + N + N + Pentaho local + + Y + + N + Y + 0 + 208 + 656 + + @@ -1057,7 +1095,7 @@ true; Start - 网格下标 + 清空表 0 0 Y @@ -1065,22 +1103,31 @@ true; Y - Start + 清空表 + 网格下标 + 0 + 0 + Y + Y + N + + + 清空表 街道下标 0 0 Y Y - Y + N - Start + 清空表 社区下标 0 0 Y Y - Y + N diff --git a/epdc-cloud-property/doc/yushan-kettle/yushan_year_delete.ktr b/epdc-cloud-property/doc/yushan-kettle/yushan_year_delete.ktr new file mode 100644 index 0000000..e2937eb --- /dev/null +++ b/epdc-cloud-property/doc/yushan-kettle/yushan_year_delete.ktr @@ -0,0 +1,566 @@ + + + + yushan_year_delete + + + + Normal + 0 + / + + + + + + + + + + + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + TRANSNAME + Y + TRANSNAME + + + STATUS + Y + STATUS + + + LINES_READ + Y + LINES_READ + + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + + LINES_UPDATED + Y + LINES_UPDATED + + + + LINES_INPUT + Y + LINES_INPUT + + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + + LINES_REJECTED + Y + LINES_REJECTED + + + + ERRORS + Y + ERRORS + + + STARTDATE + Y + STARTDATE + + + ENDDATE + Y + ENDDATE + + + LOGDATE + Y + LOGDATE + + + DEPDATE + Y + DEPDATE + + + REPLAYDATE + Y + REPLAYDATE + + + LOG_FIELD + Y + LOG_FIELD + + + EXECUTING_SERVER + N + EXECUTING_SERVER + + + EXECUTING_USER + N + EXECUTING_USER + + + CLIENT + N + CLIENT + + + + + +
+ + + + ID_BATCH + Y + ID_BATCH + + + SEQ_NR + Y + SEQ_NR + + + LOGDATE + Y + LOGDATE + + + TRANSNAME + Y + TRANSNAME + + + STEPNAME + Y + STEPNAME + + + STEP_COPY + Y + STEP_COPY + + + LINES_READ + Y + LINES_READ + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + LINES_UPDATED + Y + LINES_UPDATED + + + LINES_INPUT + Y + LINES_INPUT + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + LINES_REJECTED + Y + LINES_REJECTED + + + ERRORS + Y + ERRORS + + + INPUT_BUFFER_ROWS + Y + INPUT_BUFFER_ROWS + + + OUTPUT_BUFFER_ROWS + Y + OUTPUT_BUFFER_ROWS + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + LOGGING_OBJECT_TYPE + Y + LOGGING_OBJECT_TYPE + + + OBJECT_NAME + Y + OBJECT_NAME + + + OBJECT_COPY + Y + OBJECT_COPY + + + REPOSITORY_DIRECTORY + Y + REPOSITORY_DIRECTORY + + + FILENAME + Y + FILENAME + + + OBJECT_ID + Y + OBJECT_ID + + + OBJECT_REVISION + Y + OBJECT_REVISION + + + PARENT_CHANNEL_ID + Y + PARENT_CHANNEL_ID + + + ROOT_CHANNEL_ID + Y + ROOT_CHANNEL_ID + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + TRANSNAME + Y + TRANSNAME + + + STEPNAME + Y + STEPNAME + + + STEP_COPY + Y + STEP_COPY + + + LINES_READ + Y + LINES_READ + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + LINES_UPDATED + Y + LINES_UPDATED + + + LINES_INPUT + Y + LINES_INPUT + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + LINES_REJECTED + Y + LINES_REJECTED + + + ERRORS + Y + ERRORS + + + LOG_FIELD + N + LOG_FIELD + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + METRICS_DATE + Y + METRICS_DATE + + + METRICS_CODE + Y + METRICS_CODE + + + METRICS_DESCRIPTION + Y + METRICS_DESCRIPTION + + + METRICS_SUBJECT + Y + METRICS_SUBJECT + + + METRICS_TYPE + Y + METRICS_TYPE + + + METRICS_VALUE + Y + METRICS_VALUE + + + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2020/04/27 09:32:01.126 + - + 2020/04/27 09:32:01.126 + H4sIAAAAAAAAAAMAAAAAAAAAAAA= + N + + + + + target_yushan + ${db.mysql.epdc.target.ys.host} + MYSQL + Native + ${db.mysql.target.schema.yushandb} + ${db.mysql.epdc.target.ys.port} + ${db.mysql.epdc.target.ys.username} + ${db.mysql.epdc.target.ys.password} + + + + + + EXTRA_OPTION_MYSQL.allowMultiQueries + true + + + EXTRA_OPTION_MYSQL.characterEncoding + utf8 + + + EXTRA_OPTION_MYSQL.serverTimezone + Asia/Shanghai + + + EXTRA_OPTION_MYSQL.useSSL + false + + + EXTRA_OPTION_MYSQL.useUnicode + true + + + FORCE_IDENTIFIERS_TO_LOWERCASE + N + + + FORCE_IDENTIFIERS_TO_UPPERCASE + N + + + IS_CLUSTERED + N + + + PORT_NUMBER + ${db.mysql.epdc.target.ys.port} + + + PRESERVE_RESERVED_WORD_CASE + Y + + + QUOTE_ALL_FIELDS + N + + + STREAM_RESULTS + Y + + + SUPPORTS_BOOLEAN_DATA_TYPE + Y + + + SUPPORTS_TIMESTAMP_DATA_TYPE + Y + + + USE_POOLING + N + + + + + + + 清空年度数据 + ExecSQL + + Y + + 1 + + none + + + target_yushan + N + N + N + N + delete from ys_grid_rank where cal_date = YEAR (NOW()) -1 ; +delete from ys_grid_reg where cal_date = YEAR (NOW()) -1 ; +delete from ys_news where cal_date = YEAR (NOW()) -1 ; +delete from ys_commu_hot_topic where cal_date = YEAR (NOW()) -1 ; +delete from ys_pro_chk_score where cal_date = YEAR (NOW()) -1 ; + + + N + + + + + + + + + + + + + + + + 544 + 96 + Y + + + + + + + N + +