├── README.md ├── azkaban ├── ads.job ├── dwd.job ├── dws.job ├── export.job ├── gmv-job.zip ├── import.job └── ods.job ├── flume-interceptor ├── flume-interceptor.iml ├── pom.xml ├── src │ └── main │ │ └── java │ │ └── com │ │ └── RuHuTian │ │ └── flume │ │ └── interceptor │ │ ├── LogETLInterceptor.java │ │ ├── LogTypeInterceptor.java │ │ └── LogUtils.java └── target │ ├── classes │ └── com │ │ └── RuHuTian │ │ └── flume │ │ └── interceptor │ │ ├── LogETLInterceptor$Builder.class │ │ ├── LogETLInterceptor.class │ │ ├── LogTypeInterceptor$Builder.class │ │ ├── LogTypeInterceptor.class │ │ └── LogUtils.class │ ├── flume-interceptor-1.0-SNAPSHOT-jar-with-dependencies.jar │ ├── flume-interceptor-1.0-SNAPSHOT.jar │ └── maven-archiver │ └── pom.properties ├── hive-function ├── .idea │ ├── codeStyles │ │ └── codeStyleConfig.xml │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__antlr_antlr_2_7_7.xml │ │ ├── Maven__aopalliance_aopalliance_1_0.xml │ │ ├── Maven__asm_asm_3_1.xml │ │ ├── Maven__com_google_code_findbugs_jsr305_1_3_9.xml │ │ ├── Maven__com_google_guava_guava_14_0_1.xml │ │ ├── Maven__com_google_inject_extensions_guice_servlet_3_0.xml │ │ ├── Maven__com_google_inject_guice_3_0.xml │ │ ├── Maven__com_google_protobuf_protobuf_java_2_5_0.xml │ │ ├── Maven__com_jolbox_bonecp_0_8_0_RELEASE.xml │ │ ├── Maven__com_sun_jersey_contribs_jersey_guice_1_9.xml │ │ ├── Maven__com_sun_jersey_jersey_client_1_9.xml │ │ ├── Maven__com_sun_jersey_jersey_core_1_9.xml │ │ ├── Maven__com_sun_jersey_jersey_json_1_9.xml │ │ ├── Maven__com_sun_jersey_jersey_server_1_9.xml │ │ ├── Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml │ │ ├── Maven__com_thoughtworks_paranamer_paranamer_2_3.xml │ │ ├── Maven__com_twitter_parquet_hadoop_bundle_1_6_0.xml │ │ ├── Maven__commons_cli_commons_cli_1_2.xml │ │ ├── Maven__commons_codec_commons_codec_1_4.xml │ │ ├── Maven__commons_collections_commons_collections_3_1.xml │ │ ├── Maven__commons_dbcp_commons_dbcp_1_4.xml │ │ ├── Maven__commons_httpclient_commons_httpclient_3_0_1.xml │ │ ├── Maven__commons_io_commons_io_2_4.xml │ │ ├── Maven__commons_lang_commons_lang_2_6.xml │ │ ├── Maven__commons_logging_commons_logging_1_1_3.xml │ │ ├── Maven__commons_pool_commons_pool_1_5_4.xml │ │ ├── Maven__io_netty_netty_3_7_0_Final.xml │ │ ├── Maven__javax_activation_activation_1_1.xml │ │ ├── Maven__javax_inject_javax_inject_1.xml │ │ ├── Maven__javax_jdo_jdo_api_3_0_1.xml │ │ ├── Maven__javax_transaction_jta_1_1.xml │ │ ├── Maven__javax_xml_bind_jaxb_api_2_2_2.xml │ │ ├── Maven__javax_xml_stream_stax_api_1_0_2.xml │ │ ├── Maven__jline_jline_2_12.xml │ │ ├── Maven__joda_time_joda_time_2_5.xml │ │ ├── Maven__junit_junit_3_8_1.xml │ │ ├── Maven__log4j_apache_log4j_extras_1_2_17.xml │ │ ├── Maven__log4j_log4j_1_2_16.xml │ │ ├── Maven__net_hydromatic_eigenbase_properties_1_1_5.xml │ │ ├── Maven__net_sf_opencsv_opencsv_2_3.xml │ │ ├── Maven__org_antlr_ST4_4_0_4.xml │ │ ├── Maven__org_antlr_antlr_runtime_3_4.xml │ │ ├── Maven__org_antlr_stringtemplate_3_2_1.xml │ │ ├── Maven__org_apache_ant_ant_1_9_1.xml │ │ ├── Maven__org_apache_ant_ant_launcher_1_9_1.xml │ │ ├── Maven__org_apache_avro_avro_1_7_5.xml │ │ ├── Maven__org_apache_calcite_calcite_avatica_1_2_0_incubating.xml │ │ ├── Maven__org_apache_calcite_calcite_core_1_2_0_incubating.xml │ │ ├── Maven__org_apache_calcite_calcite_linq4j_1_2_0_incubating.xml │ │ ├── Maven__org_apache_commons_commons_compress_1_4_1.xml │ │ ├── Maven__org_apache_curator_curator_client_2_6_0.xml │ │ ├── Maven__org_apache_curator_curator_framework_2_6_0.xml │ │ ├── Maven__org_apache_derby_derby_10_10_2_0.xml │ │ ├── Maven__org_apache_hadoop_hadoop_annotations_2_6_0.xml │ │ ├── Maven__org_apache_hadoop_hadoop_yarn_api_2_6_0.xml │ │ ├── Maven__org_apache_hadoop_hadoop_yarn_common_2_6_0.xml │ │ ├── Maven__org_apache_hadoop_hadoop_yarn_server_applicationhistoryservice_2_6_0.xml │ │ ├── Maven__org_apache_hadoop_hadoop_yarn_server_common_2_6_0.xml │ │ ├── Maven__org_apache_hadoop_hadoop_yarn_server_resourcemanager_2_6_0.xml │ │ ├── Maven__org_apache_hadoop_hadoop_yarn_server_web_proxy_2_6_0.xml │ │ ├── Maven__org_apache_hive_hive_ant_1_2_1.xml │ │ ├── Maven__org_apache_hive_hive_common_1_2_1.xml │ │ ├── Maven__org_apache_hive_hive_exec_1_2_1.xml │ │ ├── Maven__org_apache_hive_hive_metastore_1_2_1.xml │ │ ├── Maven__org_apache_hive_hive_serde_1_2_1.xml │ │ ├── Maven__org_apache_hive_hive_shims_1_2_1.xml │ │ ├── Maven__org_apache_hive_shims_hive_shims_0_20S_1_2_1.xml │ │ ├── Maven__org_apache_hive_shims_hive_shims_0_23_1_2_1.xml │ │ ├── Maven__org_apache_hive_shims_hive_shims_common_1_2_1.xml │ │ ├── Maven__org_apache_hive_shims_hive_shims_scheduler_1_2_1.xml │ │ ├── Maven__org_apache_httpcomponents_httpclient_4_2_5.xml │ │ ├── Maven__org_apache_httpcomponents_httpcore_4_2_4.xml │ │ ├── Maven__org_apache_ivy_ivy_2_4_0.xml │ │ ├── Maven__org_apache_thrift_libfb303_0_9_2.xml │ │ ├── Maven__org_apache_thrift_libthrift_0_9_2.xml │ │ ├── Maven__org_apache_velocity_velocity_1_5.xml │ │ ├── Maven__org_apache_zookeeper_zookeeper_3_4_6.xml │ │ ├── Maven__org_codehaus_groovy_groovy_all_2_1_6.xml │ │ ├── Maven__org_codehaus_jackson_jackson_core_asl_1_9_13.xml │ │ ├── Maven__org_codehaus_jackson_jackson_jaxrs_1_8_3.xml │ │ ├── Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_13.xml │ │ ├── Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml │ │ ├── Maven__org_codehaus_janino_commons_compiler_2_7_6.xml │ │ ├── Maven__org_codehaus_janino_janino_2_7_6.xml │ │ ├── Maven__org_codehaus_jettison_jettison_1_1.xml │ │ ├── Maven__org_datanucleus_datanucleus_api_jdo_3_2_6.xml │ │ ├── Maven__org_datanucleus_datanucleus_core_3_2_10.xml │ │ ├── Maven__org_datanucleus_datanucleus_rdbms_3_2_9.xml │ │ ├── Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml │ │ ├── Maven__org_json_json_20090211.xml │ │ ├── Maven__org_mortbay_jetty_jetty_6_1_26.xml │ │ ├── Maven__org_mortbay_jetty_jetty_util_6_1_26.xml │ │ ├── Maven__org_pentaho_pentaho_aggdesigner_algorithm_5_1_5_jhyde.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_5.xml │ │ ├── Maven__org_slf4j_slf4j_log4j12_1_7_5.xml │ │ ├── Maven__org_tukaani_xz_1_0.xml │ │ ├── Maven__org_xerial_snappy_snappy_java_1_0_5.xml │ │ ├── Maven__oro_oro_2_0_8.xml │ │ └── Maven__stax_stax_api_1_0_1.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── hivefunction.iml ├── pom.xml ├── src │ └── main │ │ └── java │ │ └── com │ │ └── RuHuTian │ │ ├── udf │ │ └── BaseFieldUDF.java │ │ └── udtf │ │ └── EventJsonUDTF.java └── target │ ├── classes │ └── com │ │ └── RuHuTian │ │ ├── udf │ │ └── BaseFieldUDF.class │ │ └── udtf │ │ └── EventJsonUDTF.class │ ├── hivefunction-1.0-SNAPSHOT-jar-with-dependencies.jar │ ├── hivefunction-1.0-SNAPSHOT.jar │ └── maven-archiver │ └── pom.properties ├── hive └── gmall │ ├── 用户行为数仓 │ ├── ads.sql │ ├── dwd.sql │ ├── dws.sql │ └── ods.sql │ └── 系统业务数仓 │ ├── ads.sql │ ├── dwd.sql │ ├── dws.sql │ └── ods.sql ├── log-collector ├── .idea │ ├── compiler.xml │ ├── libraries │ │ ├── Maven__ch_qos_logback_logback_classic_1_0_7.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_0_7.xml │ │ ├── Maven__com_alibaba_fastjson_1_2_51.xml │ │ └── Maven__org_slf4j_slf4j_api_1_6_6.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── logcollector.iml ├── pom.xml ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── atguigu │ │ │ ├── appclient │ │ │ └── AppMain.java │ │ │ └── bean │ │ │ ├── AppActive_background.java │ │ │ ├── AppActive_foreground.java │ │ │ ├── AppAd.java │ │ │ ├── AppBase.java │ │ │ ├── AppComment.java │ │ │ ├── AppDisplay.java │ │ │ ├── AppErrorLog.java │ │ │ ├── AppFavorites.java │ │ │ ├── AppLoading.java │ │ │ ├── AppNewsDetail.java │ │ │ ├── AppNotification.java │ │ │ ├── AppPraise.java │ │ │ └── AppStart.java │ │ └── resources │ │ └── logback.xml └── target │ ├── classes │ ├── com │ │ └── atguigu │ │ │ ├── appclient │ │ │ └── AppMain.class │ │ │ └── bean │ │ │ ├── AppActive_background.class │ │ │ ├── AppActive_foreground.class │ │ │ ├── AppAd.class │ │ │ ├── AppBase.class │ │ │ ├── AppComment.class │ │ │ ├── AppDisplay.class │ │ │ ├── AppErrorLog.class │ │ │ ├── AppFavorites.class │ │ │ ├── AppLoading.class │ │ │ ├── AppNewsDetail.class │ │ │ ├── AppNotification.class │ │ │ ├── AppPraise.class │ │ │ └── AppStart.class │ └── logback.xml │ ├── log-collector-1.0-SNAPSHOT-jar-with-dependencies.jar │ ├── log-collector-1.0-SNAPSHOT.jar │ └── maven-archiver │ └── pom.properties ├── mysql ├── 函数脚本.sql ├── 存储过程脚本.sql ├── 维度表数据.sql └── 表结构.sql ├── shell ├── ads │ ├── ads_back_log.sh │ ├── ads_continuity_log.sh │ ├── ads_continuity_wk_log.sh │ ├── ads_db_gmv.sh │ ├── ads_slient_log.sh │ ├── ads_uv_log.sh │ └── ads_wastage_log.sh ├── dwd │ ├── dwd_base_log.sh │ ├── dwd_db.sh │ ├── dwd_event_log.sh │ └── dwd_start_log.sh ├── dws │ ├── dws_db_wide.sh │ ├── dws_sale.sh │ └── dws_uv_log.sh ├── ods │ ├── ods_db.sh │ └── ods_log.sh ├── sqoop │ ├── sqoop_export.sh │ └── sqoop_import.sh ├── tools │ ├── cluster.sh │ ├── f1.sh │ ├── f2.sh │ ├── hv.sh │ ├── kf.sh │ ├── km.sh │ ├── lg.sh │ └── zk.sh └── utils │ ├── xcall.sh │ └── xsync └── spring-boot-echarts-master ├── .gitignore ├── README.md ├── classes ├── artifacts │ └── unnamed │ │ └── WEB-INF │ │ ├── classes │ │ ├── application.properties │ │ ├── com │ │ │ └── demo │ │ │ │ ├── DemoApplication.class │ │ │ │ ├── controller │ │ │ │ ├── ActiveController.class │ │ │ │ └── IndexController.class │ │ │ │ ├── mapper │ │ │ │ ├── ActiveDataMapper.class │ │ │ │ └── IndexMapper.class │ │ │ │ ├── model │ │ │ │ ├── ActiveData.class │ │ │ │ ├── ActiveTotalData.class │ │ │ │ ├── ConvertData.class │ │ │ │ ├── GMVOrder.class │ │ │ │ ├── Index.class │ │ │ │ ├── MapData.class │ │ │ │ └── RetainData.class │ │ │ │ ├── service │ │ │ │ ├── ActiveDataService.class │ │ │ │ ├── IndexService.class │ │ │ │ └── impl │ │ │ │ │ ├── ActiveDataServiceImpl.class │ │ │ │ │ └── IndexServiceImpl.class │ │ │ │ └── utils │ │ │ │ ├── GetDate.class │ │ │ │ └── HttpClientUtil.class │ │ ├── config │ │ │ └── config.properties │ │ ├── mapper │ │ │ ├── ActiveDataMapper.xml │ │ │ └── IndexMapper.xml │ │ ├── static │ │ │ └── assets │ │ │ │ ├── china.json │ │ │ │ ├── css │ │ │ │ ├── bootstrap-datetimepicker.min.css │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ ├── bootstrap.css │ │ │ │ ├── bootstrap.min_5468bf4.css │ │ │ │ ├── custom-styles.css │ │ │ │ └── font-awesome.css │ │ │ │ ├── font-awesome │ │ │ │ └── fonts │ │ │ │ │ ├── fontawesome-webfontba72.eot │ │ │ │ │ ├── fontawesome-webfontba72.svg │ │ │ │ │ ├── fontawesome-webfontba72.ttf │ │ │ │ │ ├── fontawesome-webfontba72.woff │ │ │ │ │ └── fontawesome-webfontd41d.eot │ │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regulard41d.eot │ │ │ │ ├── geo │ │ │ │ └── china.json │ │ │ │ └── js │ │ │ │ ├── bootstrap-datetimepicker.min.js │ │ │ │ ├── bootstrap.min.js │ │ │ │ ├── chart-data.js │ │ │ │ ├── chart.min.js │ │ │ │ ├── china.js │ │ │ │ ├── custom-scripts.js │ │ │ │ ├── custom.js │ │ │ │ ├── dataTables │ │ │ │ ├── dataTables.bootstrap.css │ │ │ │ ├── dataTables.bootstrap.js │ │ │ │ └── jquery.dataTables.js │ │ │ │ ├── easypiechart-data.js │ │ │ │ ├── easypiechart.js │ │ │ │ ├── echarts.min.js │ │ │ │ ├── jquery-1.10.2.js │ │ │ │ ├── jquery.metisMenu.js │ │ │ │ └── morris │ │ │ │ ├── morris-0.4.3.min.css │ │ │ │ ├── morris.js │ │ │ │ └── raphael-2.1.0.min.js │ │ └── templates │ │ │ ├── active.html │ │ │ ├── chart.html │ │ │ ├── convert.html │ │ │ ├── empty.html │ │ │ ├── form.html │ │ │ ├── gmv.html │ │ │ ├── index1.html │ │ │ ├── map.html │ │ │ ├── retain.html │ │ │ ├── tab-panel.html │ │ │ ├── table.html │ │ │ └── ui-elements.html │ │ └── lib │ │ ├── classmate-1.3.4.jar │ │ ├── commons-codec-1.10.jar │ │ ├── fastjson-1.2.47.jar │ │ ├── groovy-2.4.15.jar │ │ ├── hibernate-validator-5.3.6.Final.jar │ │ ├── httpclient-4.5.5.jar │ │ ├── httpcore-4.4.10.jar │ │ ├── jackson-annotations-2.8.0.jar │ │ ├── jackson-core-2.8.11.jar │ │ ├── jackson-databind-2.8.11.2.jar │ │ ├── javassist-3.21.0-GA.jar │ │ ├── jboss-logging-3.3.2.Final.jar │ │ ├── jcl-over-slf4j-1.7.25.jar │ │ ├── jul-to-slf4j-1.7.25.jar │ │ ├── log4j-over-slf4j-1.7.25.jar │ │ ├── logback-classic-1.1.11.jar │ │ ├── logback-core-1.1.11.jar │ │ ├── mybatis-3.4.6.jar │ │ ├── mybatis-spring-1.3.2.jar │ │ ├── mybatis-spring-boot-autoconfigure-1.3.2.jar │ │ ├── mybatis-spring-boot-starter-1.3.2.jar │ │ ├── mysql-connector-java-5.1.47.jar │ │ ├── nekohtml-1.9.22.jar │ │ ├── ognl-3.0.8.jar │ │ ├── slf4j-api-1.7.25.jar │ │ ├── snakeyaml-1.17.jar │ │ ├── spring-aop-4.3.20.RELEASE.jar │ │ ├── spring-beans-4.3.20.RELEASE.jar │ │ ├── spring-boot-1.5.17.RELEASE.jar │ │ ├── spring-boot-autoconfigure-1.5.17.RELEASE.jar │ │ ├── spring-boot-devtools-1.5.17.RELEASE.jar │ │ ├── spring-boot-starter-1.5.17.RELEASE.jar │ │ ├── spring-boot-starter-jdbc-1.5.17.RELEASE.jar │ │ ├── spring-boot-starter-logging-1.5.17.RELEASE.jar │ │ ├── spring-boot-starter-thymeleaf-1.5.17.RELEASE.jar │ │ ├── spring-boot-starter-tomcat-1.5.17.RELEASE.jar │ │ ├── spring-boot-starter-web-1.5.17.RELEASE.jar │ │ ├── spring-context-4.3.20.RELEASE.jar │ │ ├── spring-core-4.3.20.RELEASE.jar │ │ ├── spring-expression-4.3.20.RELEASE.jar │ │ ├── spring-jdbc-4.3.20.RELEASE.jar │ │ ├── spring-tx-4.3.20.RELEASE.jar │ │ ├── spring-web-4.3.20.RELEASE.jar │ │ ├── spring-webmvc-4.3.20.RELEASE.jar │ │ ├── thymeleaf-2.1.6.RELEASE.jar │ │ ├── thymeleaf-layout-dialect-1.4.0.jar │ │ ├── thymeleaf-spring4-2.1.6.RELEASE.jar │ │ ├── tomcat-annotations-api-8.5.34.jar │ │ ├── tomcat-embed-core-8.5.34.jar │ │ ├── tomcat-embed-el-8.5.34.jar │ │ ├── tomcat-embed-websocket-8.5.34.jar │ │ ├── tomcat-jdbc-8.5.34.jar │ │ ├── tomcat-juli-8.5.34.jar │ │ ├── unbescape-1.1.0.RELEASE.jar │ │ ├── validation-api-1.1.0.Final.jar │ │ ├── xercesImpl-2.11.0.jar │ │ └── xml-apis-1.4.01.jar └── production │ └── Algorithms │ ├── Merge.class │ └── Quick.class ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── demo │ │ ├── DemoApplication.java │ │ ├── controller │ │ ├── ActiveController.java │ │ └── IndexController.java │ │ ├── mapper │ │ ├── ActiveDataMapper.java │ │ └── IndexMapper.java │ │ ├── model │ │ ├── ActiveData.java │ │ ├── ActiveTotalData.java │ │ ├── ConvertData.java │ │ ├── GMVOrder.java │ │ ├── Index.java │ │ ├── MapData.java │ │ └── RetainData.java │ │ ├── service │ │ ├── ActiveDataService.java │ │ ├── IndexService.java │ │ └── impl │ │ │ ├── ActiveDataServiceImpl.java │ │ │ └── IndexServiceImpl.java │ │ └── utils │ │ ├── GetDate.java │ │ └── HttpClientUtil.java └── resources │ ├── application.properties │ ├── config │ └── config.properties │ ├── mapper │ ├── ActiveDataMapper.xml │ └── IndexMapper.xml │ ├── static │ └── assets │ │ ├── china.json │ │ ├── css │ │ ├── bootstrap-datetimepicker.min.css │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap.css │ │ ├── bootstrap.min_5468bf4.css │ │ ├── custom-styles.css │ │ └── font-awesome.css │ │ ├── font-awesome │ │ └── fonts │ │ │ ├── fontawesome-webfontba72.eot │ │ │ ├── fontawesome-webfontba72.svg │ │ │ ├── fontawesome-webfontba72.ttf │ │ │ ├── fontawesome-webfontba72.woff │ │ │ └── fontawesome-webfontd41d.eot │ │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regulard41d.eot │ │ ├── geo │ │ └── china.json │ │ └── js │ │ ├── bootstrap-datetimepicker.min.js │ │ ├── bootstrap.min.js │ │ ├── chart-data.js │ │ ├── chart.min.js │ │ ├── china.js │ │ ├── custom-scripts.js │ │ ├── custom.js │ │ ├── dataTables │ │ ├── dataTables.bootstrap.css │ │ ├── dataTables.bootstrap.js │ │ └── jquery.dataTables.js │ │ ├── easypiechart-data.js │ │ ├── easypiechart.js │ │ ├── echarts.min.js │ │ ├── jquery-1.10.2.js │ │ ├── jquery.metisMenu.js │ │ └── morris │ │ ├── morris-0.4.3.min.css │ │ ├── morris.js │ │ └── raphael-2.1.0.min.js │ └── templates │ ├── active.html │ ├── chart.html │ ├── convert.html │ ├── empty.html │ ├── form.html │ ├── gmv.html │ ├── index1.html │ ├── map.html │ ├── retain.html │ ├── tab-panel.html │ ├── table.html │ └── ui-elements.html └── test └── java └── com └── demo └── DemoApplicationTests.java /azkaban/ads.job: -------------------------------------------------------------------------------- 1 | type=command 2 | do_date=${dt} 3 | dependencies=dws 4 | command=/bin/ads_db_gmv.sh ${do_date} -------------------------------------------------------------------------------- /azkaban/dwd.job: -------------------------------------------------------------------------------- 1 | type=command 2 | do_date=${dt} 3 | dependencies=ods 4 | command=/bin/dwd_db.sh ${do_date} -------------------------------------------------------------------------------- /azkaban/dws.job: -------------------------------------------------------------------------------- 1 | type=command 2 | do_date=${dt} 3 | dependencies=dwd 4 | command=/bin/dws_db_wide.sh ${do_date} -------------------------------------------------------------------------------- /azkaban/export.job: -------------------------------------------------------------------------------- 1 | type=command 2 | dependencies=ads 3 | command=/bin/sqoop_export.sh ads_gmv_sum_day -------------------------------------------------------------------------------- /azkaban/gmv-job.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/azkaban/gmv-job.zip -------------------------------------------------------------------------------- /azkaban/import.job: -------------------------------------------------------------------------------- 1 | type=command 2 | do_date=${dt} 3 | command=/bin/sqoop_import.sh all ${do_date} -------------------------------------------------------------------------------- /azkaban/ods.job: -------------------------------------------------------------------------------- 1 | type=command 2 | dependencies=import 3 | do_date=${dt} 4 | command=/bin/ods_db.sh ${do_date} -------------------------------------------------------------------------------- /flume-interceptor/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | org.example 8 | flume-interceptor 9 | 1.0-SNAPSHOT 10 | 11 | 12 | 13 | 14 | org.apache.flume 15 | flume-ng-core 16 | 1.7.0 17 | 18 | 19 | 20 | 21 | 22 | 23 | maven-compiler-plugin 24 | 2.3.2 25 | 26 | 1.8 27 | 1.8 28 | 29 | 30 | 31 | maven-assembly-plugin 32 | 33 | 34 | jar-with-dependencies 35 | 36 | 37 | 38 | 39 | make-assembly 40 | package 41 | 42 | single 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /flume-interceptor/src/main/java/com/RuHuTian/flume/interceptor/LogETLInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.RuHuTian.flume.interceptor; 2 | 3 | import org.apache.flume.Context; 4 | import org.apache.flume.Event; 5 | import org.apache.flume.interceptor.Interceptor; 6 | 7 | import java.nio.charset.Charset; 8 | import java.util.ArrayList; 9 | import java.util.List; 10 | 11 | public class LogETLInterceptor implements Interceptor { 12 | 13 | @Override 14 | public void initialize() { 15 | 16 | } 17 | 18 | /** 19 | * @Description: 单个事件拦截 20 | * @param event 21 | * @return: org.apache.flume.Event 22 | * @Author: RuHuTian 23 | * @Date: 2020/09/24 10:54 24 | */ 25 | @Override 26 | public Event intercept(Event event) { 27 | 28 | byte[] body = event.getBody(); 29 | 30 | String log = new String(body, Charset.forName("UTF-8")); 31 | 32 | if(log.contains("start")){ 33 | 34 | if(LogUtils.validateStart(log)) return event; 35 | 36 | }else{ 37 | 38 | if(LogUtils.validateEvent(log)) return event; 39 | 40 | } 41 | 42 | return null; 43 | } 44 | 45 | /** 46 | * @Description: 批量事件拦截 47 | * @param list 48 | * @return: java.util.List 49 | * @Author: RuHuTian 50 | * @Date: 2020/09/24 10:59 51 | */ 52 | @Override 53 | public List intercept(List list) { 54 | 55 | ArrayList events = new ArrayList<>(); 56 | for(Event event : list){ 57 | 58 | Event e = intercept(event); 59 | 60 | if(e!=null) events.add(e); 61 | 62 | } 63 | 64 | return events; 65 | } 66 | 67 | @Override 68 | public void close() { 69 | 70 | } 71 | 72 | public static class Builder implements Interceptor.Builder{ 73 | 74 | @Override 75 | public Interceptor build() { 76 | return new LogETLInterceptor(); 77 | } 78 | 79 | @Override 80 | public void configure(Context context) { 81 | 82 | } 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /flume-interceptor/src/main/java/com/RuHuTian/flume/interceptor/LogTypeInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.RuHuTian.flume.interceptor; 2 | 3 | 4 | import org.apache.commons.lang.CharSet; 5 | import org.apache.flume.Context; 6 | import org.apache.flume.Event; 7 | import org.apache.flume.interceptor.Interceptor; 8 | 9 | 10 | import java.nio.charset.Charset; 11 | import java.util.ArrayList; 12 | import java.util.List; 13 | import java.util.Map; 14 | 15 | public class LogTypeInterceptor implements Interceptor { 16 | @Override 17 | public void initialize() { 18 | 19 | } 20 | 21 | /** 22 | * @Description: 单个even处理 23 | * @param event 24 | * @return: org.apache.flume.Event 25 | * @Author: RuHuTian 26 | * @Date: 2020/09/24 14:26 27 | */ 28 | @Override 29 | public Event intercept(Event event) { 30 | Map header = event.getHeaders(); 31 | byte[] body = event.getBody(); 32 | String log = new String(body, Charset.forName("UTF-8")); 33 | if(log.contains("start")){ 34 | header.put("topic","topic_start"); 35 | }else{ 36 | header.put("topic","topic_event"); 37 | } 38 | return event; 39 | } 40 | 41 | /** 42 | * @Description: 批量处理 43 | * @param list 44 | * @return: java.util.List 45 | * @Author: RuHuTian 46 | * @Date: 2020/09/24 14:27 47 | */ 48 | @Override 49 | public List intercept(List list) { 50 | ArrayList eventList = new ArrayList<>(); 51 | for (Event e : list){ 52 | Event event = intercept(e); 53 | eventList.add(event); 54 | } 55 | return eventList; 56 | } 57 | 58 | @Override 59 | public void close() { 60 | 61 | } 62 | 63 | public static class Builder implements Interceptor.Builder{ 64 | 65 | @Override 66 | public Interceptor build() { 67 | return new LogTypeInterceptor(); 68 | } 69 | 70 | @Override 71 | public void configure(Context context) { 72 | 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /flume-interceptor/src/main/java/com/RuHuTian/flume/interceptor/LogUtils.java: -------------------------------------------------------------------------------- 1 | package com.RuHuTian.flume.interceptor; 2 | 3 | import org.apache.commons.lang.math.NumberUtils; 4 | import sun.rmi.runtime.Log; 5 | 6 | import java.awt.*; 7 | 8 | public class LogUtils { 9 | /** 10 | * @Description:验证启动日志 11 | * @param log 12 | * @return: boolean 13 | * @Author: RuHuTian 14 | * @Date: 2020/09/24 10:35 15 | */ 16 | public static boolean validateStart(String log) { 17 | if(log == null) return false; 18 | 19 | if(!log.trim().startsWith("{") || !log.trim().endsWith("}")) return false; 20 | 21 | return true; 22 | } 23 | 24 | /** 25 | * @Description: 验证事件日志 26 | * @param log 27 | * @return: boolean 28 | * @Author: RuHuTian 29 | * @Date: 2020/09/24 10:44 30 | */ 31 | public static boolean validateEvent(String log) { 32 | 33 | String[] logs = log.split("\\|"); 34 | 35 | if(logs.length!=2) return false; 36 | 37 | if(logs[0].length()!=13 || !NumberUtils.isDigits(logs[0])) return false; 38 | 39 | if(!logs[1].trim().startsWith("{") || !logs[1].trim().endsWith("}")) return false; 40 | 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogETLInterceptor$Builder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogETLInterceptor$Builder.class -------------------------------------------------------------------------------- /flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogETLInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogETLInterceptor.class -------------------------------------------------------------------------------- /flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogTypeInterceptor$Builder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogTypeInterceptor$Builder.class -------------------------------------------------------------------------------- /flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogTypeInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogTypeInterceptor.class -------------------------------------------------------------------------------- /flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/flume-interceptor/target/classes/com/RuHuTian/flume/interceptor/LogUtils.class -------------------------------------------------------------------------------- /flume-interceptor/target/flume-interceptor-1.0-SNAPSHOT-jar-with-dependencies.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/flume-interceptor/target/flume-interceptor-1.0-SNAPSHOT-jar-with-dependencies.jar -------------------------------------------------------------------------------- /flume-interceptor/target/flume-interceptor-1.0-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/flume-interceptor/target/flume-interceptor-1.0-SNAPSHOT.jar -------------------------------------------------------------------------------- /flume-interceptor/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven 2 | #Thu Sep 24 14:36:02 CST 2020 3 | version=1.0-SNAPSHOT 4 | groupId=org.example 5 | artifactId=flume-interceptor 6 | -------------------------------------------------------------------------------- /hive-function/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /hive-function/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /hive-function/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__antlr_antlr_2_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__asm_asm_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_google_guava_guava_14_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_google_inject_extensions_guice_servlet_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_google_inject_guice_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_jolbox_bonecp_0_8_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_sun_jersey_contribs_jersey_guice_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_sun_jersey_jersey_client_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__com_twitter_parquet_hadoop_bundle_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_codec_commons_codec_1_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_collections_commons_collections_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_dbcp_commons_dbcp_1_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_httpclient_commons_httpclient_3_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_io_commons_io_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__commons_pool_commons_pool_1_5_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__io_netty_netty_3_7_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__javax_activation_activation_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__javax_inject_javax_inject_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__javax_jdo_jdo_api_3_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__javax_transaction_jta_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__jline_jline_2_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__joda_time_joda_time_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__junit_junit_3_8_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__log4j_apache_log4j_extras_1_2_17.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__log4j_log4j_1_2_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__net_hydromatic_eigenbase_properties_1_1_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__net_sf_opencsv_opencsv_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_antlr_ST4_4_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_antlr_antlr_runtime_3_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_antlr_stringtemplate_3_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_ant_ant_1_9_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_ant_ant_launcher_1_9_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_avro_avro_1_7_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_calcite_calcite_avatica_1_2_0_incubating.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_calcite_calcite_core_1_2_0_incubating.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_calcite_calcite_linq4j_1_2_0_incubating.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_curator_curator_client_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_curator_curator_framework_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_derby_derby_10_10_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hadoop_hadoop_yarn_api_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hadoop_hadoop_yarn_common_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hadoop_hadoop_yarn_server_applicationhistoryservice_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hadoop_hadoop_yarn_server_common_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hadoop_hadoop_yarn_server_resourcemanager_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hadoop_hadoop_yarn_server_web_proxy_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_hive_ant_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_hive_common_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_hive_exec_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_hive_metastore_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_hive_serde_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_hive_shims_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_shims_hive_shims_0_20S_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_shims_hive_shims_0_23_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_shims_hive_shims_common_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_hive_shims_hive_shims_scheduler_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_ivy_ivy_2_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_thrift_libfb303_0_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_thrift_libthrift_0_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_velocity_velocity_1_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_codehaus_groovy_groovy_all_2_1_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_9_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_codehaus_janino_commons_compiler_2_7_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_codehaus_janino_janino_2_7_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_datanucleus_datanucleus_api_jdo_3_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_datanucleus_datanucleus_core_3_2_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_datanucleus_datanucleus_rdbms_3_2_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_json_json_20090211.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_pentaho_pentaho_aggdesigner_algorithm_5_1_5_jhyde.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_tukaani_xz_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__oro_oro_2_0_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/libraries/Maven__stax_stax_api_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hive-function/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /hive-function/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /hive-function/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | org.example 8 | hivefunction 9 | 1.0-SNAPSHOT 10 | 11 | 12 | UTF8 13 | 1.2.1 14 | 15 | 16 | 17 | 18 | 19 | org.apache.hive 20 | hive-exec 21 | ${hive.version} 22 | 23 | 24 | 25 | 26 | 27 | 28 | maven-compiler-plugin 29 | 2.3.2 30 | 31 | 1.8 32 | 1.8 33 | 34 | 35 | 36 | maven-assembly-plugin 37 | 38 | 39 | jar-with-dependencies 40 | 41 | 42 | 43 | 44 | make-assembly 45 | package 46 | 47 | single 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | spring-plugin 57 | https://repo.spring.io/plugins-release/ 58 | 59 | 60 | -------------------------------------------------------------------------------- /hive-function/target/classes/com/RuHuTian/udf/BaseFieldUDF.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/hive-function/target/classes/com/RuHuTian/udf/BaseFieldUDF.class -------------------------------------------------------------------------------- /hive-function/target/classes/com/RuHuTian/udtf/EventJsonUDTF.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/hive-function/target/classes/com/RuHuTian/udtf/EventJsonUDTF.class -------------------------------------------------------------------------------- /hive-function/target/hivefunction-1.0-SNAPSHOT-jar-with-dependencies.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/hive-function/target/hivefunction-1.0-SNAPSHOT-jar-with-dependencies.jar -------------------------------------------------------------------------------- /hive-function/target/hivefunction-1.0-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/hive-function/target/hivefunction-1.0-SNAPSHOT.jar -------------------------------------------------------------------------------- /hive-function/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven 2 | #Tue Sep 29 10:28:39 CST 2020 3 | version=1.0-SNAPSHOT 4 | groupId=org.example 5 | artifactId=hivefunction 6 | -------------------------------------------------------------------------------- /hive/gmall/用户行为数仓/ods.sql: -------------------------------------------------------------------------------- 1 | --创建ods层启动日志表 2 | drop table if exists ods_start_log; 3 | Create external table ods_start_log (`line` String) 4 | partitioned by (`dt` String) 5 | stored as 6 | inputformat 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' 7 | outputformat 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' 8 | location '/warehouse/gmall/ods/ods_start_log'; 9 | 10 | --向ods层启动日志表导入数据 11 | load data inpath '/origin_data/gmall/log/topic_start/2020-09-25' 12 | into table gmall.ods_start_log partition(dt='2020-09-25'); 13 | 14 | --查询数据是否正常导入 15 | select * from ods_start_log limit 2; 16 | 17 | --创建ods层时间日志表 18 | drop table if exists ods_event_log; 19 | Create external table ods_event_log (`line` String) 20 | partitioned by (`dt` String) 21 | stored as 22 | inputformat 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' 23 | outputformat 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' 24 | location '/warehouse/gmall/ods/ods_event_log'; 25 | 26 | --向ods层事件日志表导入数据 27 | load data inpath '/origin_data/gmall/log/topic_event/2020-09-25' 28 | into table gmall.ods_event_log partition(dt='2020-09-25'); 29 | 30 | --查询数据是否正常导入 31 | select * from ods_event_log limit 2; 32 | 33 | -------------------------------------------------------------------------------- /log-collector/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /log-collector/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_0_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /log-collector/.idea/libraries/Maven__ch_qos_logback_logback_core_1_0_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /log-collector/.idea/libraries/Maven__com_alibaba_fastjson_1_2_51.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /log-collector/.idea/libraries/Maven__org_slf4j_slf4j_api_1_6_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /log-collector/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /log-collector/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /log-collector/logcollector.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppActive_background.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 用户后台活跃 4 | */ 5 | public class AppActive_background { 6 | private String active_source;//1=upgrade,2=download(下载),3=plugin_upgrade 7 | 8 | public String getActive_source() { 9 | return active_source; 10 | } 11 | 12 | public void setActive_source(String active_source) { 13 | this.active_source = active_source; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppActive_foreground.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 用户前台活跃 4 | */ 5 | public class AppActive_foreground { 6 | private String push_id;//推送的消息的id,如果不是从推送消息打开,传空 7 | private String access;//1.push 2.icon 3.其他 8 | 9 | public String getPush_id() { 10 | return push_id; 11 | } 12 | 13 | public void setPush_id(String push_id) { 14 | this.push_id = push_id; 15 | } 16 | 17 | public String getAccess() { 18 | return access; 19 | } 20 | 21 | public void setAccess(String access) { 22 | this.access = access; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppAd.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 广告 4 | */ 5 | public class AppAd { 6 | 7 | private String entry;//入口:商品列表页=1 应用首页=2 商品详情页=3 8 | private String action;//动作:请求广告=1 取缓存广告=2 广告位展示=3 广告展示=4 广告点击=5 9 | private String content;//状态:成功=1 失败=2 10 | private String detail;//失败码(没有则上报空) 11 | private String source;//广告来源:admob=1 facebook=2 ADX(百度)=3 VK(俄罗斯)=4 12 | private String behavior;//用户行为: 主动获取广告=1 被动获取广告=2 13 | private String newstype;//Type: 1- 图文 2-图集 3-段子 4-GIF 5-视频 6-调查 7-纯文 8-视频+图文 9-GIF+图文 0-其他 14 | private String show_style;//内容样式:无图(纯文字)=6 一张大图=1 三站小图+文=4 一张小图=2 一张大图两张小图+文=3 图集+文 = 5 15 | //一张大图+文=11 GIF大图+文=12 视频(大图)+文 = 13 16 | //来源于详情页相关推荐的商品,上报样式都为0(因为都是左文右图) 17 | 18 | public String getEntry() { 19 | return entry; 20 | } 21 | 22 | public void setEntry(String entry) { 23 | this.entry = entry; 24 | } 25 | 26 | public String getAction() { 27 | return action; 28 | } 29 | 30 | public void setAction(String action) { 31 | this.action = action; 32 | } 33 | 34 | public String getContent() { 35 | return content; 36 | } 37 | 38 | public void setContent(String content) { 39 | this.content = content; 40 | } 41 | 42 | public String getDetail() { 43 | return detail; 44 | } 45 | 46 | public void setDetail(String detail) { 47 | this.detail = detail; 48 | } 49 | 50 | public String getSource() { 51 | return source; 52 | } 53 | 54 | public void setSource(String source) { 55 | this.source = source; 56 | } 57 | 58 | public String getBehavior() { 59 | return behavior; 60 | } 61 | 62 | public void setBehavior(String behavior) { 63 | this.behavior = behavior; 64 | } 65 | 66 | public String getNewstype() { 67 | return newstype; 68 | } 69 | 70 | public void setNewstype(String newstype) { 71 | this.newstype = newstype; 72 | } 73 | 74 | public String getShow_style() { 75 | return show_style; 76 | } 77 | 78 | public void setShow_style(String show_style) { 79 | this.show_style = show_style; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppComment.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 评论 4 | */ 5 | public class AppComment { 6 | 7 | private int comment_id;//评论表 8 | private int userid;//用户id 9 | private int p_comment_id;//父级评论id(为0则是一级评论,不为0则是回复) 10 | private String content;//评论内容 11 | private String addtime;//创建时间 12 | private int other_id;//评论的相关id 13 | private int praise_count;//点赞数量 14 | private int reply_count;//回复数量 15 | 16 | public int getComment_id() { 17 | return comment_id; 18 | } 19 | 20 | public void setComment_id(int comment_id) { 21 | this.comment_id = comment_id; 22 | } 23 | 24 | public int getUserid() { 25 | return userid; 26 | } 27 | 28 | public void setUserid(int userid) { 29 | this.userid = userid; 30 | } 31 | 32 | public int getP_comment_id() { 33 | return p_comment_id; 34 | } 35 | 36 | public void setP_comment_id(int p_comment_id) { 37 | this.p_comment_id = p_comment_id; 38 | } 39 | 40 | public String getContent() { 41 | return content; 42 | } 43 | 44 | public void setContent(String content) { 45 | this.content = content; 46 | } 47 | 48 | public String getAddtime() { 49 | return addtime; 50 | } 51 | 52 | public void setAddtime(String addtime) { 53 | this.addtime = addtime; 54 | } 55 | 56 | public int getOther_id() { 57 | return other_id; 58 | } 59 | 60 | public void setOther_id(int other_id) { 61 | this.other_id = other_id; 62 | } 63 | 64 | public int getPraise_count() { 65 | return praise_count; 66 | } 67 | 68 | public void setPraise_count(int praise_count) { 69 | this.praise_count = praise_count; 70 | } 71 | 72 | public int getReply_count() { 73 | return reply_count; 74 | } 75 | 76 | public void setReply_count(int reply_count) { 77 | this.reply_count = reply_count; 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppDisplay.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 商品点击日志 4 | */ 5 | public class AppDisplay { 6 | 7 | private String action;//动作:曝光商品=1,点击商品=2, 8 | private String goodsid;//商品ID(服务端下发的ID) 9 | private String place;//顺序(第几条商品,第一条为0,第二条为1,如此类推) 10 | private String extend1;//曝光类型:1 - 首次曝光 2-重复曝光(没有使用) 11 | private String category;//分类ID(服务端定义的分类ID) 12 | 13 | public String getAction() { 14 | return action; 15 | } 16 | 17 | public void setAction(String action) { 18 | this.action = action; 19 | } 20 | 21 | public String getGoodsid() { 22 | return goodsid; 23 | } 24 | 25 | public void setGoodsid(String goodsid) { 26 | this.goodsid = goodsid; 27 | } 28 | 29 | public String getPlace() { 30 | return place; 31 | } 32 | 33 | public void setPlace(String place) { 34 | this.place = place; 35 | } 36 | 37 | public String getExtend1() { 38 | return extend1; 39 | } 40 | 41 | public void setExtend1(String extend1) { 42 | this.extend1 = extend1; 43 | } 44 | 45 | public String getCategory() { 46 | return category; 47 | } 48 | 49 | public void setCategory(String category) { 50 | this.category = category; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppErrorLog.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 错误日志 4 | */ 5 | public class AppErrorLog { 6 | 7 | private String errorBrief; //错误摘要 8 | private String errorDetail; //错误详情 9 | 10 | public String getErrorBrief() { 11 | return errorBrief; 12 | } 13 | 14 | public void setErrorBrief(String errorBrief) { 15 | this.errorBrief = errorBrief; 16 | } 17 | 18 | public String getErrorDetail() { 19 | return errorDetail; 20 | } 21 | 22 | public void setErrorDetail(String errorDetail) { 23 | this.errorDetail = errorDetail; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppFavorites.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 收藏 4 | */ 5 | public class AppFavorites { 6 | private int id;//主键 7 | private int course_id;//商品id 8 | private int userid;//用户ID 9 | private String add_time;//创建时间 10 | 11 | public int getId() { 12 | return id; 13 | } 14 | 15 | public void setId(int id) { 16 | this.id = id; 17 | } 18 | 19 | public int getCourse_id() { 20 | return course_id; 21 | } 22 | 23 | public void setCourse_id(int course_id) { 24 | this.course_id = course_id; 25 | } 26 | 27 | public int getUserid() { 28 | return userid; 29 | } 30 | 31 | public void setUserid(int userid) { 32 | this.userid = userid; 33 | } 34 | 35 | public String getAdd_time() { 36 | return add_time; 37 | } 38 | 39 | public void setAdd_time(String add_time) { 40 | this.add_time = add_time; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppLoading.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 商品列表 4 | */ 5 | public class AppLoading { 6 | private String action;//动作:开始加载=1,加载成功=2,加载失败=3 7 | private String loading_time;//加载时长:计算下拉开始到接口返回数据的时间,(开始加载报0,加载成功或加载失败才上报时间) 8 | private String loading_way;//加载类型:1-读取缓存,2-从接口拉新数据 (加载成功才上报加载类型) 9 | private String extend1;//扩展字段 Extend1 10 | private String extend2;//扩展字段 Extend2 11 | private String type;//加载类型:自动加载=1,用户下拽加载=2,底部加载=3(底部条触发点击底部提示条/点击返回顶部加载) 12 | private String type1;//加载失败码:把加载失败状态码报回来(报空为加载成功,没有失败) 13 | 14 | public String getAction() { 15 | return action; 16 | } 17 | 18 | public void setAction(String action) { 19 | this.action = action; 20 | } 21 | 22 | public String getLoading_time() { 23 | return loading_time; 24 | } 25 | 26 | public void setLoading_time(String loading_time) { 27 | this.loading_time = loading_time; 28 | } 29 | 30 | public String getLoading_way() { 31 | return loading_way; 32 | } 33 | 34 | public void setLoading_way(String loading_way) { 35 | this.loading_way = loading_way; 36 | } 37 | 38 | public String getExtend1() { 39 | return extend1; 40 | } 41 | 42 | public void setExtend1(String extend1) { 43 | this.extend1 = extend1; 44 | } 45 | 46 | public String getExtend2() { 47 | return extend2; 48 | } 49 | 50 | public void setExtend2(String extend2) { 51 | this.extend2 = extend2; 52 | } 53 | 54 | public String getType() { 55 | return type; 56 | } 57 | 58 | public void setType(String type) { 59 | this.type = type; 60 | } 61 | 62 | public String getType1() { 63 | return type1; 64 | } 65 | 66 | public void setType1(String type1) { 67 | this.type1 = type1; 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppNewsDetail.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 商品详情 4 | */ 5 | public class AppNewsDetail { 6 | 7 | private String entry;//页面入口来源:应用首页=1、push=2、详情页相关推荐=3 8 | private String action;//动作:开始加载=1,加载成功=2(pv),加载失败=3, 退出页面=4 9 | private String goodsid;//商品ID(服务端下发的ID) 10 | private String showtype;//商品样式:0、无图1、一张大图2、两张图3、三张小图4、一张小图5、一张大图两张小图 来源于详情页相关推荐的商品,上报样式都为0(因为都是左文右图) 11 | private String news_staytime;//页面停留时长:从商品开始加载时开始计算,到用户关闭页面所用的时间。若中途用跳转到其它页面了,则暂停计时,待回到详情页时恢复计时。或中途划出的时间超过10分钟,则本次计时作废,不上报本次数据。如未加载成功退出,则报空。 12 | private String loading_time;//加载时长:计算页面开始加载到接口返回数据的时间 (开始加载报0,加载成功或加载失败才上报时间) 13 | private String type1;//加载失败码:把加载失败状态码报回来(报空为加载成功,没有失败) 14 | private String category;//分类ID(服务端定义的分类ID) 15 | 16 | public String getEntry() { 17 | return entry; 18 | } 19 | 20 | public void setEntry(String entry) { 21 | this.entry = entry; 22 | } 23 | 24 | public String getAction() { 25 | return action; 26 | } 27 | 28 | public void setAction(String action) { 29 | this.action = action; 30 | } 31 | 32 | public String getGoodsid() { 33 | return goodsid; 34 | } 35 | 36 | public void setGoodsid(String goodsid) { 37 | this.goodsid = goodsid; 38 | } 39 | 40 | public String getShowtype() { 41 | return showtype; 42 | } 43 | 44 | public void setShowtype(String showtype) { 45 | this.showtype = showtype; 46 | } 47 | 48 | public String getNews_staytime() { 49 | return news_staytime; 50 | } 51 | 52 | public void setNews_staytime(String news_staytime) { 53 | this.news_staytime = news_staytime; 54 | } 55 | 56 | public String getLoading_time() { 57 | return loading_time; 58 | } 59 | 60 | public void setLoading_time(String loading_time) { 61 | this.loading_time = loading_time; 62 | } 63 | 64 | public String getType1() { 65 | return type1; 66 | } 67 | 68 | public void setType1(String type1) { 69 | this.type1 = type1; 70 | } 71 | 72 | public String getCategory() { 73 | return category; 74 | } 75 | 76 | public void setCategory(String category) { 77 | this.category = category; 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppNotification.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 消息通知日志 4 | */ 5 | public class AppNotification { 6 | private String action;//动作:通知产生=1,通知弹出=2,通知点击=3,常驻通知展示(不重复上报,一天之内只报一次)=4 7 | private String type;//通知id:预警通知=1,天气预报(早=2,晚=3),常驻=4 8 | private String ap_time;//客户端弹出时间 9 | private String content;//备用字段 10 | 11 | public String getAction() { 12 | return action; 13 | } 14 | 15 | public void setAction(String action) { 16 | this.action = action; 17 | } 18 | 19 | public String getType() { 20 | return type; 21 | } 22 | 23 | public void setType(String type) { 24 | this.type = type; 25 | } 26 | 27 | public String getAp_time() { 28 | return ap_time; 29 | } 30 | 31 | public void setAp_time(String ap_time) { 32 | this.ap_time = ap_time; 33 | } 34 | 35 | public String getContent() { 36 | return content; 37 | } 38 | 39 | public void setContent(String content) { 40 | this.content = content; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppPraise.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 点赞 4 | */ 5 | public class AppPraise { 6 | private int id; //主键id 7 | private int userid;//用户id 8 | private int target_id;//点赞的对象id 9 | private int type;//点赞类型 1问答点赞 2问答评论点赞 3 文章点赞数4 评论点赞 10 | private String add_time;//添加时间 11 | 12 | public int getId() { 13 | return id; 14 | } 15 | 16 | public void setId(int id) { 17 | this.id = id; 18 | } 19 | 20 | public int getUserid() { 21 | return userid; 22 | } 23 | 24 | public void setUserid(int userid) { 25 | this.userid = userid; 26 | } 27 | 28 | public int getTarget_id() { 29 | return target_id; 30 | } 31 | 32 | public void setTarget_id(int target_id) { 33 | this.target_id = target_id; 34 | } 35 | 36 | public int getType() { 37 | return type; 38 | } 39 | 40 | public void setType(int type) { 41 | this.type = type; 42 | } 43 | 44 | public String getAdd_time() { 45 | return add_time; 46 | } 47 | 48 | public void setAdd_time(String add_time) { 49 | this.add_time = add_time; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /log-collector/src/main/java/com/atguigu/bean/AppStart.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.bean; 2 | /** 3 | * 启动日志 4 | */ 5 | public class AppStart extends AppBase { 6 | 7 | private String entry;//入口: push=1,widget=2,icon=3,notification=4, lockscreen_widget =5 8 | private String open_ad_type;//开屏广告类型: 开屏原生广告=1, 开屏插屏广告=2 9 | private String action;//状态:成功=1 失败=2 10 | private String loading_time;//加载时长:计算下拉开始到接口返回数据的时间,(开始加载报0,加载成功或加载失败才上报时间) 11 | private String detail;//失败码(没有则上报空) 12 | private String extend1;//失败的message(没有则上报空) 13 | private String en;//启动日志类型标记 14 | 15 | public String getEntry() { 16 | return entry; 17 | } 18 | 19 | public void setEntry(String entry) { 20 | this.entry = entry; 21 | } 22 | 23 | public String getOpen_ad_type() { 24 | return open_ad_type; 25 | } 26 | 27 | public void setOpen_ad_type(String open_ad_type) { 28 | this.open_ad_type = open_ad_type; 29 | } 30 | 31 | public String getAction() { 32 | return action; 33 | } 34 | 35 | public void setAction(String action) { 36 | this.action = action; 37 | } 38 | 39 | public String getLoading_time() { 40 | return loading_time; 41 | } 42 | 43 | public void setLoading_time(String loading_time) { 44 | this.loading_time = loading_time; 45 | } 46 | 47 | public String getDetail() { 48 | return detail; 49 | } 50 | 51 | public void setDetail(String detail) { 52 | this.detail = detail; 53 | } 54 | 55 | public String getExtend1() { 56 | return extend1; 57 | } 58 | 59 | public void setExtend1(String extend1) { 60 | this.extend1 = extend1; 61 | } 62 | 63 | public String getEn() { 64 | return en; 65 | } 66 | 67 | public void setEn(String en) { 68 | this.en = en; 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /log-collector/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 11 | 12 | %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n 13 | 14 | 15 | 16 | 17 | 19 | 20 | 22 | 23 | ${LOG_HOME}/app-%d{yyyy-MM-dd}.log 24 | 25 | 30 26 | 27 | 29 | %msg%n 30 | 31 | 32 | 34 | 10MB 35 | 36 | 37 | 38 | 39 | 40 | 41 | 0 42 | 43 | 512 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/appclient/AppMain.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/appclient/AppMain.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppActive_background.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppActive_background.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppActive_foreground.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppActive_foreground.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppAd.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppAd.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppBase.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppBase.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppComment.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppComment.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppDisplay.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppDisplay.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppErrorLog.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppErrorLog.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppFavorites.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppFavorites.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppLoading.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppLoading.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppNewsDetail.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppNewsDetail.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppNotification.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppNotification.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppPraise.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppPraise.class -------------------------------------------------------------------------------- /log-collector/target/classes/com/atguigu/bean/AppStart.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/classes/com/atguigu/bean/AppStart.class -------------------------------------------------------------------------------- /log-collector/target/classes/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 11 | 12 | %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n 13 | 14 | 15 | 16 | 17 | 19 | 20 | 22 | 23 | ${LOG_HOME}/app-%d{yyyy-MM-dd}.log 24 | 25 | 30 26 | 27 | 29 | %msg%n 30 | 31 | 32 | 34 | 10MB 35 | 36 | 37 | 38 | 39 | 40 | 41 | 0 42 | 43 | 512 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /log-collector/target/log-collector-1.0-SNAPSHOT-jar-with-dependencies.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/log-collector-1.0-SNAPSHOT-jar-with-dependencies.jar -------------------------------------------------------------------------------- /log-collector/target/log-collector-1.0-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/log-collector/target/log-collector-1.0-SNAPSHOT.jar -------------------------------------------------------------------------------- /log-collector/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven 2 | #Thu Apr 18 15:12:53 CST 2019 3 | version=1.0-SNAPSHOT 4 | groupId=com.atguigu 5 | artifactId=log-collector 6 | -------------------------------------------------------------------------------- /mysql/函数脚本.sql: -------------------------------------------------------------------------------- 1 | DELIMITER $$ 2 | 3 | DROP FUNCTION IF EXISTS `rand_num`$$ 4 | ##得到 from_num到to_num的整数 ,前包后包 5 | CREATE DEFINER=`root`@`localhost` FUNCTION `rand_num`(from_num INT ,to_num INT) RETURNS INT(11) 6 | BEGIN 7 | DECLARE i INT DEFAULT 0; 8 | SET i = FLOOR(from_num +RAND()*(to_num -from_num+1)) ; 9 | RETURN i; 10 | END$$ 11 | 12 | DELIMITER ; 13 | 14 | DELIMITER $$ 15 | 16 | DROP FUNCTION IF EXISTS `rand_num_seed`$$ 17 | 18 | CREATE DEFINER=`root`@`localhost` FUNCTION `rand_num_seed`(from_num INT ,to_num INT,seed LONG ) RETURNS INT(11) 19 | BEGIN 20 | DECLARE i INT DEFAULT 0; 21 | SET i = FLOOR(from_num +RAND(seed+UNIX_TIMESTAMP(NOW()))*(to_num -from_num+1)) ; 22 | RETURN i; 23 | END$$ 24 | 25 | DELIMITER ; 26 | 27 | 28 | DELIMITER $$ 29 | 30 | 31 | DROP FUNCTION IF EXISTS `rand_nums`$$ 32 | ##随机产生多个数字用分隔符分开 33 | CREATE DEFINER=`root`@`localhost` FUNCTION `rand_nums`(from_num INT ,to_num INT,n INT ,delemit VARCHAR(20)) RETURNS VARCHAR(255) CHARSET utf8 34 | BEGIN 35 | DECLARE i INT DEFAULT 0; 36 | DECLARE v INT DEFAULT 0; 37 | DECLARE return_str VARCHAR(255) DEFAULT ''; 38 | WHILE i < n DO 39 | SET v = rand_num (from_num ,to_num ) ; 40 | SET return_str=CONCAT(return_str,v); 41 | IF LENGTH(return_str)>0 THEN 42 | SET return_str=CONCAT(return_str,delemit) ; 43 | END IF; 44 | SET i = i + 1; 45 | END WHILE; 46 | RETURN return_str; 47 | END$$ 48 | 49 | DELIMITER ; 50 | 51 | 52 | DELIMITER $$ 53 | 54 | DROP FUNCTION IF EXISTS `rand_string`$$ 55 | 56 | CREATE DEFINER=`root`@`localhost` FUNCTION `rand_string`(n INT) RETURNS VARCHAR(255) CHARSET utf8 57 | BEGIN 58 | DECLARE chars_str VARCHAR(100) DEFAULT 'abcdefghijklmnopqrstuvwxyzABCDEFJHIJKLMNOPQRSTUVWXYZ'; 59 | DECLARE return_str VARCHAR(255) DEFAULT ''; 60 | DECLARE i INT DEFAULT 0; 61 | WHILE i < n DO 62 | SET return_str =CONCAT(return_str,SUBSTRING(chars_str,FLOOR(1+RAND()*52),1)); 63 | SET i = i + 1; 64 | END WHILE; 65 | RETURN return_str; 66 | END$$ 67 | 68 | DELIMITER ; -------------------------------------------------------------------------------- /shell/ads/ads_back_log.sh: -------------------------------------------------------------------------------- 1 | #回流用户 2 | 3 | #!/bin/bash 4 | 5 | # 定义变量方便修改 6 | APP=gmall 7 | hive=/opt/apps/hive/bin/hive 8 | 9 | # 如果是输入的日期按照取输入日期;如果没输入日期取当前时间的前一天 10 | if [ -n "$1" ] ;then 11 | do_date=$1 12 | else 13 | do_date=`date -d "-1 day" +%F` 14 | fi 15 | 16 | sql=" 17 | insert overwrite table "$APP".ads_back_count 18 | select 19 | '$do_date', 20 | concat(date_add(next_day('$do_date','mo'),-7),'_',date_add(next_day('$do_date','mo'),-1)), 21 | count(*) 22 | from 23 | ( 24 | select 25 | t1.mid_id 26 | from 27 | ( 28 | select 29 | * 30 | from 31 | "$APP".dws_uv_detail_wk 32 | where 33 | dt=concat(date_add(next_day('$do_date','mo'),-7),'_',date_add(next_day('$do_date','mo'),-1)) 34 | ) t1 left join 35 | ( 36 | select 37 | * 38 | from 39 | "$APP".dws_uv_detail_wk 40 | where 41 | dt=concat(date_add(next_day('$do_date','mo'),-14),'_',date_add(next_day('$do_date','mo'),-8)) 42 | ) t2 on t1.mid_id = t2.mid_id left join 43 | ( 44 | select 45 | * 46 | from 47 | "$APP".dws_new_mid_day 48 | where 49 | create_date>=date_add(next_day('$do_date','mo'),-7) and create_date<=date_add(next_day('$do_date','mo'),-1) 50 | ) t3 on t1.mid_id = t3.mid_id 51 | where 52 | t2.mid_id is null and t3.mid_id is null 53 | ) t1; 54 | " 55 | 56 | $hive -e "$sql" -------------------------------------------------------------------------------- /shell/ads/ads_continuity_log.sh: -------------------------------------------------------------------------------- 1 | # ADS层加载最近七天连续活跃三天用户数据 2 | 3 | #!/bin/bash 4 | 5 | # 定义变量方便修改 6 | APP=gmall 7 | hive=/opt/apps/hive/bin/hive 8 | 9 | # 如果是输入的日期按照取输入日期;如果没输入日期取当前时间的前一天 10 | if [ -n "$1" ] ;then 11 | do_date=$1 12 | else 13 | do_date=`date -d "-1 day" +%F` 14 | fi 15 | 16 | 17 | sql=" 18 | insert overwrite table "$APP".ads_continuity_uv_count 19 | select 20 | '$do_date', 21 | concat(date_add(next_day('$do_date','mo'),-7-7*2),'_',date_add(next_day('$do_date','mo'),-1)), 22 | count(*) 23 | from 24 | ( 25 | select 26 | mid_id 27 | from 28 | ( 29 | select 30 | mid_id 31 | from 32 | ( 33 | select 34 | mid_id, 35 | date_sub(dt,rank_) date_dif 36 | from 37 | ( 38 | select 39 | mid_id, 40 | dt, 41 | rank() over(partition by mid_id order by dt) rank_ 42 | from 43 | "$APP".dws_uv_detail_day 44 | where 45 | dt>=date_add('$do_date',-7) and dt<='$do_date' 46 | ) t1 47 | ) t2 48 | group by mid_id,date_dif having count(*)>=3 49 | ) t3 50 | group by 51 | mid_id 52 | ) t4; 53 | " 54 | 55 | $hive -e "$sql" -------------------------------------------------------------------------------- /shell/ads/ads_continuity_wk_log.sh: -------------------------------------------------------------------------------- 1 | # 最近三周活跃用户数据 2 | 3 | #!/bin/bash 4 | 5 | # 定义变量方便修改 6 | APP=gmall 7 | hive=/opt/apps/hive/bin/hive 8 | 9 | # 如果是输入的日期按照取输入日期;如果没输入日期取当前时间的前一天 10 | if [ -n "$1" ] ;then 11 | do_date=$1 12 | else 13 | do_date=`date -d "-1 day" +%F` 14 | fi 15 | 16 | 17 | sql=" 18 | insert overwrite table "$APP".ads_continuity_wk_count 19 | select 20 | '$do_date', 21 | concat(date_add(next_day('$do_date','mo'),-7-7*2),'_',date_add(next_day('$do_date','mo'),-1)), 22 | count(*) 23 | from 24 | ( 25 | select 26 | mid_id 27 | from 28 | "$APP".dws_uv_detail_wk 29 | where 30 | dt>=concat(date_add(next_day('$do_date','mo'),-7-7*2),'_',date_add(next_day('$do_date','mo'),-1-7*2)) 31 | and 32 | dt<=concat(date_add(next_day('$do_date','mo'),-7),'_',date_add(next_day('$do_date','mo'),-1)) 33 | group by 34 | mid_id 35 | having 36 | count(*)=3 37 | ) t1; 38 | " 39 | 40 | $hive -e "$sql" 41 | -------------------------------------------------------------------------------- /shell/ads/ads_db_gmv.sh: -------------------------------------------------------------------------------- 1 | #GMV分析 2 | 3 | #!/bin/bash 4 | 5 | # 定义变量方便修改 6 | APP=gmall 7 | hive=/opt/apps/hive/bin/hive 8 | 9 | # 如果是输入的日期按照取输入日期;如果没输入日期取当前时间的前一天 10 | if [ -n "$1" ] ;then 11 | do_date=$1 12 | else 13 | do_date=`date -d "-1 day" +%F` 14 | fi 15 | 16 | sql=" 17 | insert overwrite table "$APP".ads_gmv_sum_day 18 | select 19 | '$do_date' dt, 20 | sum(order_count) gmv_count, 21 | sum(order_amount) gmv_amount, 22 | sum(payment_amount) gmv_payment 23 | from 24 | "$APP".dws_user_action 25 | where 26 | dt='$do_date' 27 | group by dt; 28 | " 29 | 30 | $hive -e "$sql" 31 | -------------------------------------------------------------------------------- /shell/ads/ads_slient_log.sh: -------------------------------------------------------------------------------- 1 | # ADS层加载沉默用户数据 2 | 3 | #!/bin/bash 4 | 5 | # 定义变量方便修改 6 | APP=gmall 7 | hive=/opt/apps/hive/bin/hive 8 | 9 | # 如果是输入的日期按照取输入日期;如果没输入日期取当前时间的前一天 10 | if [ -n "$1" ] ;then 11 | do_date=$1 12 | else 13 | do_date=`date -d "-1 day" +%F` 14 | fi 15 | 16 | 17 | sql=" 18 | insert overwrite table "$APP".ads_slient_count 19 | select 20 | '$do_date' dt, 21 | count(*) slient_count 22 | from 23 | select 24 | mid_id 25 | from 26 | "$APP".dws_uv_detail_day 27 | where 28 | dt<'$do_date' 29 | group by 30 | mid_id 31 | having 32 | min(dt)/opt/apps/flume/producers_log.txt 2>&1 &" 11 | done 12 | };; 13 | "stop"){ 14 | for i in RuHuTian worker1 15 | do 16 | echo " --------停止 $i 采集flume-------" 17 | ssh $i "ps -ef | grep java | grep flume |awk '{print \$2}' | xargs kill" 18 | done 19 | 20 | };; 21 | esac 22 | -------------------------------------------------------------------------------- /shell/tools/f2.sh: -------------------------------------------------------------------------------- 1 | #启动消费flume脚本 2 | 3 | #! /bin/bash 4 | 5 | case $1 in 6 | "start"){ 7 | for i in worker2 8 | do 9 | echo " --------启动 $i 消费flume-------" 10 | ssh $i "nohup /opt/apps/flume/bin/flume-ng agent --conf-file /opt/apps/flume/conf/kafka-flume-hdfs.conf --name a1 -Dflume.root.logger=INFO,LOGFILE >/opt/apps/flume/Consumers_log.txt 2>&1 &" 11 | done 12 | };; 13 | "stop"){ 14 | for i in worker2 15 | do 16 | echo " --------停止 $i 消费flume-------" 17 | ssh $i "ps -ef | grep java | grep flume |awk '{print \$2}' | xargs kill" 18 | done 19 | 20 | };; 21 | esac 22 | -------------------------------------------------------------------------------- /shell/tools/hv.sh: -------------------------------------------------------------------------------- 1 | #启动hive metastore服务脚本 2 | #! /bin/bash 3 | 4 | case $1 in 5 | "start"){ 6 | for i in RuHuTian 7 | do 8 | echo " --------启动 $i hive-------" 9 | #启动hive metastore服务 10 | ssh $i "hive --service metastore & 2>&1 >/dev/null" 11 | done 12 | };; 13 | "stop"){ 14 | for i in RuHuTian 15 | do 16 | echo " --------停止 $i hive-------" 17 | ssh $i "ps -ef | grep metastore | grep HiveMetaStore |awk '{print \$2}' | xargs kill" 18 | done 19 | };; 20 | esac 21 | -------------------------------------------------------------------------------- /shell/tools/kf.sh: -------------------------------------------------------------------------------- 1 | #群起kafka脚本 2 | #! /bin/bash 3 | 4 | case $1 in 5 | "start"){ 6 | for i in RuHuTian worker1 worker2 7 | do 8 | echo " --------启动 $i Kafka-------" 9 | # 用于KafkaManager监控 10 | ssh $i "export JMX_PORT=9988 && /opt/apps/kafka/bin/kafka-server-start.sh -daemon /opt/apps/kafka/config/server.properties " 11 | done 12 | };; 13 | "stop"){ 14 | for i in RuHuTian worker1 worker2 15 | do 16 | echo " --------停止 $i Kafka-------" 17 | ssh $i "/opt/apps/kafka/bin/kafka-server-stop.sh stop" 18 | done 19 | };; 20 | esac 21 | -------------------------------------------------------------------------------- /shell/tools/km.sh: -------------------------------------------------------------------------------- 1 | #启动Kafka Manager脚本 2 | 3 | #! /bin/bash 4 | 5 | case $1 in 6 | "start"){ 7 | echo " -------- 启动 KafkaManager -------" 8 | nohup /opt/apps/kafka-manager-1.3.3.22/bin/kafka-manager -Dhttp.port=7456 >start.log 2>&1 & 9 | };; 10 | "stop"){ 11 | echo " -------- 停止 KafkaManager -------" 12 | ps -ef | grep ProdServerStart | grep -v grep |awk '{print $2}' | xargs kill 13 | };; 14 | esac 15 | -------------------------------------------------------------------------------- /shell/tools/lg.sh: -------------------------------------------------------------------------------- 1 | #生成日志文件 2 | #! /bin/bash 3 | for i in RuHuTian worker1 4 | do 5 | ssh $i "java -classpath /opt/software/log-collector-1.0-SNAPSHOT-jar-with-dependencies.jar com.atguigu.appclient.AppMain $1 $2 >/opt/apps/test.log &" 6 | done 7 | -------------------------------------------------------------------------------- /shell/tools/zk.sh: -------------------------------------------------------------------------------- 1 | #群启zookeeper脚本 2 | 3 | #! /bin/bash 4 | 5 | case $1 in 6 | "start"){ 7 | for i in RuHuTian worker1 worker2 8 | do 9 | ssh $i "/opt/apps/zookeeper/bin/zkServer.sh start" 10 | done 11 | };; 12 | "stop"){ 13 | for i in RuHuTian worker1 worker2 14 | do 15 | ssh $i "/opt/apps/zookeeper/bin/zkServer.sh stop" 16 | done 17 | };; 18 | "status"){ 19 | for i in RuHuTian worker1 worker2 20 | do 21 | ssh $i "/opt/apps/zookeeper/bin/zkServer.sh status" 22 | done 23 | };; 24 | esac 25 | -------------------------------------------------------------------------------- /shell/utils/xcall.sh: -------------------------------------------------------------------------------- 1 | #集群执行统一命令脚本 2 | 3 | #! /bin/bash 4 | for i in RuHuTian worker1 worker2 5 | do 6 | echo --------- $i ---------- 7 | ssh $i "$*" 8 | done 9 | -------------------------------------------------------------------------------- /shell/utils/xsync: -------------------------------------------------------------------------------- 1 | #集群分发文件脚本 2 | 3 | #!/bin/bash 4 | #1 获取输入参数个数,如果没有参数,直接退出 5 | pcount=$# 6 | if((pcount==0)); then 7 | echo no args; 8 | exit; 9 | fi 10 | 11 | #2 获取文件名称 12 | p1=$1 13 | fname=`basename $p1` 14 | echo fname=$fname 15 | 16 | #3 获取上级目录到绝对路径 17 | pdir=`cd -P $(dirname $p1); pwd` 18 | echo pdir=$pdir 19 | 20 | #4 获取当前用户名称 21 | user=`whoami` 22 | 23 | #5 循环 24 | for((host=1; host<3; host++)); do 25 | echo ------------------- worker$host -------------- 26 | rsync -rvl $pdir/$fname $user@worker$host:$pdir 27 | done 28 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### Example user template template 3 | ### Example user template 4 | 5 | # IntelliJ project files 6 | .idea 7 | *.iml 8 | out 9 | gen 10 | mvnw 11 | mvnw.cmd 12 | target 13 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/README.md: -------------------------------------------------------------------------------- 1 | Spring Boot + Echarts通过Ajax实现动态数据加载 -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 2 | 3 | spring.datasource.driver-class-name=com.mysql.jdbc.Driver 4 | spring.datasource.url=jdbc:mysql://RuHuTian:3306/gmall?useUnicode=true&characterEncoding=utf8 5 | spring.datasource.username=root 6 | spring.datasource.password=7955102 7 | # 8 | # 9 | spring.devtools.restart.enabled=true 10 | mybatis.type-aliases-package=com.demo.model 11 | mybatis.mapper-locations=classpath:mapper/*.xml 12 | 13 | # 14 | 15 | spring.thymeleaf.cache=false 16 | 17 | ## 检查模板是否存在,然后再呈现 18 | 19 | spring.thymeleaf.check-template-location=true 20 | 21 | #Content-Type值 22 | 23 | spring.thymeleaf.content-type=text/html 24 | 25 | #启用MVC Thymeleaf视图分辨率 26 | 27 | spring.thymeleaf.enabled=true 28 | 29 | ## 应该从解决方案中排除的视图名称的逗号分隔列表 30 | 31 | ##spring.thymeleaf.excluded-view-names= 32 | 33 | #模板编码 34 | 35 | spring.thymeleaf.mode=LEGACYHTML5 36 | 37 | # 在构建URL时预先查看名称的前缀 38 | 39 | spring.thymeleaf.prefix=classpath:/templates/ 40 | 41 | # 构建URL时附加查看名称的后缀. 42 | 43 | spring.thymeleaf.suffix=.html 44 | 45 | # 链中模板解析器的顺序 46 | 47 | #spring.thymeleaf.template-resolver-order= o 48 | 49 | # 可以解析的视图名称的逗号分隔列表 50 | 51 | #spring.thymeleaf.view-names= 52 | 53 | #thymeleaf end -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/DemoApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/DemoApplication.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/controller/ActiveController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/controller/ActiveController.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/controller/IndexController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/controller/IndexController.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/mapper/ActiveDataMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/mapper/ActiveDataMapper.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/mapper/IndexMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/mapper/IndexMapper.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/ActiveData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/ActiveData.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/ActiveTotalData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/ActiveTotalData.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/ConvertData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/ConvertData.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/GMVOrder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/GMVOrder.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/Index.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/Index.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/MapData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/MapData.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/RetainData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/model/RetainData.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/service/ActiveDataService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/service/ActiveDataService.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/service/IndexService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/service/IndexService.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/service/impl/ActiveDataServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/service/impl/ActiveDataServiceImpl.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/service/impl/IndexServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/service/impl/IndexServiceImpl.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/utils/GetDate.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/utils/GetDate.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/utils/HttpClientUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/com/demo/utils/HttpClientUtil.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/config/config.properties: -------------------------------------------------------------------------------- 1 | my.totalUrl=http://192.168.1.73:8080/realtime-total 2 | my.hourUrl=http://192.168.1.73:8080/realtime-hours 3 | my.esDataUrl=http://192.168.1.73:8080/sale_detail 4 | my.sexUrl=http://192.168.1.73:8080/realtime-hours -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/mapper/IndexMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 14 | 15 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/font-awesome/fonts/fontawesome-webfontba72.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/font-awesome/fonts/fontawesome-webfontba72.eot -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/font-awesome/fonts/fontawesome-webfontba72.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/font-awesome/fonts/fontawesome-webfontba72.ttf -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/font-awesome/fonts/fontawesome-webfontba72.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/font-awesome/fonts/fontawesome-webfontba72.woff -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/font-awesome/fonts/fontawesome-webfontd41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/font-awesome/fonts/fontawesome-webfontd41d.eot -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/fonts/glyphicons-halflings-regulard41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/fonts/glyphicons-halflings-regulard41d.eot -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/js/easypiechart-data.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $('#easypiechart-teal').easyPieChart({ 3 | scaleColor: false, 4 | barColor: '#1ebfae' 5 | }); 6 | }); 7 | 8 | $(function() { 9 | $('#easypiechart-orange').easyPieChart({ 10 | scaleColor: false, 11 | barColor: '#ffb53e' 12 | }); 13 | }); 14 | 15 | $(function() { 16 | $('#easypiechart-red').easyPieChart({ 17 | scaleColor: false, 18 | barColor: '#f9243f' 19 | }); 20 | }); 21 | 22 | $(function() { 23 | $('#easypiechart-blue').easyPieChart({ 24 | scaleColor: false, 25 | barColor: '#30a5ff' 26 | }); 27 | }); 28 | 29 | $('#calendar').datepicker({ 30 | }); 31 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/js/jquery.metisMenu.js: -------------------------------------------------------------------------------- 1 | ;(function ($, window, document, undefined) { 2 | 3 | var pluginName = "metisMenu", 4 | defaults = { 5 | toggle: true 6 | }; 7 | 8 | function Plugin(element, options) { 9 | this.element = element; 10 | this.settings = $.extend({}, defaults, options); 11 | this._defaults = defaults; 12 | this._name = pluginName; 13 | this.init(); 14 | } 15 | 16 | Plugin.prototype = { 17 | init: function () { 18 | 19 | var $this = $(this.element), 20 | $toggle = this.settings.toggle; 21 | 22 | $this.find('li.active').has('ul').children('ul').addClass('collapse in'); 23 | $this.find('li').not('.active').has('ul').children('ul').addClass('collapse'); 24 | 25 | $this.find('li').has('ul').children('a').on('click', function (e) { 26 | e.preventDefault(); 27 | 28 | $(this).parent('li').toggleClass('active').children('ul').collapse('toggle'); 29 | 30 | if ($toggle) { 31 | $(this).parent('li').siblings().removeClass('active').children('ul.in').collapse('hide'); 32 | } 33 | }); 34 | } 35 | }; 36 | 37 | $.fn[ pluginName ] = function (options) { 38 | return this.each(function () { 39 | if (!$.data(this, "plugin_" + pluginName)) { 40 | $.data(this, "plugin_" + pluginName, new Plugin(this, options)); 41 | } 42 | }); 43 | }; 44 | 45 | })(jQuery, window, document); 46 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/classes/static/assets/js/morris/morris-0.4.3.min.css: -------------------------------------------------------------------------------- 1 | .morris-hover{position:absolute;z-index:1000;}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;} 2 | .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;} -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/classmate-1.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/classmate-1.3.4.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/commons-codec-1.10.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/commons-codec-1.10.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/fastjson-1.2.47.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/fastjson-1.2.47.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/groovy-2.4.15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/groovy-2.4.15.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/hibernate-validator-5.3.6.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/hibernate-validator-5.3.6.Final.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/httpclient-4.5.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/httpclient-4.5.5.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/httpcore-4.4.10.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/httpcore-4.4.10.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jackson-annotations-2.8.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jackson-annotations-2.8.0.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jackson-core-2.8.11.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jackson-core-2.8.11.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jackson-databind-2.8.11.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jackson-databind-2.8.11.2.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/javassist-3.21.0-GA.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/javassist-3.21.0-GA.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jboss-logging-3.3.2.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jboss-logging-3.3.2.Final.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jul-to-slf4j-1.7.25.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/jul-to-slf4j-1.7.25.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/log4j-over-slf4j-1.7.25.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/log4j-over-slf4j-1.7.25.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/logback-classic-1.1.11.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/logback-classic-1.1.11.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/logback-core-1.1.11.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/logback-core-1.1.11.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mybatis-3.4.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mybatis-3.4.6.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mybatis-spring-1.3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mybatis-spring-1.3.2.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mybatis-spring-boot-autoconfigure-1.3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mybatis-spring-boot-autoconfigure-1.3.2.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mybatis-spring-boot-starter-1.3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mybatis-spring-boot-starter-1.3.2.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mysql-connector-java-5.1.47.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/mysql-connector-java-5.1.47.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/nekohtml-1.9.22.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/nekohtml-1.9.22.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/ognl-3.0.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/ognl-3.0.8.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/slf4j-api-1.7.25.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/slf4j-api-1.7.25.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/snakeyaml-1.17.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/snakeyaml-1.17.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-aop-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-aop-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-beans-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-beans-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-autoconfigure-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-autoconfigure-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-devtools-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-devtools-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-jdbc-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-jdbc-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-logging-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-logging-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-thymeleaf-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-thymeleaf-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-tomcat-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-tomcat-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-web-1.5.17.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-boot-starter-web-1.5.17.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-context-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-context-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-core-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-core-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-expression-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-expression-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-jdbc-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-jdbc-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-tx-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-tx-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-web-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-web-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-webmvc-4.3.20.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/spring-webmvc-4.3.20.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/thymeleaf-2.1.6.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/thymeleaf-2.1.6.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/thymeleaf-layout-dialect-1.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/thymeleaf-layout-dialect-1.4.0.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/thymeleaf-spring4-2.1.6.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/thymeleaf-spring4-2.1.6.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-annotations-api-8.5.34.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-annotations-api-8.5.34.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-embed-core-8.5.34.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-embed-core-8.5.34.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-embed-el-8.5.34.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-embed-el-8.5.34.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-embed-websocket-8.5.34.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-embed-websocket-8.5.34.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-jdbc-8.5.34.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-jdbc-8.5.34.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-juli-8.5.34.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/tomcat-juli-8.5.34.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/unbescape-1.1.0.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/unbescape-1.1.0.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/validation-api-1.1.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/validation-api-1.1.0.Final.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/xercesImpl-2.11.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/xercesImpl-2.11.0.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/xml-apis-1.4.01.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/artifacts/unnamed/WEB-INF/lib/xml-apis-1.4.01.jar -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/production/Algorithms/Merge.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/production/Algorithms/Merge.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/classes/production/Algorithms/Quick.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/classes/production/Algorithms/Quick.class -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.EnableAutoConfiguration; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; 7 | 8 | @SpringBootApplication 9 | public class DemoApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(DemoApplication.class, args); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/mapper/ActiveDataMapper.java: -------------------------------------------------------------------------------- 1 | package com.demo.mapper; 2 | 3 | import com.demo.model.*; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.HashMap; 7 | import java.util.List; 8 | 9 | @Mapper 10 | public interface ActiveDataMapper { 11 | 12 | public ActiveTotalData queryDayCount(HashMap map); 13 | public List queryDay(HashMap map); 14 | 15 | 16 | public ActiveTotalData queryWkCount(HashMap map); 17 | public List queryWk(HashMap map); 18 | 19 | public ActiveTotalData queryMonCount(HashMap map); 20 | public List queryMon(HashMap map); 21 | 22 | public List queryRetainData(); 23 | 24 | public List queryGMVOrder(); 25 | 26 | public List queryMapData(); 27 | 28 | public ConvertData queryConvertData(String tag); 29 | } 30 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/mapper/IndexMapper.java: -------------------------------------------------------------------------------- 1 | package com.demo.mapper; 2 | 3 | import com.demo.model.Index; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.List; 7 | 8 | 9 | @Mapper 10 | public interface IndexMapper { 11 | 12 | List findAll(); 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/model/ActiveData.java: -------------------------------------------------------------------------------- 1 | package com.demo.model; 2 | 3 | import java.text.SimpleDateFormat; 4 | import java.util.Date; 5 | 6 | public class ActiveData { 7 | 8 | private Date date; 9 | private int activeCount; 10 | private String is_weekend; 11 | private String is_monthend; 12 | 13 | public String getIs_weekend() { 14 | return is_weekend; 15 | } 16 | 17 | public void setIs_weekend(String is_weekend) { 18 | this.is_weekend = is_weekend; 19 | } 20 | 21 | public String getIs_monthend() { 22 | return is_monthend; 23 | } 24 | 25 | public void setIs_monthend(String is_monthend) { 26 | this.is_monthend = is_monthend; 27 | } 28 | 29 | public String getDate() { 30 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 31 | return sdf.format(date); 32 | } 33 | 34 | public void setDate(Date date) { 35 | this.date = date; 36 | } 37 | 38 | public int getActiveCount() { 39 | return activeCount; 40 | } 41 | 42 | public void setActiveCount(int activeCount) { 43 | this.activeCount = activeCount; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/model/ActiveTotalData.java: -------------------------------------------------------------------------------- 1 | package com.demo.model; 2 | 3 | public class ActiveTotalData { 4 | 5 | private String id; 6 | private String title; 7 | private int totalData; 8 | private String is_weekend; 9 | private String is_monthend; 10 | 11 | public String getIs_weekend() { 12 | return is_weekend; 13 | } 14 | 15 | public void setIs_weekend(String is_weekend) { 16 | this.is_weekend = is_weekend; 17 | } 18 | 19 | public String getIs_monthend() { 20 | return is_monthend; 21 | } 22 | 23 | public void setIs_monthend(String is_monthend) { 24 | this.is_monthend = is_monthend; 25 | } 26 | 27 | public String getId() { 28 | return id; 29 | } 30 | 31 | public void setId(String id) { 32 | this.id = id; 33 | } 34 | 35 | public String getTitle() { 36 | return title; 37 | } 38 | 39 | public void setTitle(String title) { 40 | this.title = title; 41 | } 42 | 43 | public int getTotalData() { 44 | return totalData; 45 | } 46 | 47 | public void setTotalData(int totalData) { 48 | this.totalData = totalData; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/model/ConvertData.java: -------------------------------------------------------------------------------- 1 | package com.demo.model; 2 | 3 | import java.util.Date; 4 | 5 | public class ConvertData { 6 | private Date dt; 7 | private int total_visitor_m_count; 8 | private int order_u_count; 9 | private double visitor2order_convert_ratio; 10 | private int payment_u_count; 11 | private double order2payment_convert_ratio; 12 | 13 | public Date getDt() { 14 | return dt; 15 | } 16 | 17 | public void setDt(Date dt) { 18 | this.dt = dt; 19 | } 20 | 21 | public int getTotal_visitor_m_count() { 22 | return total_visitor_m_count; 23 | } 24 | 25 | public void setTotal_visitor_m_count(int total_visitor_m_count) { 26 | this.total_visitor_m_count = total_visitor_m_count; 27 | } 28 | 29 | public int getOrder_u_count() { 30 | return order_u_count; 31 | } 32 | 33 | public void setOrder_u_count(int order_u_count) { 34 | this.order_u_count = order_u_count; 35 | } 36 | 37 | public double getVisitor2order_convert_ratio() { 38 | return visitor2order_convert_ratio; 39 | } 40 | 41 | public void setVisitor2order_convert_ratio(double visitor2order_convert_ratio) { 42 | this.visitor2order_convert_ratio = visitor2order_convert_ratio; 43 | } 44 | 45 | public int getPayment_u_count() { 46 | return payment_u_count; 47 | } 48 | 49 | public void setPayment_u_count(int payment_u_count) { 50 | this.payment_u_count = payment_u_count; 51 | } 52 | 53 | public double getOrder2payment_convert_ratio() { 54 | return order2payment_convert_ratio; 55 | } 56 | 57 | public void setOrder2payment_convert_ratio(double order2payment_convert_ratio) { 58 | this.order2payment_convert_ratio = order2payment_convert_ratio; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/model/GMVOrder.java: -------------------------------------------------------------------------------- 1 | package com.demo.model; 2 | 3 | public class GMVOrder { 4 | 5 | private String quarter; 6 | private int gmv_count; 7 | private int gmv_amount; 8 | 9 | public String getQuarter() { 10 | return quarter; 11 | } 12 | 13 | public void setQuarter(String quarter) { 14 | this.quarter = quarter; 15 | } 16 | 17 | public int getGmv_count() { 18 | return gmv_count; 19 | } 20 | 21 | public void setGmv_count(int gmv_count) { 22 | this.gmv_count = gmv_count; 23 | } 24 | 25 | public int getGmv_amount() { 26 | return gmv_amount; 27 | } 28 | 29 | public void setGmv_amount(int gmv_amount) { 30 | this.gmv_amount = gmv_amount; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/model/Index.java: -------------------------------------------------------------------------------- 1 | package com.demo.model; 2 | 3 | public class Index { 4 | private Integer id; 5 | private String name; 6 | private Integer num; 7 | 8 | public Integer getId() { 9 | return id; 10 | } 11 | 12 | public void setId(Integer id) { 13 | this.id = id; 14 | } 15 | 16 | public String getName() { 17 | return name; 18 | } 19 | 20 | public void setName(String name) { 21 | this.name = name; 22 | } 23 | 24 | public Integer getNum() { 25 | return num; 26 | } 27 | 28 | public void setNum(Integer num) { 29 | this.num = num; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/model/MapData.java: -------------------------------------------------------------------------------- 1 | package com.demo.model; 2 | 3 | public class MapData { 4 | 5 | private String name; 6 | private int value; 7 | private String remark; 8 | 9 | public String getName() { 10 | return name; 11 | } 12 | 13 | public void setName(String name) { 14 | this.name = name; 15 | } 16 | 17 | public int getValue() { 18 | return value; 19 | } 20 | 21 | public void setValue(int value) { 22 | this.value = value; 23 | } 24 | 25 | public String getRemark() { 26 | return remark; 27 | } 28 | 29 | public void setRemark(String remark) { 30 | this.remark = remark; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/model/RetainData.java: -------------------------------------------------------------------------------- 1 | package com.demo.model; 2 | 3 | import java.text.SimpleDateFormat; 4 | import java.util.Date; 5 | 6 | public class RetainData { 7 | 8 | private Date stat_date; 9 | private int new_mid_count; 10 | private double d1; 11 | private double d2; 12 | private double d3; 13 | private double d4; 14 | private double d5; 15 | private double d6; 16 | 17 | public String getStat_date() { 18 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 19 | return sdf.format(stat_date); 20 | } 21 | 22 | public void setStat_date(Date stat_date) { 23 | this.stat_date = stat_date; 24 | } 25 | 26 | public int getNew_mid_count() { 27 | return new_mid_count; 28 | } 29 | 30 | public void setNew_mid_count(int new_mid_count) { 31 | this.new_mid_count = new_mid_count; 32 | } 33 | 34 | public double getD1() { 35 | return d1; 36 | } 37 | 38 | public void setD1(double d1) { 39 | this.d1 = d1; 40 | } 41 | 42 | public double getD2() { 43 | return d2; 44 | } 45 | 46 | public void setD2(double d2) { 47 | this.d2 = d2; 48 | } 49 | 50 | public double getD3() { 51 | return d3; 52 | } 53 | 54 | public void setD3(double d3) { 55 | this.d3 = d3; 56 | } 57 | 58 | public double getD4() { 59 | return d4; 60 | } 61 | 62 | public void setD4(double d4) { 63 | this.d4 = d4; 64 | } 65 | 66 | public double getD5() { 67 | return d5; 68 | } 69 | 70 | public void setD5(double d5) { 71 | this.d5 = d5; 72 | } 73 | 74 | public double getD6() { 75 | return d6; 76 | } 77 | 78 | public void setD6(double d6) { 79 | this.d6 = d6; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/service/ActiveDataService.java: -------------------------------------------------------------------------------- 1 | package com.demo.service; 2 | 3 | import com.demo.model.*; 4 | 5 | import java.util.List; 6 | 7 | public interface ActiveDataService { 8 | 9 | public List queryActiveTotal(String thisEntryDate); 10 | 11 | public List queryActiveData(String tag,String thisEntryDate); 12 | 13 | public List queryRetainData(); 14 | 15 | public List queryGMVOrder(); 16 | 17 | public List queryMapData(); 18 | 19 | public ConvertData queryConvertData(String tag); 20 | } 21 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/service/IndexService.java: -------------------------------------------------------------------------------- 1 | package com.demo.service; 2 | 3 | import com.demo.model.Index; 4 | 5 | import java.util.List; 6 | 7 | public interface IndexService { 8 | List findAll(); 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/service/impl/IndexServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.demo.service.impl; 2 | 3 | import com.demo.mapper.IndexMapper; 4 | import com.demo.model.Index; 5 | import com.demo.service.IndexService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * @author zhouyulong 13 | * @date 2018/10/28 下午2:46. 14 | */ 15 | @Service 16 | public class IndexServiceImpl implements IndexService { 17 | @Autowired 18 | private IndexMapper indexMapper; 19 | 20 | @Override 21 | public List findAll() { 22 | return indexMapper.findAll(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/java/com/demo/utils/GetDate.java: -------------------------------------------------------------------------------- 1 | package com.demo.utils; 2 | 3 | import java.text.SimpleDateFormat; 4 | import java.util.Date; 5 | 6 | public class GetDate { 7 | public static String getSysDate(){ 8 | SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");//设置日期格式 9 | return df.format(new Date());// new Date()为获取当前系统时间 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 2 | 3 | spring.datasource.driver-class-name=com.mysql.jdbc.Driver 4 | spring.datasource.url=jdbc:mysql://192.168.163.144:3306/gmall?useUnicode=true&characterEncoding=utf8 5 | spring.datasource.username=root 6 | spring.datasource.password=7955102 7 | # 8 | # 9 | spring.devtools.restart.enabled=true 10 | mybatis.type-aliases-package=com.demo.model 11 | mybatis.mapper-locations=classpath:mapper/*.xml 12 | 13 | # 14 | 15 | spring.thymeleaf.cache=false 16 | 17 | ## 检查模板是否存在,然后再呈现 18 | 19 | spring.thymeleaf.check-template-location=true 20 | 21 | #Content-Type值 22 | 23 | spring.thymeleaf.content-type=text/html 24 | 25 | #启用MVC Thymeleaf视图分辨率 26 | 27 | spring.thymeleaf.enabled=true 28 | 29 | ## 应该从解决方案中排除的视图名称的逗号分隔列表 30 | 31 | ##spring.thymeleaf.excluded-view-names= 32 | 33 | #模板编码 34 | 35 | spring.thymeleaf.mode=LEGACYHTML5 36 | 37 | # 在构建URL时预先查看名称的前缀 38 | 39 | spring.thymeleaf.prefix=classpath:/templates/ 40 | 41 | # 构建URL时附加查看名称的后缀. 42 | 43 | spring.thymeleaf.suffix=.html 44 | 45 | # 链中模板解析器的顺序 46 | 47 | #spring.thymeleaf.template-resolver-order= o 48 | 49 | # 可以解析的视图名称的逗号分隔列表 50 | 51 | #spring.thymeleaf.view-names= 52 | 53 | #thymeleaf end -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/config/config.properties: -------------------------------------------------------------------------------- 1 | my.totalUrl=http://192.168.1.73:8080/realtime-total 2 | my.hourUrl=http://192.168.1.73:8080/realtime-hours 3 | my.esDataUrl=http://192.168.1.73:8080/sale_detail 4 | my.sexUrl=http://192.168.1.73:8080/realtime-hours -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/mapper/IndexMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 14 | 15 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfontba72.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfontba72.eot -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfontba72.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfontba72.ttf -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfontba72.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfontba72.woff -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfontd41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfontd41d.eot -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/src/main/resources/static/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/src/main/resources/static/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/src/main/resources/static/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/fonts/glyphicons-halflings-regulard41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6039547/mall-data-warehouse/db246b26ded74fddd77a5ba03016706db5863809/spring-boot-echarts-master/src/main/resources/static/assets/fonts/glyphicons-halflings-regulard41d.eot -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/js/easypiechart-data.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $('#easypiechart-teal').easyPieChart({ 3 | scaleColor: false, 4 | barColor: '#1ebfae' 5 | }); 6 | }); 7 | 8 | $(function() { 9 | $('#easypiechart-orange').easyPieChart({ 10 | scaleColor: false, 11 | barColor: '#ffb53e' 12 | }); 13 | }); 14 | 15 | $(function() { 16 | $('#easypiechart-red').easyPieChart({ 17 | scaleColor: false, 18 | barColor: '#f9243f' 19 | }); 20 | }); 21 | 22 | $(function() { 23 | $('#easypiechart-blue').easyPieChart({ 24 | scaleColor: false, 25 | barColor: '#30a5ff' 26 | }); 27 | }); 28 | 29 | $('#calendar').datepicker({ 30 | }); 31 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/js/jquery.metisMenu.js: -------------------------------------------------------------------------------- 1 | ;(function ($, window, document, undefined) { 2 | 3 | var pluginName = "metisMenu", 4 | defaults = { 5 | toggle: true 6 | }; 7 | 8 | function Plugin(element, options) { 9 | this.element = element; 10 | this.settings = $.extend({}, defaults, options); 11 | this._defaults = defaults; 12 | this._name = pluginName; 13 | this.init(); 14 | } 15 | 16 | Plugin.prototype = { 17 | init: function () { 18 | 19 | var $this = $(this.element), 20 | $toggle = this.settings.toggle; 21 | 22 | $this.find('li.active').has('ul').children('ul').addClass('collapse in'); 23 | $this.find('li').not('.active').has('ul').children('ul').addClass('collapse'); 24 | 25 | $this.find('li').has('ul').children('a').on('click', function (e) { 26 | e.preventDefault(); 27 | 28 | $(this).parent('li').toggleClass('active').children('ul').collapse('toggle'); 29 | 30 | if ($toggle) { 31 | $(this).parent('li').siblings().removeClass('active').children('ul.in').collapse('hide'); 32 | } 33 | }); 34 | } 35 | }; 36 | 37 | $.fn[ pluginName ] = function (options) { 38 | return this.each(function () { 39 | if (!$.data(this, "plugin_" + pluginName)) { 40 | $.data(this, "plugin_" + pluginName, new Plugin(this, options)); 41 | } 42 | }); 43 | }; 44 | 45 | })(jQuery, window, document); 46 | -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/main/resources/static/assets/js/morris/morris-0.4.3.min.css: -------------------------------------------------------------------------------- 1 | .morris-hover{position:absolute;z-index:1000;}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;} 2 | .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;} -------------------------------------------------------------------------------- /spring-boot-echarts-master/src/test/java/com/demo/DemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class DemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | --------------------------------------------------------------------------------