diff --git a/epdc-cloud-analysis/doc/kettle/kettle.properties b/epdc-cloud-analysis/doc/kettle/kettle.properties new file mode 100644 index 0000000..24f0300 --- /dev/null +++ b/epdc-cloud-analysis/doc/kettle/kettle.properties @@ -0,0 +1,62 @@ +#####---dev +# +#KETTLE_EMPTY_STRING_DIFFERS_FROM_NULL=Y +# +## db-source +#db.mysql.epdc.source.host=47.104.224.45 +#db.mysql.epdc.source.port=3308 +#db.mysql.epdc.source.username=epdcyushan +#db.mysql.epdc.source.password=Encrypted 2be98afc86ac29e8da512f6238dc2f98c +# +## db-target +#db.mysql.epdc.target.host=47.104.224.45 +#db.mysql.epdc.target.port=3308 +#db.mysql.epdc.target.username=epdcyushan +#db.mysql.epdc.target.password=Encrypted 2be98afc86ac29e8da512f6238dc2f98c +# +## databases +#esua.epdc.analysis.database=esua_epdc_analysis +#esua.epdc.events.database=esua_epdc_events +#esua.epdc.user.database=esua_epdc_user +#esua.epdc.admin.database=esua_epdc_admin +#esua.epdc.group.database=esua_epdc_group +#esua.epdc.api.database=esua_epdc_api +#esua.epdc.custom.database=esua_epdc_custom +#esua.epdc.job.database=esua_epdc_job +#esua.epdc.kpi.database=esua_epdc_kpi +#esua.epdc.mutuality.database=esua_epdc_mutuality +#esua.epdc.points.database=esua_epdc_points +#esua.epdc.news.database=esua_epdc_news +#esua.epdc.workrecord.database=esua_epdc_workrecord + + +######---prod +# +#KETTLE_EMPTY_STRING_DIFFERS_FROM_NULL=Y +# +## db-source +#db.mysql.epdc.source.host=rm-m5ew61hl12e70oaw8.mysql.rds.aliyuncs.com +#db.mysql.epdc.source.port=3306 +#db.mysql.epdc.source.username=epdcyushan +#db.mysql.epdc.source.password=Encrypted 656c696cd5fddfac09e7ab91b811af7e8cc2fd8a +# +## db-target +#db.mysql.epdc.target.host=rm-m5ew61hl12e70oaw8.mysql.rds.aliyuncs.com +#db.mysql.epdc.target.port=3306 +#db.mysql.epdc.target.username=epdcyushan +#db.mysql.epdc.target.password=Encrypted 656c696cd5fddfac09e7ab91b811af7e8cc2fd8a +# +## databases +#esua.epdc.analysis.database=esua_epdc_analysis +#esua.epdc.events.database=esua_epdc_events +#esua.epdc.user.database=esua_epdc_user +#esua.epdc.admin.database=esua_epdc_admin +#esua.epdc.group.database=esua_epdc_group +#esua.epdc.api.database=esua_epdc_api +#esua.epdc.custom.database=esua_epdc_custom +#esua.epdc.job.database=esua_epdc_job +#esua.epdc.kpi.database=esua_epdc_kpi +#esua.epdc.mutuality.database=esua_epdc_mutuality +#esua.epdc.points.database=esua_epdc_points +#esua.epdc.news.database=esua_epdc_news +#esua.epdc.workrecord.database=esua_epdc_workrecord \ No newline at end of file diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_analysis_extracting.kjb b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_analysis_extracting.kjb similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_analysis_extracting.kjb rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_analysis_extracting.kjb diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_difficult_item_extracting.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_difficult_item_extracting.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_difficult_item_extracting.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_difficult_item_extracting.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_grid_handle_statistics.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_grid_handle_statistics.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_grid_handle_statistics.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_grid_handle_statistics.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_handle_report_statistics.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_handle_report_statistics.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_handle_report_statistics.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_handle_report_statistics.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_extracting.kjb b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_extracting.kjb similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_extracting.kjb rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_extracting.kjb diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level1.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level1.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level1.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level1.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level2.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level2.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level2.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level2.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level3.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level3.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level3.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_category_level3.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_extracting.kjb b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_extracting.kjb similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_extracting.kjb rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_extracting.kjb diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_issue_extracting.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_issue_extracting.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_issue_extracting.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_issue_extracting.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_item_extracting.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_item_extracting.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_item_extracting.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_item_extracting.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_plantform_item_extracting.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_plantform_item_extracting.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_plantform_item_extracting.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_issue_item_statistics_plantform_item_extracting.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level1.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level1.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level1.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level1.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level2.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level2.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level2.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level2.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level3.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level3.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level3.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_basic_level3.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_extracting.kjb b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_extracting.kjb similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_extracting.kjb rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_extracting.kjb diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level1.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level1.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level1.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level1.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level2.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level2.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level2.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level2.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level3.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level3.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level3.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_no_level3.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level1.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level1.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level1.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level1.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level2.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level2.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level2.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level2.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level3.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level3.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level3.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_item_category_satisfaction_very_level3.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_category.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_category.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_category.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_category.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation.kjb b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation.kjb similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation.kjb rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation.kjb diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation_street.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation_street.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation_street.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_situation_street.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly.kjb b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly.kjb similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly.kjb rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly.kjb diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly_street.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly_street.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly_street.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_party_work_weekly_street.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_user_statistics_extracting.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_user_statistics_extracting.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_extracting/epdc_user_statistics_extracting.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_extracting/epdc_user_statistics_extracting.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/analysis_start_job.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/analysis_start_job.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/analysis_start_job.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/analysis_start_job.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/esua_analysis_synchronize_job_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/esua_analysis_synchronize_job_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/esua_analysis_synchronize_job_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/esua_analysis_synchronize_job_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/esua_analysis_synchronize_job_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/esua_analysis_synchronize_job_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/esua_analysis_synchronize_job_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/esua_analysis_synchronize_job_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_difficult_item_job_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_difficult_item_job_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_difficult_item_job_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_difficult_item_job_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_difficult_item_job_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_difficult_item_job_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_difficult_item_job_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_difficult_item_job_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_issue_item_statistics_job_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_issue_item_statistics_job_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_issue_item_statistics_job_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_issue_item_statistics_job_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_issue_item_statistics_job_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_issue_item_statistics_job_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_issue_item_statistics_job_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_issue_item_statistics_job_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_item_category_satisfaction_job_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_item_category_satisfaction_job_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_item_category_satisfaction_job_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_item_category_satisfaction_job_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_item_category_satisfaction_job_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_item_category_satisfaction_job_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_item_category_satisfaction_job_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_item_category_satisfaction_job_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_user_statistics_job_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_user_statistics_job_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_user_statistics_job_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_user_statistics_job_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_user_statistics_job_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_user_statistics_job_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/epdc_user_statistics_job_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/epdc_user_statistics_job_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/esua_analysis_extracting_job_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/esua_analysis_extracting_job_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/esua_analysis_extracting_job_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/esua_analysis_extracting_job_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/esua_analysis_extracting_job_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/esua_analysis_extracting_job_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/extracting_job/esua_analysis_extracting_job_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/extracting_job/esua_analysis_extracting_job_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_category_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_category_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_category_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_category_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_category_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_category_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_category_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_category_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_event_comment_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_event_comment_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_event_comment_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_event_comment_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_event_comment_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_event_comment_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_event_comment_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_event_comment_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_events_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_events_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_events_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_events_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_events_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_events_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_events_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_events_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_grid_platform_handle_log_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_grid_platform_handle_log_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_grid_platform_handle_log_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_grid_platform_handle_log_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_grid_platform_handle_log_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_grid_platform_handle_log_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_grid_platform_handle_log_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_grid_platform_handle_log_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_group_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_group_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_group_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_group_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_group_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_group_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_group_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_group_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_img_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_img_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_img_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_img_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_img_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_img_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_img_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_img_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_handle_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_handle_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_handle_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_handle_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_handle_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_handle_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_handle_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_handle_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_issue_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_dept_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_dept_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_dept_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_dept_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_dept_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_dept_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_dept_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_dept_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_grid_platform_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_grid_platform_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_grid_platform_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_grid_platform_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_grid_platform_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_grid_platform_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_grid_platform_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_grid_platform_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_handle_process_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_handle_process_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_handle_process_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_handle_process_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_handle_process_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_handle_process_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_handle_process_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_handle_process_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_item_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_comment_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_comment_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_comment_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_comment_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_comment_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_comment_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_comment_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_comment_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_img_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_img_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_img_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_img_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_img_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_img_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_img_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_img_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_topic_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_grid_relation_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_grid_relation_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_grid_relation_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_grid_relation_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_grid_relation_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_grid_relation_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_grid_relation_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_grid_relation_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/epdc_user_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/sys_dept_log_end.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/sys_dept_log_end.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/sys_dept_log_end.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/sys_dept_log_end.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/sys_dept_log_start.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/sys_dept_log_start.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_job/synchronize_job/sys_dept_log_start.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_job/synchronize_job/sys_dept_log_start.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_category.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_category.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_category.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_category.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_enterprise_info.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_enterprise_info.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_enterprise_info.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_enterprise_info.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_detail.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_detail.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_detail.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_detail.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_info.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_info.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_info.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_info.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_officer.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_officer.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_officer.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_officer.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_option.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_option.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_option.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_evaluate_option.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_event_comment.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_event_comment.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_event_comment.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_event_comment.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_event_comment_user_attitude.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_event_comment_user_attitude.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_event_comment_user_attitude.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_event_comment_user_attitude.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_event_user_attitude.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_event_user_attitude.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_event_user_attitude.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_event_user_attitude.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_events.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_events.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_events.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_events.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_grid_platform_handle_log.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_grid_platform_handle_log.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_grid_platform_handle_log.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_grid_platform_handle_log.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_group.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_group.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_group.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_group.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_img.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_img.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_img.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_img.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_issue.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_issue.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_issue.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_issue.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_issue_handle.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_issue_handle.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_issue_handle.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_issue_handle.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item_dept.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item_dept.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item_dept.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item_dept.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item_evaluate_dept.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item_evaluate_dept.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item_evaluate_dept.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item_evaluate_dept.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item_grid_platform.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item_grid_platform.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item_grid_platform.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item_grid_platform.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item_handle_process.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item_handle_process.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_item_handle_process.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_item_handle_process.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_manual_score.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_manual_score.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_manual_score.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_manual_score.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_case.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_case.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_case.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_case.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_grid.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_grid.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_grid.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_grid.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_person.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_person.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_person.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_month_excellent_person.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_month_record_info.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_month_record_info.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_month_record_info.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_month_record_info.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_news.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_news.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_news.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_news.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_news_user_attitude.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_news_user_attitude.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_news_user_attitude.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_news_user_attitude.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_resources_dictionary.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_resources_dictionary.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_resources_dictionary.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_resources_dictionary.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_resources_total_relation.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_resources_total_relation.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_resources_total_relation.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_resources_total_relation.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_street_persion_goal_month.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_street_persion_goal_month.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_street_persion_goal_month.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_street_persion_goal_month.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_topic.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_topic.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_topic.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_topic.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_topic_comment.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_topic_comment.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_topic_comment.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_topic_comment.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_topic_comment_user_attitude.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_topic_comment_user_attitude.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_topic_comment_user_attitude.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_topic_comment_user_attitude.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_topic_img.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_topic_img.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_topic_img.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_topic_img.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_total_config.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_total_config.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_total_config.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_total_config.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_user.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_user.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_user.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_user.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_user_grid_relation.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_user_grid_relation.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_user_grid_relation.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_user_grid_relation.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_user_group.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_user_group.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_user_group.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_user_group.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_week_record_detail.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_week_record_detail.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_week_record_detail.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_week_record_detail.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_week_record_info.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_week_record_info.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/epdc_week_record_info.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/epdc_week_record_info.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/esua_analysis_synchronize.kjb b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/esua_analysis_synchronize.kjb similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/esua_analysis_synchronize.kjb rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/esua_analysis_synchronize.kjb diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/meta_epdc_kpi_time_limit_issue.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/meta_epdc_kpi_time_limit_issue.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/meta_epdc_kpi_time_limit_issue.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/meta_epdc_kpi_time_limit_issue.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/sys_dept.ktr b/epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/sys_dept.ktr similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/analysis_synchronize/sys_dept.ktr rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/analysis_synchronize/sys_dept.ktr diff --git a/epdc-cloud-analysis/kettle/yushan-analysis/esua_epdc_analysis_job.kjb b/epdc-cloud-analysis/doc/kettle/yushan-analysis/esua_epdc_analysis_job.kjb similarity index 100% rename from epdc-cloud-analysis/kettle/yushan-analysis/esua_epdc_analysis_job.kjb rename to epdc-cloud-analysis/doc/kettle/yushan-analysis/esua_epdc_analysis_job.kjb diff --git a/epdc-cloud-analysis/doc/sql/epdc-analysis-db-init.sql b/epdc-cloud-analysis/doc/sql/epdc-analysis-db-init.sql new file mode 100644 index 0000000..c609714 --- /dev/null +++ b/epdc-cloud-analysis/doc/sql/epdc-analysis-db-init.sql @@ -0,0 +1,1663 @@ + +-- 数据分析模块数据库初始化 ---------------------------- +DROP TABLE IF EXISTS `epdc_case`; +CREATE TABLE `epdc_case` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `TYPICAL_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '典型案例ID', + `CASE_SOURCE` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '案例来源(完整名字)', + `SOURCE_GRID_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '案例来源网格ID', + `ASSOCIATED_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联案例ID', + `ASSOCIATED_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联案例类型(用字典)', + `PUBLISHER_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '案例发布人姓名', + `PUBLISHER_HEADER` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '案例发布人头像', + `RELEASE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '案例发布时间', + `CONTENT` varchar(3072) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '案例内容', + `CATEGORY` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `EXPRESSING_ATTITUDE` int(11) NULL DEFAULT NULL COMMENT '表达态度', + `CONTENT_DESCRIPTION` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容描述', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记(0-否,1-是)', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '案例表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_dept_event_person_time +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_dept_event_person_time`; +CREATE TABLE `epdc_dept_event_person_time` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'id', + `GRID_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门id 网格为单位统计', + `ISSUE_PUBLISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '议题总数', + `USER_PUBLISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户发布议题总数', + `USER_LIKE_TIME` int(11) NULL DEFAULT NULL COMMENT '用户点赞次数', + `USER_OPPOSE_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户吐槽次数', + `USER_COMMENT_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户评论次数', + `USER_TOITEM_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户转项目次数', + `USER_FINISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户结案次数', + `USER_EVALUATE_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户评价次数', + `USER_GOOD_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户好评次数', + `PARTY_PUBLISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员发布议题总数', + `PARTY_LIKE_TIME` int(11) NULL DEFAULT NULL COMMENT '党员点赞次数', + `PARTY_OPPOSE_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员吐槽次数', + `PARTY_COMMENT_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员评论次数', + `PARTY_TOITEM_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员转项目次数', + `PARTY_FINISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员结案次数', + `PARTY_EVALUATE_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员评价次数', + `PARTY_GOOD_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员好评次数', + `STATISTICS_DATE` date NULL DEFAULT NULL COMMENT '统计日期', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党建议事参与人次统计表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_dept_group_person_time +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_dept_group_person_time`; +CREATE TABLE `epdc_dept_group_person_time` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'id', + `GRID_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门id 网格为单位统计', + `GROUP_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群id', + `TOPIC_PUBLISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '话题总数', + `USER_PUBLISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户发布话题总数', + `USER_LIKE_TIME` int(11) NULL DEFAULT NULL COMMENT '用户点赞次数', + `USER_OPPOSE_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户吐槽次数', + `USER_COMMENT_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户评论次数', + `USER_TOISSUE_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户转议题次数', + `USER_TOITEM_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户转项目次数', + `USER_FINISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户结案次数', + `USER_GOOD_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户好评次数', + `USER_JOIN_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户进群次数', + `PARTY_PUBLISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员发布话题总数', + `PARTY_LIKE_TIME` int(11) NULL DEFAULT NULL COMMENT '党员点赞次数', + `PARTY_OPPOSE_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员吐槽次数', + `PARTY_COMMENT_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员评论次数', + `PARTY_TOISSUE_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员转议题次数', + `PARTY_TOITEM_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员转项目次数', + `PARTY_FINISH_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员结案次数', + `PARTY_GOOD_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员好评次数', + `PARTY_CREATE_COUNT` int(11) NULL DEFAULT NULL COMMENT '党员建群数', + `STATISTICS_DATE` date NULL DEFAULT NULL COMMENT '统计日期', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党建社群统计表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_dept_officer +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_dept_officer`; +CREATE TABLE `epdc_dept_officer` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `DEPT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门ID', + `NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名', + `POSITION` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '职位', + `MOBILE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系方式', + `SORT` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '排序', + `MASTER_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主显标识', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '逻辑删除标识', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `SEX` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '性别', + `USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '部门人员联系表 ' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_dept_voice_person_time +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_dept_voice_person_time`; +CREATE TABLE `epdc_dept_voice_person_time` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'id', + `GRID_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门id 网格为单位统计', + `USER_LIKE_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户点赞次数', + `USER_OPPOSE_TIMES` int(11) NULL DEFAULT NULL COMMENT '用户吐槽次数', + `PARTY_LIKE_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员点赞次数', + `PARTY_OPPOSE_TIMES` int(11) NULL DEFAULT NULL COMMENT '党员吐槽次数', + `STATISTICS_DATE` date NULL DEFAULT NULL COMMENT '统计日期', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间,电政办同步数据会用到', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党建声音参与人次统计表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_difficult_item +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_difficult_item`; +CREATE TABLE `epdc_difficult_item` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `EVENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '事件ID', + `ITEM_CONTENT` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目内容', + `DISTRIBUTE_TIME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '发布时间', + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` bigint(20) NOT NULL COMMENT '网格ID', + `ITEM_STATE` int(11) NOT NULL COMMENT '项目状态 项目状态 0-处理中,5-已关闭,10-已结案', + `CATEGORY_FULL_NAME` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类全称', + `ALL_DEPT_NAMES` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + `SPEND_TIME` int(11) NOT NULL DEFAULT 0 COMMENT '耗时 单位:小时', + `HANDLE_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '处理次数', + `DEPT_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '涉及部门数', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记(0-否,1-是)', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '疑难项目统计分析表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_elt_job_log +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_elt_job_log`; +CREATE TABLE `epdc_elt_job_log` ( + `ID_JOB` int(11) NULL DEFAULT NULL, + `CHANNEL_ID` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `JOBNAME` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `STATUS` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `LINES_READ` bigint(20) NULL DEFAULT NULL, + `LINES_WRITTEN` bigint(20) NULL DEFAULT NULL, + `LINES_UPDATED` bigint(20) NULL DEFAULT NULL, + `LINES_INPUT` bigint(20) NULL DEFAULT NULL, + `LINES_OUTPUT` bigint(20) NULL DEFAULT NULL, + `LINES_REJECTED` bigint(20) NULL DEFAULT NULL, + `ERRORS` bigint(20) NULL DEFAULT NULL, + `STARTDATE` datetime(0) NULL DEFAULT NULL, + `ENDDATE` datetime(0) NULL DEFAULT NULL, + `LOGDATE` datetime(0) NULL DEFAULT NULL, + `DEPDATE` datetime(0) NULL DEFAULT NULL, + `REPLAYDATE` datetime(0) NULL DEFAULT NULL, + `LOG_FIELD` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL, + INDEX `IDX_epdc_elt_job_log_1`(`ID_JOB`) USING BTREE, + INDEX `IDX_epdc_elt_job_log_2`(`ERRORS`, `STATUS`, `JOBNAME`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_grid_handle_statistics +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_grid_handle_statistics`; +CREATE TABLE `epdc_grid_handle_statistics` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `DEPT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门ID', + `DEPY_KEY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门类型', + `ITEM_TOTAL` int(11) NULL DEFAULT NULL COMMENT '项目总数', + `WHISTLE_COMMUNITY_TOTAL` int(11) NULL DEFAULT NULL COMMENT '吹哨社区次数', + `WHISTLE_STREET_TOTAL` int(11) NULL DEFAULT NULL COMMENT '吹哨街道次数', + `BYSELF_TOTAL` int(11) NULL DEFAULT NULL COMMENT '自治次数', + `EVA_BAD_TOTAL` int(11) NULL DEFAULT NULL COMMENT '评价不满意次数', + `EVA_GOOD_TOTAL` int(11) NULL DEFAULT NULL COMMENT '评价满意次数', + `EVA_VERYGOOD_TOTAL` int(11) NULL DEFAULT NULL COMMENT '评价非常满意次数', + `NO_EVA_TOTAL` int(11) NULL DEFAULT NULL COMMENT '无评价次数', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '逻辑删除标识', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '网格统计表 ' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_group_statistics +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_group_statistics`; +CREATE TABLE `epdc_group_statistics` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'id', + `DEPT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门id 网格为单位统计', + `GROUP_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群id', + `USER_TOTAL` int(11) NULL DEFAULT NULL COMMENT '用户数', + `PARTY_TOTAL` int(11) NULL DEFAULT NULL COMMENT '党员数', + `RESIDENTS_TOTAL` int(11) NULL DEFAULT NULL COMMENT '居民数', + `STATISTICS_DATE` date NULL DEFAULT NULL COMMENT '(数据更新至)年月日', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '数据插入时间', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '数据插入时间', + `PARTY_LORD_FLAG` int(11) NULL DEFAULT NULL COMMENT '党员所建的群,0否 1是', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党建社区人事统计表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_handle_report_statistics +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_handle_report_statistics`; +CREATE TABLE `epdc_handle_report_statistics` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `DEPT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门ID', + `DEPY_KEY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门类型', + `WHISTLE_TOTAL` int(11) NULL DEFAULT NULL COMMENT '被吹哨次数', + `RESPONSE_TOTAL` int(11) NULL DEFAULT NULL COMMENT '报道次数', + `FINISH_TOTAL` int(11) NULL DEFAULT NULL COMMENT '结办次数', + `EVA_BAD_TOTAL` int(11) NULL DEFAULT NULL COMMENT '评价不满意次数', + `EVA_GOOD_TOTAL` int(11) NULL DEFAULT NULL COMMENT '评价满意次数', + `EVA_VERYGOOD_TOTAL` int(11) NULL DEFAULT NULL COMMENT '评价非常满意次数', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '逻辑删除标识', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '报道统计表 ' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_issue_item_category +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_issue_item_category`; +CREATE TABLE `epdc_issue_item_category` ( + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` bigint(20) NOT NULL COMMENT '网格ID', + `CATEGORY_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类目类别 1-一级类目,2-二级类目,3-三级类目', + `CATEGORY_NAME` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类目名称', + `ISSUE_TOTLE` int(11) NOT NULL DEFAULT 0 COMMENT '议题总数', + `ITEM_TOTLE` int(11) NOT NULL DEFAULT 0 COMMENT '项目总数', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间' +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '议题项目类目统计表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_issue_item_statistics +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_issue_item_statistics`; +CREATE TABLE `epdc_issue_item_statistics` ( + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` bigint(20) NOT NULL COMMENT '网格ID', + `ISSUE_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '议题总数', + `ITEM_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '项目总数', + `ISSUE_PROCESSING_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '议题处理中总数', + `ISSUE_CLOSED_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '议题已关闭总数', + `ISSUE_CHANGED_ITEM_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '议题已转项目总数', + `ITEM_PROCESSING_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '项目处理中总数', + `ITEM_SETTLE_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '项目已结案总数', + `ITEM_CLOSED_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '项目已关闭总数', + `PLATFORM_ITEM_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '区调度项目总数', + `PLATFORM_ITEM_PROCESSING_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '区调度项目处理中总数', + `PLATFORM_ITEM_SETTLE_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '区调度项目已结案总数', + `PLATFORM_ITEM_CLOSED_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '区调度项目已关闭总数', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间' +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '议题项目统计分析表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_item_category_satisfaction +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_item_category_satisfaction`; +CREATE TABLE `epdc_item_category_satisfaction` ( + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` bigint(20) NOT NULL COMMENT '网格ID', + `SATISFACTION_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '居民满意度类型 1-非常满意,2-基本满意,3-不满意', + `CATEGORY_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类目类别 1-一级类目,2-二级类目,3-三级类目', + `CATEGORY_NAME` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类目名称', + `ITEM_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '项目总数', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间' +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目类目居民满意度统计分析表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_kettle_job_record +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_kettle_job_record`; +CREATE TABLE `epdc_kettle_job_record` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `JOB_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '作业名称', + `END_TIME` datetime(0) NOT NULL COMMENT '同步数据截至时间', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间 作业开始时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '作业记录表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_notice +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_notice`; +CREATE TABLE `epdc_master_notice` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户ID', + `NOTICE_TITLE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '通知标题', + `NOTICE_CONTENT` varchar(3072) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '通知内容', + `STATE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '状态:0关闭,1发布,2置顶', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `BROWSE_NUM` int(11) NULL DEFAULT NULL COMMENT '浏览数', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '通知信息表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_notice_img +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_notice_img`; +CREATE TABLE `epdc_master_notice_img` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `REFERENCE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '引用ID', + `IMG_URL` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片地址', + `IMG_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片类型', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '通知图片表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_notice_user_read +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_notice_user_read`; +CREATE TABLE `epdc_master_notice_user_read` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户ID', + `NOTICE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '通知id', + `READ_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '阅读标记 是否已读:0否;1是', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '通知用户已读表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_topic +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_topic`; +CREATE TABLE `epdc_master_topic` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户ID', + `TOPIC_CONTENT` varchar(3072) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '话题内容', + `STATE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '状态:0关闭,1发布,2置顶', + `COMMENT_NUM` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论数', + `BROWSE_NUM` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '浏览数', + `APPROVE_NUM` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '点赞次数', + `OPPOSE_NUM` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '踩次数', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '话题表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_topic_comment +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_topic_comment`; +CREATE TABLE `epdc_master_topic_comment` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `TOPIC_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '话题ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论人ID', + `USERNAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论人昵称', + `USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论人头像', + `CONTENT` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论内容', + `COMMENT_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论类型 0:评论,1:回复,2:回复的回复', + `COMMENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回复的评论ID', + `REPLY_COUNT` int(11) NULL DEFAULT NULL COMMENT '被回复数', + `REPLY_USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人ID', + `REPLY_USERNAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人名称', + `REPLY_USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人头像', + `LIKE_COUNT` int(11) NULL DEFAULT NULL COMMENT '点赞数', + `UN_LIKE_COUNT` int(11) NULL DEFAULT NULL COMMENT '点踩数', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '话题评论表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_topic_comment_user_attitude +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_topic_comment_user_attitude`; +CREATE TABLE `epdc_master_topic_comment_user_attitude` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `COMMENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户ID', + `ATTITUDE_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户点赞点踩标识 0:点赞,1:踩', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户评论点赞表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_topic_img +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_topic_img`; +CREATE TABLE `epdc_master_topic_img` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `REFERENCE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '引用ID', + `IMG_URL` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片地址', + `IMG_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片类型', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '话题图片表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_topic_user_attitude +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_topic_user_attitude`; +CREATE TABLE `epdc_master_topic_user_attitude` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `TOPIC_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '话题Id', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户ID', + `ATTITUDE_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户点赞点踩标识 0:点赞,1:踩', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '话题点赞表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_topic_user_browse +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_topic_user_browse`; +CREATE TABLE `epdc_master_topic_user_browse` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `TOPIC_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '话题id', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户ID', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户浏览记录' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_master_user_relation +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_master_user_relation`; +CREATE TABLE `epdc_master_user_relation` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户ID', + `NICKNAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名', + `USER_AVATAR` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像', + `MOBILE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', + `REAL_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名', + `LOGIN_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登录名', + `DEPT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属部门', + `DEPT_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属部门名称', + `MANAGE_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '管理标识', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记 0:未删除,1:已删除', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '书记在线用户关系表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_party_behavior_statistics +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_party_behavior_statistics`; +CREATE TABLE `epdc_party_behavior_statistics` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `STREET_ID` bigint(20) NULL DEFAULT NULL COMMENT '街道id', + `STREET_NAME` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '街道名称', + `COMMUNITY_ID` bigint(20) NULL DEFAULT NULL COMMENT '社区id', + `COMMUNITY_NAME` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社区名称', + `BEHAVIOR_TIMES` int(10) NULL DEFAULT NULL COMMENT '党员活跃人次', + `EVENTS_PUBLISH_TIMES` int(10) NULL DEFAULT NULL COMMENT '党员发布议题数', + `TO_ITEM_TIMES` int(10) NULL DEFAULT NULL COMMENT '议题转项目数', + `FINISH_TIMES` int(10) NULL DEFAULT NULL COMMENT '项目结案数', + `EVENTS_BEHAVIOR_TIMES` int(10) NULL DEFAULT NULL COMMENT '党员议事互动次数', + `TOPIC_PUBLISH_TIMES` int(10) NULL DEFAULT NULL COMMENT '党员发布话题数', + `GROUP_AMOUNT` int(10) NULL DEFAULT NULL COMMENT '党员建社群数', + `GROUP_USER_TOTAL` int(10) NULL DEFAULT NULL COMMENT '群成员数', + `TOPIC_TOTAL` int(10) NULL DEFAULT NULL COMMENT '平台话题数', + `ISSUE_TOTAL` int(10) NULL DEFAULT NULL COMMENT '平台议题数', + `ITEM_TOTAL` int(10) NULL DEFAULT NULL COMMENT '平台项目数', + `FINISH_TOTAL` int(10) NULL DEFAULT NULL COMMENT '平台结案数', + `MONTHS_AGO` int(10) NULL DEFAULT NULL COMMENT '几个月之前', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标识 0:否,1:是', + `REVISION` int(11) NULL DEFAULT 0 COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'kettle' COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'kettle' COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党员参与情况数据统计' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_party_case_category +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_party_case_category`; +CREATE TABLE `epdc_party_case_category` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `CATEGORY_INFO` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类概述', + `PARYT_AMOUNT` int(20) NULL DEFAULT NULL COMMENT '党员总数', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:否,1:是', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党员实况分布种类表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_party_case_disrtibution +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_party_case_disrtibution`; +CREATE TABLE `epdc_party_case_disrtibution` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `DISTRIBUTION_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分布信息名称', + `DISTRIBUTION_INFO_COUNT` int(20) NULL DEFAULT NULL COMMENT '分布数', + `DISTRIBUTION_INFO_PERCENT` decimal(20, 2) NULL DEFAULT NULL COMMENT '分布占比', + `TYPE` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '(0:党员年龄分布 1:党员职业分布)', + `CATEGORY_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '相关信息ID', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:否,1:是', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党员实况分布表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_party_case_number +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_party_case_number`; +CREATE TABLE `epdc_party_case_number` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `PARTY_COUNT_PERCENT` decimal(20, 0) NULL DEFAULT NULL COMMENT '党员数占比', + `PARTY_COUNT` int(20) NULL DEFAULT NULL COMMENT '党员数', + `CATEGORY_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类ID', + `STREET_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '街道名称', + `STREET_ID` bigint(20) NULL DEFAULT NULL COMMENT '街道ID', + `SORT` int(11) NULL DEFAULT 0 COMMENT '排序', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:否,1:是', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党员人数实况表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_party_member_info_daily +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_party_member_info_daily`; +CREATE TABLE `epdc_party_member_info_daily` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `NICKNAME` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '昵称', + `MOBILE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', + `PASSWORD` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '密码', + `REGISTER_TIME` datetime(0) NOT NULL COMMENT '认证时间', + `FACE_IMG` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头像', + `SEX` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '性别(女性-0,男性-1)', + `BIRTHDAY` date NULL DEFAULT NULL COMMENT '生日', + `EMAIL` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱', + `TELEPHONE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话', + `ZIP_CODE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮编', + `PROFESSION` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '职业', + `HOBBIES` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '爱好', + `USER_SIGN` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '个性签名', + `INVITATION_CODE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邀请码', + `LAST_LOGIN_TIME` datetime(0) NOT NULL COMMENT '最近登录时间', + `LAST_LOGIN_IP` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最近登录IP', + `LAST_LONGITUDE` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最近登录位置经度', + `LAST_LATITUDE` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最近登录位置维度', + `REAL_NAME` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名', + `IDENTITY_NO` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '身份证号', + `ROAD` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所在道路(如山东路168号)', + `VILLAGE_NAME` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '小区名称', + `DWELLING_PLACE` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '住处(楼栋-单元-房间)', + `ADDRESS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '居民住址', + `WX_OPEN_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信OPENID', + `WX_UNION_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信unionId', + `PARTY_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否是党员(0-否,1-是)', + `REGISTER_WAY` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '注册方式(wx:微信注册)', + `REGISTER_SOURCE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户来源(wp:公众号)', + `MOBILE_PROVINCE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号所属省份', + `MOBILE_CITY` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号所属城市', + `MOBILE_CARRIER` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号所属运营商', + `POINTS` int(11) NULL DEFAULT 0 COMMENT '用户积分', + `INVITE_USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邀请人ID', + `STATE` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '状态(0-已注册,1-已完善信息待审核,2-信息审核不通过,3-信息审核通过)', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '注册时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `LAST_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓', + `FIRST_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名', + `REMARK` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核备注', + `DEPT_ID` bigint(20) NULL DEFAULT NULL COMMENT '居住网格id', + `PARENT_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + `RENT_FLAG` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '是否租房 (0否 1是)', + `DRIVER_FLAG` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '是否有车(0否 1是)', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `index_name`(`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户信息表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_party_participate_statistics +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_party_participate_statistics`; +CREATE TABLE `epdc_party_participate_statistics` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `STREET_ID` bigint(20) NULL DEFAULT NULL COMMENT '街道id', + `STREET_NAME` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '街道名称', + `COMMUNITY_ID` bigint(20) NULL DEFAULT NULL COMMENT '社区id', + `COMMUNITY_NAME` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社区名称', + `PARTY_AMOUNT` int(10) NULL DEFAULT NULL COMMENT '党员数量', + `PARTY_BEHAVIOR_TIMES` int(10) NULL DEFAULT NULL COMMENT '党员参与人次', + `PARTY_PARTICIPATE_AMOUNT` int(10) NULL DEFAULT 0 COMMENT '党员参与议事人数', + `PARTY_BEHAVIOR_AMOUNT` int(10) NULL DEFAULT NULL COMMENT '党员参与人数', + `USER_AMOUNT` int(10) NULL DEFAULT NULL COMMENT '用户数量', + `USER_BEHAVOIR_TIMES` int(10) NULL DEFAULT NULL COMMENT '用户参与人次', + `USER_PARTICIPATE_AMOUNT` int(10) NULL DEFAULT 0 COMMENT '用户参与议事人数', + `USER_BEHAVOIR_AMOUNT` int(10) NULL DEFAULT NULL COMMENT '用户参与人数', + `STATISTICS_DATE` date NULL DEFAULT NULL COMMENT '数据所属日期', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标识 0:否,1:是', + `REVISION` int(11) NULL DEFAULT 0 COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'kettle' COMMENT '创建人', + `CREATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'kettle' COMMENT '更新人', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户/党员参与人次/人数' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_typical_case +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_typical_case`; +CREATE TABLE `epdc_typical_case` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `CASE_TITLE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优秀案例标题', + `CASE_NUMBER` int(11) NULL DEFAULT NULL COMMENT '优秀案例数', + `STATE` int(11) NOT NULL COMMENT '上下架状态(0-下架,1-上架)', + `MAIN_PICTURE` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主图', + `TYPICAL_ABSTRACT` varchar(3072) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '摘要', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除标记(0-否,1-是)', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '典型案例表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_user_behavior_log +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_user_behavior_log`; +CREATE TABLE `epdc_user_behavior_log` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'id', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户id', + `ALL_DEPT_IDS` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户部门id', + `PART_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '党员标识', + `VOICE_LIKE_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '声音点赞标识', + `VOICE_OPPOSE_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '声音吐槽标识', + `EVENT_PUBLISH_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '议事发布标识', + `EVENT_LIKE_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '议事点赞标识', + `EVENT_OPPOSE_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '议事吐槽标识', + `EVENT_COMMENT_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '议事评论标识', + `EVENT_EVALUATE_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '议事评价标识', + `GROUP_PUBLISH_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '社群发布标识', + `GROUP_LIKE_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '社群点赞标识', + `GROUP_OPPOSE_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '社群吐槽标识', + `GROUP_COMMENT_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '社群评论标识', + `GROUP_JOIN_FLAG` int(11) NOT NULL DEFAULT 0 COMMENT '社群加入标识', + `CREATED_TIME` date NULL DEFAULT NULL COMMENT '创建时间', + `UPDATED_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户行为记录' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for epdc_user_statistics +-- ---------------------------- +DROP TABLE IF EXISTS `epdc_user_statistics`; +CREATE TABLE `epdc_user_statistics` ( + `GRID_ID` bigint(20) NOT NULL DEFAULT 0 COMMENT '网格ID', + `USER_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '用户总数', + `RESIDENTS_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '居民总数', + `PARTY_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '党员总数', + `OVER_FIFTY_PARTY_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '50岁及以上党员数', + `UNDER_FIFTY_PARTY_TOTAL` int(11) NOT NULL DEFAULT 0 COMMENT '50岁以下党员数', + `COMPANY_REPRESENT_TOTAL` int(11) NULL DEFAULT NULL COMMENT '企业代表数', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间' +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户统计分析表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_category +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_category`; +CREATE TABLE `meta_epdc_category` ( + `ID` bigint(19) NOT NULL COMMENT 'id', + `PID` bigint(19) NULL DEFAULT NULL COMMENT '上级分类ID', + `PIDS` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有上级分类ID,用逗号分开', + `CATEGORY_NAME` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `CATEGORY_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类编码', + `CATEGORY_TYPE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类类别', + `SORT` int(10) NULL DEFAULT NULL COMMENT '排序', + `SELECT_FLAG` bit(1) NULL DEFAULT NULL COMMENT '是否必选:0-否,1-是', + `DEL_FLAG` tinyint(3) NULL DEFAULT NULL COMMENT '删除标识 0:未删除 1:删除', + `CREATOR` bigint(19) NULL DEFAULT NULL COMMENT '创建者', + `CREATE_DATE` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATER` bigint(19) NULL DEFAULT NULL COMMENT '更新者', + `UPDATE_DATE` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `INFO_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '第三方平台分类编码', + `ENABLE_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '启用标识(0-否,1-是)', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '分类管理' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_enterprise_info +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_enterprise_info`; +CREATE TABLE `meta_epdc_enterprise_info` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户id', + `REAL_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户姓名', + `SEX` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '性别 0女 1男', + `MOBILE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '联系电话', + `ENTERPRISE_NAME` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业名称', + `UNIFORM_SOCIAL_CREDIT_CODE` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '统一社会信用代码', + `ENTERPRISE_ADDRESS` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业地址', + `LEGAL_PERSON` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '法定代表人', + `REGISTERED_CAPITAL` int(11) NULL DEFAULT NULL COMMENT '注册资金(万元)', + `EMPLOYED_POPULATION` int(11) NULL DEFAULT NULL COMMENT '从业人数', + `INDUSTRY` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属行业', + `BUSINESS_SCOPE` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经营范围', + `DEPT_ID` bigint(20) NOT NULL COMMENT '居住网格id', + `PARENT_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:否,1:是', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '企业信息表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_evaluate_detail +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_evaluate_detail`; +CREATE TABLE `meta_epdc_evaluate_detail` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `INFO_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '信息ID 评价信息表主键', + `ROLE_CODE` int(11) NOT NULL COMMENT '评价类别(1.点赞,2.吐槽)', + `OPTION_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '选项ID 选项表主键', + `SELECT_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否选中(0-否,1-是)', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:否,1:是', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '评价详情表 评价详情表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_evaluate_info +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_evaluate_info`; +CREATE TABLE `meta_epdc_evaluate_info` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `FULL_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '提交人姓名', + `MOBILE` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '联系电话', + `OFFICER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '干部ID 干部信息表主键', + `ROLE_CODE` int(11) NOT NULL COMMENT '评价类别(1.点赞,2.吐槽)', + `CONTENT` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评价内容', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:否,1:是', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `OPTION_COUNT` int(11) NOT NULL COMMENT '选中个数', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '评价信息表 评价信息表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_evaluate_officer +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_evaluate_officer`; +CREATE TABLE `meta_epdc_evaluate_officer` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `DEPT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门ID 部门表主键ID', + `FULL_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '姓名', + `SEX` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '性别(0-女,1-男)', + `POSITION` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '职位', + `LIKES_COUNT` int(11) NULL DEFAULT 0 COMMENT '点赞次数', + `OPPOSE_COUNT` int(11) NULL DEFAULT 0 COMMENT '被踩次数', + `SORT` int(11) NOT NULL DEFAULT 0 COMMENT '排序', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:否,1:是', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '干部信息表 干部信息表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_evaluate_option +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_evaluate_option`; +CREATE TABLE `meta_epdc_evaluate_option` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `ROLE_CODE` int(11) NOT NULL COMMENT '权限编码(1.点赞,2.吐槽)', + `PID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '一致性ID', + `OPTION_CONTENT` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '评价选项', + `SORT` int(11) NOT NULL COMMENT '显示顺序', + `AVAILABLE` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '可用标记(0-不可用,1-可用)', + `REVISION` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:否,1:是', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '评价选项表 评价选项表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_event_comment +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_event_comment`; +CREATE TABLE `meta_epdc_event_comment` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `EVENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '事件ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '评论人ID', + `USER_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论人昵称', + `USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论人头像', + `CONTENT` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论内容', + `COMMENT_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论类型 0:评论,1:回复,2:回复的回复', + `COMMENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回复的评论ID', + `REPLY_COUNT` int(10) NULL DEFAULT NULL COMMENT '被回复数', + `REPLY_USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人ID', + `REPLY_USER_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人名称', + `REPLY_USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人头像', + `LIKE_COUNT` int(10) NULL DEFAULT NULL COMMENT '点赞数', + `UN_LIKE_COUNT` int(10) NULL DEFAULT NULL COMMENT '点踩数', + `SHIELD_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '屏蔽标识 0:未屏蔽,1:已屏蔽', + `DEL_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标识 0:未删除,1:已删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `SENSITIVE_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '0 未进行校验;1 微信校验通过;2 微信校验不通过;3 管理员校验通过;4 管理员校验不通过', + `PARTY_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '党员标识(0-否,1-是)', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '事件评论表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_event_comment_user_attitude +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_event_comment_user_attitude`; +CREATE TABLE `meta_epdc_event_comment_user_attitude` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `EVENT_COMMENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '事件评论ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `ATTITUDE_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户点赞点踩标识 0:点赞,1:点踩', + `DEL_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:未删除,1:删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '事件评论点赞点踩表 事件评论点赞点踩表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_event_user_attitude +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_event_user_attitude`; +CREATE TABLE `meta_epdc_event_user_attitude` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `EVENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '事件ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `ATTITUDE_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户点赞点踩标识 0:点赞,1:踩', + `DEL_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:未删除,1:删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '事件点赞点踩表 事件点赞点踩表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_events +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_events`; +CREATE TABLE `meta_epdc_events` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `NICK_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户昵称', + `USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像', + `IS_PARTY_MEMBER` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '党员标识 0:否,1:是', + `MOBILE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', + `EVENT_CONTENT` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '议题内容', + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` bigint(19) NOT NULL COMMENT '网格ID', + `ISSUE_ADDRESS` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '议题位置地址', + `ISSUE_LATITUDE` decimal(32, 10) NOT NULL COMMENT '议题位置纬度', + `ISSUE_LONGITUDE` decimal(32, 10) NOT NULL COMMENT '议题位置经度', + `EVENT_STATE` int(10) NOT NULL COMMENT '事件状态 0-待审核,2-驳回,4-审核通过', + `ADVICE` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '意见', + `APPROVE_NUM` int(10) NULL DEFAULT NULL COMMENT '点赞次数', + `OPPOSE_NUM` int(10) NULL DEFAULT NULL COMMENT '踩次数', + `COMMENT_NUM` int(10) NULL DEFAULT NULL COMMENT '评论数', + `BROWSE_NUM` int(10) NULL DEFAULT NULL COMMENT '浏览数', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:未删除,1:已删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `SENSITIVE_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '0 未进行校验;1 微信校验通过;2 微信校验不通过;3 管理员校验通过;4 管理员校验不通过', + `GROUP_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群ID', + `GROUP_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群名称', + `TOPIC_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '话题ID', + `PARENT_DEPT_IDS` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `CATEGORY_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类编码', + `FIRST_CATEGORY_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '一级分类编码', + `CATEGORY_FULL_NAME` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类全称', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '事件表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_grid_platform_handle_log +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_grid_platform_handle_log`; +CREATE TABLE `meta_epdc_grid_platform_handle_log` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `ITEM_GRID_PLATFORM_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格化平台项目关系表ID', + `STATUS` int(10) NOT NULL COMMENT '状态 15-网格化平台-上报,20-网格化平台-受理,25-网格化平台-立案,30-网格化平台-派遣,35-网格化平台-中间再派,40-网格化平台-接单,45-网格化平台-处理,50-网格化平台-中间督办,55-网格化平台-催办,55-网格化平台-结案', + `ITEM_HANDLE_PROCESS_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目处理表ID', + `HANDLER` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '处理人', + `HANDLING_OPINIONS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '处理意见', + `HANDLING_DEPT` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '处理部门', + `HANDLING_TIME` datetime(0) NULL DEFAULT NULL COMMENT '处理时间', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记', + `DISPATCHTIME` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '派遣时间(格式:yyyy-MM-dd HH24:mm:ss)', + `DEPTCODE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '派遣部门编号', + `DEPTNAME` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '派遣部门名称', + `EXECDEPTCODE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主责部门编号', + `EXECDEPTNAME` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主责部门名称', + `CARRIVETIME` int(10) NULL DEFAULT NULL COMMENT '到场时间要求(分钟数)', + `CSOLVINGTIME` int(10) NULL DEFAULT NULL COMMENT '处置时间要求(分钟数)', + `ARRIVETIME` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '到场截止时间(格式:yyyy-MM-dd HH24:mm:ss)', + `SOLVINGTIME` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '处置截止时间(格式:yyyy-MM-dd HH24:mm:ss)', + `SOLVINGNOTE` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '派遣意见、最终主责单位处理完成意见', + `ENDTIME` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '结案时间(格式:yyyy-MM-dd HH24:mm:ss)', + `LASTSOLVINGTIME` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最终处理时间(格式:yyyy-MM-dd HH24:mm:ss)', + `ENDNOTE` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '结案意见', + `BANLIRESULT` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '结案评判(实际解决、解释说明等)', + PRIMARY KEY (`ID`, `STATUS`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '网格化平台处理日志表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_group +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_group`; +CREATE TABLE `meta_epdc_group` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `GROUP_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '社群名称', + `GROUP_AVATAR` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '社群头像', + `GROUP_INTRODUCTION` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群介绍', + `GROUP_CATEGORY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '社群类别 0:党员群,1:自建群', + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格ID', + `STATE` int(10) NOT NULL COMMENT '状态 0:待审核,5:审核不通过,10:审核通过,15:禁言,20:已解散', + `PROCESSING_OPINIONS` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '处理意见', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记 0:未删除,1:已删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + `PARENT_DEPT_IDS` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '社群表 社群表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_img +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_img`; +CREATE TABLE `meta_epdc_img` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `REFERENCE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '引用ID', + `IMG_URL` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片地址', + `IMG_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片类型', + `DEL_FLAG` int(10) NOT NULL COMMENT '删除标识 0:未删除,1:删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党建系统图片表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_issue +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_issue`; +CREATE TABLE `meta_epdc_issue` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `EVENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '事件ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `NICK_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户昵称', + `USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像', + `IS_PARTY_MEMBER` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '党员标识 0:否,1:是', + `MOBILE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', + `ISSUE_CONTENT` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '议题内容', + `DISTRIBUTE_TIME` datetime(0) NOT NULL COMMENT '发布时间', + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` bigint(19) NOT NULL COMMENT '网格ID', + `ISSUE_ADDRESS` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '议题位置地址', + `ISSUE_LATITUDE` decimal(32, 10) NOT NULL COMMENT '议题位置纬度', + `ISSUE_LONGITUDE` decimal(32, 10) NOT NULL COMMENT '议题位置经度', + `ISSUE_STATE` int(10) NOT NULL COMMENT '议题状态 0-审核通过,2-已关闭,4-已转项目', + `DEL_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:未删除,1:已删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `GROUP_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群ID', + `GROUP_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群名称', + `TOPIC_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '话题ID', + `ISSUE_CODE` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '议题编号', + `PARENT_DEPT_IDS` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `CATEGORY_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类编码', + `FIRST_CATEGORY_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '一级分类编码', + `CATEGORY_FULL_NAME` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类全称', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '议题表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_issue_handle +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_issue_handle`; +CREATE TABLE `meta_epdc_issue_handle` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `ISSUE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '议题ID', + `STATE` int(10) NOT NULL COMMENT '状态 0-审核通过,1-反馈,2-关闭, 3-话题转议题', + `ADVICE` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '意见', + `HANDLER_DEPT_ID` bigint(19) NULL DEFAULT NULL COMMENT '操作人部门ID', + `HANDLER_DEPT` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人部门', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记', + `MOBILE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人联系方式', + `GROUP_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '议题处理表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_item +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_item`; +CREATE TABLE `meta_epdc_item` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `EVENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '事件ID', + `ISSUE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '议题ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `NICK_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户昵称', + `USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像', + `IS_PARTY_MEMBER` int(10) NOT NULL COMMENT '党员标识 0:否,1:是', + `MOBILE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', + `ITEM_CONTENT` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目内容', + `DISTRIBUTE_TIME` datetime(0) NOT NULL COMMENT '发布时间', + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` bigint(19) NOT NULL COMMENT '网格ID', + `ISSUE_ADDRESS` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '议题位置地址', + `ISSUE_LATITUDE` decimal(32, 10) NOT NULL COMMENT '议题位置纬度', + `ISSUE_LONGITUDE` decimal(32, 10) NOT NULL COMMENT '议题位置经度', + `EVALUATION_SCORE` int(10) NULL DEFAULT NULL COMMENT '满意度评价得分(0-不满意,1-基本满意,2-非常满意)', + `EVALUATION_CONTENT` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '满意度评价内容', + `EVALUATION_TIME` datetime(0) NULL DEFAULT NULL COMMENT '满意度评价时间', + `ITEM_STATE` int(10) NOT NULL COMMENT '项目状态 0-处理中,5-已关闭,10-已结案', + `DEL_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:未删除,1:已删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `LAST_HANDLE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '最近一次处理时间', + `GROUP_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群ID', + `GROUP_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社群名称', + `TOPIC_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '话题ID', + `ITEM_CODE` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目编号', + `FRIENDLY_COMMUNITY_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `PARENT_DEPT_IDS` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `CATEGORY_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类编码', + `FIRST_CATEGORY_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '一级分类编码', + `CATEGORY_FULL_NAME` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类全称', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_item_dept +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_item_dept`; +CREATE TABLE `meta_epdc_item_dept` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `ITEM_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目ID', + `DEPT_ID` bigint(19) NOT NULL COMMENT '部门ID', + `DEPT_NAME` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门名称', + `CREATED_DEPT_ID` bigint(19) NOT NULL COMMENT '操作人部门ID', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记', + `ITEM_HANDLE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目处理表ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目部门关系表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_item_evaluate_dept +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_item_evaluate_dept`; +CREATE TABLE `meta_epdc_item_evaluate_dept` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `ITEM_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目ID', + `DEPT_ID` bigint(20) NOT NULL COMMENT '被评价部门ID', + `DEPT_NAME` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被评价部门名称', + `EVALUATION_LEVEL` int(11) NOT NULL COMMENT '评价结果:0-不满意,1-基本满意,2-非常满意', + `CREATED_DEPT_ID` bigint(20) NOT NULL COMMENT '操作人部门ID', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = ' 部门满意度评价表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_item_grid_platform +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_item_grid_platform`; +CREATE TABLE `meta_epdc_item_grid_platform` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `REFERENCE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '关联表ID', + `TASKID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格平台任务ID', + `REPORT_PERSON_DEPT_ID` bigint(19) NOT NULL COMMENT '上报人部门ID', + `STATUS` int(10) NOT NULL COMMENT '状态 15-网格化平台-上报,20-网格化平台-受理,25-网格化平台-立案,30-网格化平台-派遣,35-网格化平台-中间再派,40-网格化平台-接单,45-网格化平台-处理,50-网格化平台-中间督办,55-网格化平台-催办,60-网格化平台-结案', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '网格化平台项目关系表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_item_handle_process +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_item_handle_process`; +CREATE TABLE `meta_epdc_item_handle_process` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `ITEM_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目ID', + `STATE` int(10) NOT NULL COMMENT '0-处理中,5-已关闭,10-已结案', + `HANDLE_ADVICE` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '处理意见', + `OUT_HANDLE_ADVICE` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '处理意见(外部)', + `HANDLER_DEPT_ID` bigint(19) NULL DEFAULT NULL COMMENT '操作人部门ID', + `HANDLER_DEPT` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人部门', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目处理流程表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_news +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_news`; +CREATE TABLE `meta_epdc_news` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `NEWS_TITLE` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '新闻标题', + `NEWS_CONTENT` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '新闻内容', + `NEWS_CATERORY_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '新闻类别ID', + `NEWS_PROPERTY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '新闻属性', + `NEWS_IMAGE_URL` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '新闻主图', + `NEWS_UP_DOWN_STATE` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '新闻上下线状态 默认是0 手动下线是1', + `NEWS_RELEASE_STATE` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '是否是草稿箱 0否,1是', + `NEWS_RELEASE_START_TIME` datetime(0) NOT NULL COMMENT '新闻发布开始时间', + `NEWS_RELEASE_END_TIME` datetime(0) NOT NULL COMMENT '新闻发布结束时间', + `DEPT_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发布人部门', + `DEPT_ID` bigint(20) NULL DEFAULT NULL COMMENT '发布人部门ID', + `READING_AMOUNT` int(11) NULL DEFAULT NULL COMMENT '阅读量', + `LIKE_NUMBER` int(11) NULL DEFAULT NULL COMMENT '点赞数', + `UN_LIKE_NUMBER` int(11) NULL DEFAULT NULL COMMENT '点踩数', + `DEL_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:未删除,1:已删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `CREATOR_NAME` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人姓名', + `BANNER_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT '0' COMMENT '是否已上banner 0否1是', + `PARENT_DEPT_IDS` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '新闻表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_news_user_attitude +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_news_user_attitude`; +CREATE TABLE `meta_epdc_news_user_attitude` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID', + `EPDC_NEWS_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '新闻ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `ATTITUDE_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户点赞点踩标识 0:点赞,1:踩', + `DEL_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识 0:未删除,1:删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '新闻点赞点踩表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_topic +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_topic`; +CREATE TABLE `meta_epdc_topic` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `NICKNAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户昵称', + `USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户头像', + `PARTY_MEMBER` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '党员标识 0:否,1:是', + `MOBILE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', + `TOPIC_CONTENT` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '话题内容', + `ISSUE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '议题ID', + `ITEM_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目ID', + `GRID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网格', + `GRID_ID` bigint(19) NOT NULL COMMENT '网格ID', + `TOPIC_ADDRESS` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '话题地址', + `TOPIC_LATITUDE` decimal(32, 10) NOT NULL COMMENT '话题位置纬度', + `TOPIC_LONGITUDE` decimal(32, 10) NOT NULL COMMENT '话题位置经度', + `GROUP_NAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '友邻社群', + `GROUP_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '友邻社群ID', + `STATE` int(10) NOT NULL COMMENT '状态 0:讨论中,5:转议题待审核,10:已转议题,15:已转项目,20:已关闭', + `COMMENT_NUM` int(10) NULL DEFAULT NULL COMMENT '评论数', + `BROWSE_NUM` int(10) NULL DEFAULT NULL COMMENT '浏览数', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记 0:未删除,1:已删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + `PARENT_DEPT_IDS` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '话题表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_topic_comment +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_topic_comment`; +CREATE TABLE `meta_epdc_topic_comment` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `TOPIC_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '话题ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '评论人ID', + `USERNAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '评论人昵称', + `USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论人头像', + `CONTENT` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '评论内容', + `COMMENT_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '评论类型 0:评论,1:回复,2:回复的回复', + `COMMENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回复的评论ID', + `REPLY_COUNT` int(10) NULL DEFAULT NULL COMMENT '被回复数', + `REPLY_USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人ID', + `REPLY_USERNAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人名称', + `REPLY_USER_FACE` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被回复人头像', + `LIKE_COUNT` int(10) NULL DEFAULT NULL COMMENT '点赞数', + `UN_LIKE_COUNT` int(10) NULL DEFAULT NULL COMMENT '点踩数', + `SHIELD_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '屏蔽标识 0:未屏蔽,1:已屏蔽', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记 0:未删除,1:已删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `PARTY_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '党员标识(0-否,1-是)', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '话题评论表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_topic_comment_user_attitude +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_topic_comment_user_attitude`; +CREATE TABLE `meta_epdc_topic_comment_user_attitude` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `COMMENT_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '评论ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `ATTITUDE_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表态标识 0:点赞,1:点踩', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记 0:未删除,1:删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '话题评论用户表态表 话题评论用户表态表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_topic_img +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_topic_img`; +CREATE TABLE `meta_epdc_topic_img` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `REFERENCE_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '引用ID', + `IMG_URL` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '图片地址', + `IMG_TYPE` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片类型', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记 0:未删除,1:删除', + `REVISION` int(10) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '话题图片表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_user +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_user`; +CREATE TABLE `meta_epdc_user` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `NICKNAME` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '昵称', + `MOBILE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', + `PASSWORD` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '密码', + `REGISTER_TIME` datetime(0) NOT NULL COMMENT '认证时间', + `FACE_IMG` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头像', + `SEX` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '性别(女性-0,男性-1)', + `BIRTHDAY` date NULL DEFAULT NULL COMMENT '生日', + `EMAIL` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱', + `TELEPHONE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话', + `ZIP_CODE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮编', + `PROFESSION` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '职业', + `HOBBIES` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '爱好', + `USER_SIGN` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '个性签名', + `INVITATION_CODE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邀请码', + `LAST_LOGIN_TIME` datetime(0) NOT NULL COMMENT '最近登录时间', + `LAST_LOGIN_IP` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最近登录IP', + `LAST_LONGITUDE` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最近登录位置经度', + `LAST_LATITUDE` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最近登录位置维度', + `REAL_NAME` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名', + `IDENTITY_NO` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '身份证号', + `ROAD` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所在道路(如山东路168号)', + `VILLAGE_NAME` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '小区名称', + `DWELLING_PLACE` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '住处(楼栋-单元-房间)', + `ADDRESS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '居民住址', + `WX_OPEN_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信OPENID', + `WX_UNION_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信unionId', + `PARTY_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否是党员(0-否,1-是)', + `REGISTER_WAY` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '注册方式(wx:微信注册)', + `REGISTER_SOURCE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户来源(wp:公众号)', + `MOBILE_PROVINCE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号所属省份', + `MOBILE_CITY` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号所属城市', + `MOBILE_CARRIER` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号所属运营商', + `POINTS` int(11) NULL DEFAULT 0 COMMENT '用户积分', + `INVITE_USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邀请人ID', + `STATE` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '状态(0-已注册,1-已完善信息待审核,2-信息审核不通过,3-信息审核通过)', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '注册时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `LAST_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓', + `FIRST_NAME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名', + `REMARK` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核备注', + `DEPT_ID` bigint(20) NULL DEFAULT NULL COMMENT '居住网格id', + `PARENT_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + `RENT_FLAG` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '是否租房 (0否 1是)', + `DRIVER_FLAG` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '是否有车(0否 1是)', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `index_name`(`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户信息表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_user_grid_opining +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_user_grid_opining`; +CREATE TABLE `meta_epdc_user_grid_opining` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `GRID_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网格id', + `REGISTER_COUNT` int(10) NULL DEFAULT NULL COMMENT '用户总数', + `PARTY_COUNT` int(10) NULL DEFAULT NULL COMMENT '党员数', + `RESIDENT_COUNT` int(10) NULL DEFAULT NULL COMMENT '已注册居民', + `UN_AUTHORIZED_COUNT` int(10) NULL DEFAULT NULL COMMENT '未注册居民', + `NEWS_COUNT` int(10) NULL DEFAULT NULL COMMENT '新闻发布数', + `COMMUNITY_COUNT` int(10) NULL DEFAULT NULL COMMENT '社群数', + `COMMUNITY_MEMBER_COUNT` int(10) NULL DEFAULT NULL COMMENT '群成员数', + `COMMUNITY_TOPIC_COUNT` int(10) NULL DEFAULT NULL COMMENT '群话题数', + `EVENT_COUNT` int(10) NULL DEFAULT NULL COMMENT '议题总数', + `ITEM_COUNT` int(10) NULL DEFAULT NULL COMMENT '项目数', + `ITEM_CLOSE_COUNT` int(10) NULL DEFAULT NULL COMMENT '项目已解决数', + `ITEM_PRAISE_COUNT` int(10) NULL DEFAULT NULL COMMENT '好评数', + `ALL_DEPT_NAME` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网格名称', + `GRID_LEADER` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网格党建指导员姓名', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '注册时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `index_name`(`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '网格开通情况' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_user_grid_relation +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_user_grid_relation`; +CREATE TABLE `meta_epdc_user_grid_relation` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `GRID` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '所属网格', + `GRID_ID` bigint(20) NOT NULL COMMENT '网格ID', + `SWITCHED_TIME` datetime(0) NOT NULL COMMENT '最后切换此网格的时间', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记', + `LEADER_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否是网格长 0-否,1-是', + `PARENT_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `PARENT_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父所有部门', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门ID', + `ALL_DEPT_NAMES` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门名称', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `index_name`(`USER_ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '网格长与网格关系表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_user_group +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_user_group`; +CREATE TABLE `meta_epdc_user_group` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `GROUP_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '社群ID', + `USER_ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID', + `NICKNAME` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名', + `USER_AVATAR` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户头像', + `MOBILE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', + `LORD_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '群主标识 0:否,1:是', + `PARTY_MEMBER` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '党员标识 0:否,1:是', + `STATE` int(11) NOT NULL DEFAULT 0 COMMENT '状态 0:待审核,5:审核不通过,10:审核通过,15:已退群,20:已移除', + `AUDIT_OPINION` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '处理意见', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记 0:未删除,1:已删除', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '创建时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户社群关系表 用户社群关系表' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_user_party_rank +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_user_party_rank`; +CREATE TABLE `meta_epdc_user_party_rank` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `STREET_ID` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '街道id', + `STREET_NAME` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '街道名称', + `PARTY_MEMBER_COUNT` int(50) NULL DEFAULT NULL COMMENT '已注册党员数量(已认证)', + `OLD_COUNT` int(50) NULL DEFAULT NULL COMMENT '年龄超过50岁党员数量', + `OLD_PERCENT` decimal(50, 0) NULL DEFAULT NULL COMMENT '老龄化比例', + `YOUNG_COUNT` int(50) NULL DEFAULT NULL COMMENT '年龄50岁以下的党员数量', + `YOUNG_PERCENT` decimal(50, 0) NULL DEFAULT NULL COMMENT '年轻化比例', + `MALE_COUNT` int(50) NULL DEFAULT NULL COMMENT '男', + `FEMALE_COUNT` int(50) NULL DEFAULT NULL COMMENT '女', + `UNKNOWN_SEX_COUNT` int(50) NULL DEFAULT NULL COMMENT '未知性别', + `PARTY_AUTH_FAILURE_COUNT` int(50) NULL DEFAULT NULL COMMENT '党员认证失败数', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '注册时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `index_name`(`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '党员排行' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_epdc_user_register_rank +-- ---------------------------- +DROP TABLE IF EXISTS `meta_epdc_user_register_rank`; +CREATE TABLE `meta_epdc_user_register_rank` ( + `ID` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键', + `STREET_ID` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '街道id', + `STREET_NAME` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '街道名称', + `USER_COUNT` int(50) NULL DEFAULT NULL COMMENT '用户总数', + `PARTY_MEMBER_COUNT` int(50) NULL DEFAULT NULL COMMENT '党员数', + `RESIDENT_COUNT` int(50) NULL DEFAULT NULL COMMENT '已注册居民', + `UN_AUTHORIZED_COUNT` int(50) NULL DEFAULT NULL COMMENT '为注册居民', + `OLD_COUNT` int(50) NULL DEFAULT NULL COMMENT '年龄超过50岁', + `OLD_PERCENT` decimal(50, 0) NULL DEFAULT NULL COMMENT '老龄化比例', + `YOUNG_COUNT` int(50) NULL DEFAULT NULL COMMENT '50岁以下用户数量', + `YOUNG_PERCENT` decimal(50, 0) NULL DEFAULT NULL COMMENT '年轻化比例', + `MALE_COUNT` int(50) NULL DEFAULT NULL COMMENT '男', + `FEMALE_COUNT` int(50) NULL DEFAULT NULL COMMENT '女', + `UNKNOWN_SEX_COUNT` int(50) NULL DEFAULT NULL COMMENT '未知性别', + `DEL_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标记', + `REVISION` int(11) NULL DEFAULT NULL COMMENT '乐观锁', + `CREATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人', + `CREATED_TIME` datetime(0) NOT NULL COMMENT '注册时间', + `UPDATED_BY` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '更新人', + `UPDATED_TIME` datetime(0) NOT NULL COMMENT '更新时间', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `index_name`(`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户注册排行' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for meta_sys_dept +-- ---------------------------- +DROP TABLE IF EXISTS `meta_sys_dept`; +CREATE TABLE `meta_sys_dept` ( + `ID` bigint(19) NOT NULL COMMENT 'id', + `PID` bigint(19) NULL DEFAULT NULL COMMENT '上级ID', + `PIDS` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有上级ID,用逗号分开', + `NAME` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门名称', + `SORT` int(10) NULL DEFAULT NULL COMMENT '排序', + `DEL_FLAG` tinyint(3) NULL DEFAULT NULL COMMENT '删除标识 0:未删除 1:删除', + `CREATOR` bigint(19) NULL DEFAULT NULL COMMENT '创建者', + `CREATE_DATE` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `UPDATER` bigint(19) NULL DEFAULT NULL COMMENT '更新者', + `UPDATE_DATE` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `TYPE_KEY` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '机构类型键值', + `PARTY_CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门编码', + `ALL_DEPT_IDS` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有部门id', + `SHOW_FLAG` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '显示标识', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '部门管理' ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for pdman_db_version +-- ---------------------------- +DROP TABLE IF EXISTS `pdman_db_version`; +CREATE TABLE `pdman_db_version` ( + `DB_VERSION` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `VERSION_DESC` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `CREATED_TIME` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- View structure for view_dept_basic_level +-- ---------------------------- +DROP VIEW IF EXISTS `view_dept_basic_level`; +CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_dept_basic_level` AS select `dg`.`ID` AS `GRID_ID`,`dg`.`NAME` AS `grid_name`,`dc`.`ID` AS `community_id`,`dc`.`NAME` AS `community_name`,`ds`.`ID` AS `street_id`,`ds`.`NAME` AS `street_name`,concat(`dd`.`ID`,',',`ds`.`ID`,',',`dc`.`ID`,',',`dg`.`ID`) AS `ALL_DEPT_IDS`,concat(`dd`.`NAME`,',',`ds`.`NAME`,',',`dc`.`NAME`,',',`dg`.`NAME`) AS `ALL_DEPT_NAMES`,concat(`dd`.`ID`,',',`ds`.`ID`,',',`dc`.`ID`) AS `PARENT_DEPT_IDS`,concat(`dd`.`NAME`,',',`ds`.`NAME`,',',`dc`.`NAME`) AS `PARENT_DEPT_NAMES` from (((`meta_sys_dept` `dg` left join `meta_sys_dept` `dc` on((`dg`.`PID` = `dc`.`ID`))) left join `meta_sys_dept` `ds` on((`dc`.`PID` = `ds`.`ID`))) left join `meta_sys_dept` `dd` on((`ds`.`PID` = `dd`.`ID`))) where ((`dg`.`DEL_FLAG` = '0') and (`dg`.`TYPE_KEY` = 'grid_party') and (`dc`.`ID` is not null) and (`ds`.`ID` is not null)) order by `dg`.`CREATE_DATE`,`dg`.`ID`; + +-- ---------------------------- +-- View structure for view_sys_dept +-- ---------------------------- +DROP VIEW IF EXISTS `view_sys_dept`; +CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sys_dept` AS select `dis`.`NAME` AS `district`,`dis`.`ID` AS `districtId`,`str`.`NAME` AS `street`,`str`.`ID` AS `streetId`,`com`.`NAME` AS `community`,`com`.`ID` AS `communityId`,`gri`.`NAME` AS `grid`,`gri`.`ID` AS `gridId`,concat(`dis`.`NAME`,'-',`str`.`NAME`,'-',`com`.`NAME`,'-',`gri`.`NAME`) AS `allDeptNames`,concat(`dis`.`ID`,',',`str`.`ID`,',',`com`.`ID`,',',`gri`.`ID`) AS `allDeptIds` from (((`meta_sys_dept` `gri` left join `meta_sys_dept` `com` on((`gri`.`PID` = `com`.`ID`))) left join `meta_sys_dept` `str` on((`com`.`PID` = `str`.`ID`))) left join `meta_sys_dept` `dis` on((`str`.`PID` = `dis`.`ID`))) where ((`gri`.`DEL_FLAG` = '0') and (`dis`.`ID` is not null)); + + diff --git a/epdc-cloud-analysis/pom.xml b/epdc-cloud-analysis/pom.xml index d98d848..5468a76 100644 --- a/epdc-cloud-analysis/pom.xml +++ b/epdc-cloud-analysis/pom.xml @@ -1,47 +1,42 @@ - - 4.0.0 com.esua.epdc.yushan epdc-cloud-parent-yushan 1.0.0 ../epdc-cloud-parent-yushan + 4.0.0 epdc-cloud-analysis jar - 榆山党群e家数据分析微服务模块 + 榆山党群e家数据分析模块 com.esua.epdc.yushan epdc-cloud-analysis-client - ${epdc-cloud-commons.version} + ${epdc-cloud-client.version} com.esua.epdc.yushan - epdc-commons-mybatis + epdc-commons-tools ${epdc-cloud-commons.version} - - - com.esua.epdc.yushan - epdc-commons-api-version-control - ${epdc-cloud-client.version} - com.esua.epdc.yushan - epdc-cloud-admin-client - ${epdc-cloud-client.version} + epdc-commons-mybatis + ${epdc-cloud-commons.version} - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery + org.springframework.boot + spring-boot-configuration-processor + compile + true - org.springframework.boot spring-boot-starter-web @@ -51,9 +46,17 @@ spring-context-support - de.codecentric - spring-boot-admin-starter-client - 2.0.3 + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + org.springframework.cloud + spring-cloud-starter-zipkin + + + io.github.openfeign + feign-httpclient @@ -109,6 +112,7 @@ + dev @@ -117,18 +121,29 @@ dev + dev - 9077 + 9060 9 114.215.125.123 9603 epdc!redis@master1405 + + + + epdcyushan + elink833066 + false 47.104.224.45:8848 de000340-5fc4-45aa-bdbc-dd96852012ad + + 1175270520603930625 + + http://localhost:9411 @@ -136,18 +151,28 @@ test test + test - 11033 + 10019 9 114.215.125.123 9603 epdc!redis@master1405 - true + + + + epdcyushan + elink833066 + + false 47.104.224.45:8848 - 47.104.85.99 + de000340-5fc4-45aa-bdbc-dd96852012ad + + 1175270520603930625 + http://localhost:9411 @@ -155,22 +180,30 @@ prod prod + prod - 9077 + 9081 0 - 172.16.1.238 + 172.16.1.243 6379 Elink833066 + + + + epdcyushan + elinkepdc@Yushan2020 + true 172.16.1.243:8848 + 1175270520603930625 + http://localhost:9411 -