浏览代码

移植新版健康管理后台项目

shilin 2 年之前
父节点
当前提交
cf839d55e7
共有 100 个文件被更改,包括 72 次插入10953 次删除
  1. 0 950
      web/health/doc/springbootv2.sql
  2. 二进制
      web/health/lib/ueditor-1.1.2.jar
  3. 72 443
      web/health/pom.xml
  4. 0 52
      web/health/src/main/java/com/gyee/SpringbootStart.java
  5. 0 19
      web/health/src/main/java/com/gyee/SpringbootWebInitializer.java
  6. 0 77
      web/health/src/main/java/com/gyee/frame/common/async/config/AsyncConfig.java
  7. 0 76
      web/health/src/main/java/com/gyee/frame/common/async/config/ThreadPoolConfig.java
  8. 0 133
      web/health/src/main/java/com/gyee/frame/common/async/controller/AsyncController.java
  9. 0 57
      web/health/src/main/java/com/gyee/frame/common/async/service/AsyncService.java
  10. 0 63
      web/health/src/main/java/com/gyee/frame/common/async/service/impl/AsyncServiceImpl.java
  11. 0 41
      web/health/src/main/java/com/gyee/frame/common/async/util/SmsUtil.java
  12. 0 125
      web/health/src/main/java/com/gyee/frame/common/base/BaseController.java
  13. 0 34
      web/health/src/main/java/com/gyee/frame/common/base/BaseService.java
  14. 0 268
      web/health/src/main/java/com/gyee/frame/common/base/PageInfo.java
  15. 0 419
      web/health/src/main/java/com/gyee/frame/common/cache/AppRedisCacheManager.java
  16. 0 46
      web/health/src/main/java/com/gyee/frame/common/cache/ApplicationContextHolder.java
  17. 0 383
      web/health/src/main/java/com/gyee/frame/common/cache/IGlobalCache.java
  18. 0 72
      web/health/src/main/java/com/gyee/frame/common/cache/MybatisRedisCache.java
  19. 0 105
      web/health/src/main/java/com/gyee/frame/common/cache/RedisConfig.java
  20. 0 51
      web/health/src/main/java/com/gyee/frame/common/cache/RedisService.java
  21. 0 125
      web/health/src/main/java/com/gyee/frame/common/cache/RedisServiceImpl.java
  22. 0 31
      web/health/src/main/java/com/gyee/frame/common/cache/RedisUtils.java
  23. 0 13
      web/health/src/main/java/com/gyee/frame/common/conf/AjaxStatus.java
  24. 0 25
      web/health/src/main/java/com/gyee/frame/common/conf/ExportConfig.java
  25. 0 30
      web/health/src/main/java/com/gyee/frame/common/conf/FileConfig.java
  26. 0 149
      web/health/src/main/java/com/gyee/frame/common/conf/GeneratorCodeConfig.java
  27. 0 260
      web/health/src/main/java/com/gyee/frame/common/conf/GyeeConfig.java
  28. 0 85
      web/health/src/main/java/com/gyee/frame/common/conf/KaptchaConfig.java
  29. 0 99
      web/health/src/main/java/com/gyee/frame/common/conf/MybatisConfig.java
  30. 0 39
      web/health/src/main/java/com/gyee/frame/common/conf/MybatisPlusConfig.java
  31. 0 83
      web/health/src/main/java/com/gyee/frame/common/conf/Swagger.java
  32. 0 79
      web/health/src/main/java/com/gyee/frame/common/conf/TemperatureConfig.java
  33. 0 56
      web/health/src/main/java/com/gyee/frame/common/conf/ThreadPoolTaskConfig.java
  34. 0 20
      web/health/src/main/java/com/gyee/frame/common/conf/WebSocketConfig.java
  35. 0 27
      web/health/src/main/java/com/gyee/frame/common/conf/ZmConfig.java
  36. 0 45
      web/health/src/main/java/com/gyee/frame/common/conf/monitor/LeaderConfig.java
  37. 0 45
      web/health/src/main/java/com/gyee/frame/common/conf/monitor/StatusConfig.java
  38. 0 21
      web/health/src/main/java/com/gyee/frame/common/dataSources/DataSource.java
  39. 0 77
      web/health/src/main/java/com/gyee/frame/common/dataSources/DataSourceAspect.java
  40. 0 50
      web/health/src/main/java/com/gyee/frame/common/dataSources/DataSourceContextHolder.java
  41. 0 13
      web/health/src/main/java/com/gyee/frame/common/dataSources/DataSourceType.java
  42. 0 27
      web/health/src/main/java/com/gyee/frame/common/dataSources/DynamicDataSource.java
  43. 0 104
      web/health/src/main/java/com/gyee/frame/common/domain/AjaxResult.java
  44. 0 80
      web/health/src/main/java/com/gyee/frame/common/druid/RemoveDruidAdConfig.java
  45. 0 141
      web/health/src/main/java/com/gyee/frame/common/exception/GlobalExceptionResolver.java
  46. 0 65
      web/health/src/main/java/com/gyee/frame/common/exception/QiNiuException.java
  47. 0 17
      web/health/src/main/java/com/gyee/frame/common/exception/demo/DemoModeException.java
  48. 0 55
      web/health/src/main/java/com/gyee/frame/common/exception/enums/QiNiuErrorEnum.java
  49. 0 41
      web/health/src/main/java/com/gyee/frame/common/exception/file/FileNameLengthLimitExceededException.java
  50. 0 73
      web/health/src/main/java/com/gyee/frame/common/exception/file/InvalidExtensionException.java
  51. 0 61
      web/health/src/main/java/com/gyee/frame/common/feign/IAdapterService.java
  52. 0 38
      web/health/src/main/java/com/gyee/frame/common/feign/RemoteServiceBuilder.java
  53. 0 83
      web/health/src/main/java/com/gyee/frame/common/file/ClassUtil.java
  54. 0 272
      web/health/src/main/java/com/gyee/frame/common/file/ExcelExport.java
  55. 0 179
      web/health/src/main/java/com/gyee/frame/common/file/FileUploadUtils.java
  56. 0 110
      web/health/src/main/java/com/gyee/frame/common/file/FileUtils.java
  57. 0 157
      web/health/src/main/java/com/gyee/frame/common/interceptor/MyInterceptor.java
  58. 0 108
      web/health/src/main/java/com/gyee/frame/common/interceptor/MyWebAppConfigurer.java
  59. 0 31
      web/health/src/main/java/com/gyee/frame/common/log/Log.java
  60. 0 397
      web/health/src/main/java/com/gyee/frame/common/spring/ConstantTR.java
  61. 0 377
      web/health/src/main/java/com/gyee/frame/common/spring/InitialRedis.java
  62. 0 586
      web/health/src/main/java/com/gyee/frame/common/spring/InitialRunner.java
  63. 0 116
      web/health/src/main/java/com/gyee/frame/common/spring/SpringUtils.java
  64. 0 20
      web/health/src/main/java/com/gyee/frame/common/spring/WpEnum.java
  65. 0 89
      web/health/src/main/java/com/gyee/frame/common/support/CharsetKit.java
  66. 0 1057
      web/health/src/main/java/com/gyee/frame/common/support/Convert.java
  67. 0 240
      web/health/src/main/java/com/gyee/frame/common/support/ConvertUtil.java
  68. 0 77
      web/health/src/main/java/com/gyee/frame/common/support/KaptchaTextCreator.java
  69. 0 20
      web/health/src/main/java/com/gyee/frame/controller/HealthReportMainController.java
  70. 0 20
      web/health/src/main/java/com/gyee/frame/controller/HealthReportTargetController.java
  71. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconEarlyWarningMainController.java
  72. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconEarlyWarningSubController.java
  73. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconFailureStatisticMainController.java
  74. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconFailureStatisticsSubController.java
  75. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconHealthSystemController.java
  76. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconHealthSystemSubController.java
  77. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconPartPowerstatticMainController.java
  78. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconPartStatisticsMainController.java
  79. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconPartStatisticsSubController.java
  80. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconPartTemperatureMainController.java
  81. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconPartTemperatureSubController.java
  82. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconPartWarnCountController.java
  83. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconPartWarnCountSubController.java
  84. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconPartpowerStatticsSubController.java
  85. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconRecommenMainController.java
  86. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconStateJudgmentDayController.java
  87. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconStateJudgmentRealController.java
  88. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconWeatherFdController.java
  89. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconWeatherFhController.java
  90. 0 20
      web/health/src/main/java/com/gyee/frame/controller/ProEconWindturbineWarnCountController.java
  91. 0 121
      web/health/src/main/java/com/gyee/frame/controller/health/HealthMainController.java
  92. 0 145
      web/health/src/main/java/com/gyee/frame/controller/health/HealthOperationController.java
  93. 0 220
      web/health/src/main/java/com/gyee/frame/controller/health/HealthReportController.java
  94. 0 499
      web/health/src/main/java/com/gyee/frame/controller/health/HealthSubController.java
  95. 0 43
      web/health/src/main/java/com/gyee/frame/mapper/auto/AlarmcountMapper.java
  96. 0 23
      web/health/src/main/java/com/gyee/frame/mapper/auto/AlarmsnapMapper.java
  97. 0 28
      web/health/src/main/java/com/gyee/frame/mapper/auto/Alertrule2Mapper.java
  98. 0 24
      web/health/src/main/java/com/gyee/frame/mapper/auto/AlertrulefailureMapper.java
  99. 0 23
      web/health/src/main/java/com/gyee/frame/mapper/auto/AlertrulefailuresubMapper.java
  100. 0 0
      web/health/src/main/java/com/gyee/frame/mapper/auto/AlertrulesubMapper.java

+ 0 - 950
web/health/doc/springbootv2.sql

@@ -1,1091 +0,0 @@
-/*
- Navicat MySQL Data Transfer
-
- Source Server         : localhost_3306—root
- Source Server Type    : MySQL
- Source Server Version : 50725
- Source Host           : localhost:3306
- Source Schema         : Gyee_Frame_HF
-
- Target Server Type    : MySQL
- Target Server Version : 50725
- File Encoding         : 65001
-
- Date: 06/12/2020 22:30:45
-*/
-
-SET NAMES utf8mb4;
-SET FOREIGN_KEY_CHECKS = 0;
-
-DROP TABLE IF EXISTS `t_sys_area`;
-CREATE TABLE `t_sys_area`  (
-  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增列',
-  `area_code` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '区代码',
-  `city_code` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '父级市代码',
-  `area_name` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '市名称',
-  `short_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '简称',
-  `lng` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '经度',
-  `lat` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '纬度',
-  `sort` int(6) NULL DEFAULT NULL COMMENT '排序',
-  `gmt_create` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  `gmt_modified` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
-  `memo` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
-  `data_state` int(11) NULL DEFAULT NULL COMMENT '状态',
-  PRIMARY KEY (`id`) USING BTREE,
-  INDEX `Index_1`(`area_code`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 2013 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '地区设置' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_area` VALUES (1975, '500101', '500100', '万州区', '万州', '108.380249', '30.807808', 28, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1976, '500102', '500100', '涪陵区', '涪陵', '107.394905', '29.703651', 11, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1977, '500103', '500100', '渝中区', '渝中', '106.562881', '29.556742', 37, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1978, '500104', '500100', '大渡口区', '大渡口', '106.48613', '29.481003', 6, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1979, '500105', '500100', '江北区', '江北', '106.532845', '29.575352', 13, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1980, '500106', '500100', '沙坪坝区', '沙坪坝', '106.454201', '29.541224', 24, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1981, '500107', '500100', '九龙坡区', '九龙坡', '106.480988', '29.523493', 15, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1982, '500108', '500100', '南岸区', '南岸', '106.560814', '29.523993', 18, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1983, '500109', '500100', '北碚区', '北碚', '106.437866', '29.82543', 2, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1984, '500112', '500100', '渝北区', '渝北', '106.512848', '29.601452', 35, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1985, '500113', '500100', '巴南区', '巴南', '106.519424', '29.38192', 1, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1986, '500114', '500100', '黔江区', '黔江', '108.782578', '29.527548', 21, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1987, '500115', '500100', '长寿区', '长寿', '107.074852', '29.833672', 4, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1988, '500222', '500100', '綦江区', '綦江', '106.651421', '29.028091', 22, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1989, '500223', '500100', '潼南县', '潼南', '105.84182', '30.189554', 27, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1990, '500224', '500100', '铜梁县', '铜梁', '106.054947', '29.839945', 26, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1991, '500225', '500100', '大足区', '大足', '105.715317', '29.700499', 7, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1992, '500226', '500100', '荣昌县', '荣昌', '105.594063', '29.403627', 23, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1993, '500227', '500100', '璧山县', '璧山', '106.231125', '29.59358', 3, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1994, '500228', '500100', '梁平县', '梁平', '107.800034', '30.672169', 17, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1995, '500229', '500100', '城口县', '城口', '108.664902', '31.946293', 5, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1996, '500230', '500100', '丰都县', '丰都', '107.732483', '29.866425', 9, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1997, '500231', '500100', '垫江县', '垫江', '107.348694', '30.330011', 8, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1998, '500232', '500100', '武隆县', '武隆', '107.756554', '29.323759', 29, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (1999, '500233', '500100', '忠县', '忠县', '108.037521', '30.291536', 38, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2000, '500234', '500100', '开县', '开县', '108.413315', '31.167734', 16, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2001, '500235', '500100', '云阳县', '云阳', '108.697701', '30.930529', 36, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2002, '500236', '500100', '奉节县', '奉节', '109.465775', '31.019966', 10, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2003, '500237', '500100', '巫山县', '巫山', '109.878929', '31.074842', 30, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2004, '500238', '500100', '巫溪县', '巫溪', '109.628914', '31.396601', 31, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2005, '500240', '500100', '石柱土家族自治县', '石柱', '108.11245', '29.998529', 25, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2006, '500241', '500100', '秀山土家族苗族自治县', '秀山', '108.99604', '28.444773', 32, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2007, '500242', '500100', '酉阳土家族苗族自治县', '酉阳', '108.767204', '28.839828', 34, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2008, '500243', '500100', '彭水苗族土家族自治县', '彭水', '108.16655', '29.293856', 20, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2009, '500381', '500100', '江津区', '江津', '106.253159', '29.283386', 14, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2010, '500382', '500100', '合川区', '合川', '106.265556', '29.990993', 12, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2011, '500383', '500100', '永川区', '永川', '105.894714', '29.348747', 33, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-INSERT INTO `t_sys_area` VALUES (2012, '500384', '500100', '南川区', '南川', '107.098152', '29.156647', 19, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-
-DROP TABLE IF EXISTS `t_sys_city`;
-CREATE TABLE `t_sys_city`  (
-  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增列',
-  `city_code` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '市代码',
-  `city_name` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '市名称',
-  `short_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '简称',
-  `province_code` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '省代码',
-  `lng` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '经度',
-  `lat` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '纬度',
-  `sort` int(6) NULL DEFAULT NULL COMMENT '排序',
-  `gmt_create` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  `gmt_modified` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
-  `memo` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
-  `data_state` int(11) NULL DEFAULT NULL COMMENT '状态',
-  PRIMARY KEY (`id`) USING BTREE,
-  INDEX `Index_1`(`city_code`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 256 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '城市设置' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_city` VALUES (255, '500100', '重庆市', '重庆', '500000', '106.504959', '29.533155', 1, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-
-DROP TABLE IF EXISTS `t_sys_datas`;
-CREATE TABLE `t_sys_datas`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
-  `file_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '文件地址',
-  `file_absolute_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '绝对路径',
-  `file_suffix` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '后缀',
-  `file_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'Y 项目目录,N盘符目录',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '文件表存储表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_datas` VALUES ('429674403882733568', 'static/file_upload/218be0e66289829b748e4f4b69ee3e5b.jpg', 'D:/v2file/218be0e66289829b748e4f4b69ee3e5b.jpg', '.jpg', 'N');
-INSERT INTO `t_sys_datas` VALUES ('456734735738212352', 'static/file_upload/cef71b6a099e20ecfcf7bccfe2301713.jpg', 'D:/v2file/cef71b6a099e20ecfcf7bccfe2301713.jpg', '.jpg', 'N');
-INSERT INTO `t_sys_datas` VALUES ('456734855670140928', 'static/file_upload/64259962e6e4292a7a3cf27cf2d81713.jpg', 'D:/v2file/64259962e6e4292a7a3cf27cf2d81713.jpg', '.jpg', 'N');
-
-DROP TABLE IF EXISTS `t_sys_department`;
-CREATE TABLE `t_sys_department`  (
-  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
-  `parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '父id',
-  `dept_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门名称',
-  `leader` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门负责人',
-  `phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电话',
-  `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
-  `status` int(255) NULL DEFAULT NULL COMMENT '状态',
-  `order_num` int(11) NULL DEFAULT NULL COMMENT '排序',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_department` VALUES (1, '0', 'v2', 'v2', '13012345678', 'v2@qq.com', 1, 1);
-INSERT INTO `t_sys_department` VALUES (2, '1', '技术部门', 'x某某', '13012345678', 'v2@qq.com', 1, 2);
-INSERT INTO `t_sys_department` VALUES (3, '1', '人事部门', 'a某某', '13012345678', 'v2@qq.com', 1, 3);
-INSERT INTO `t_sys_department` VALUES (4, '2', '开发一小组', 'b某某', '13012345678', 'v2@qq.com', 1, 4);
-INSERT INTO `t_sys_department` VALUES (5, '3', '销售部门', 'd某某', '13012345678', 'v2@qq.com', 1, 5);
-INSERT INTO `t_sys_department` VALUES (6, '5', '销售一组', 'e某某', '13012345678', 'v2@qq.com', 1, 6);
-
-DROP TABLE IF EXISTS `t_sys_dict_data`;
-CREATE TABLE `t_sys_dict_data`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
-  `dict_sort` int(4) NULL DEFAULT 0 COMMENT '字典排序',
-  `dict_label` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典标签',
-  `dict_value` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典键值',
-  `dict_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典类型',
-  `css_class` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '样式属性(其他样式扩展)',
-  `list_class` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '表格回显样式',
-  `is_default` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'N' COMMENT '是否默认(Y是 N否)',
-  `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '状态(0正常 1停用)',
-  `create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '创建者',
-  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者',
-  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
-  `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_dict_data` VALUES ('331043380933038080', 1, '一般', '1', 'sys_notice_type', '', 'info', 'Y', '0', 'admin', '2019-09-09 22:15:03', 'admin', '2019-09-09 22:15:43', '');
-INSERT INTO `t_sys_dict_data` VALUES ('331043525137403904', 2, '重要', '2', 'sys_notice_type', '', 'important', 'N', '0', 'admin', '2019-09-09 22:15:37', 'admin', '2019-09-11 00:30:04', '');
-INSERT INTO `t_sys_dict_data` VALUES ('340080322395901952', 1, '开启', '0', 'sys_province_state', '', 'info', 'Y', '0', 'admin', '2019-10-04 20:44:37', 'admin', '2019-10-04 20:46:41', '');
-INSERT INTO `t_sys_dict_data` VALUES ('340080779201744896', 2, '关闭', '-1', 'sys_province_state', '', 'important', 'Y', '0', 'admin', '2019-10-04 20:46:26', 'admin', '2019-10-04 20:46:45', '');
-INSERT INTO `t_sys_dict_data` VALUES ('373494384659927040', 0, 'GET请求', '1', 'sys_inter_url_type', '', 'primary', 'Y', '0', 'admin', '2020-01-05 01:40:11', 'admin', '2020-03-29 23:23:58', '');
-INSERT INTO `t_sys_dict_data` VALUES ('373494483465146368', 1, 'POST请求', '2', 'sys_inter_url_type', '', 'info', 'Y', '0', 'admin', '2020-01-05 01:40:34', 'admin', '2020-03-29 23:23:25', '');
-
-DROP TABLE IF EXISTS `t_sys_dict_type`;
-CREATE TABLE `t_sys_dict_type`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
-  `dict_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典名称',
-  `dict_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典类型',
-  `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '状态(0正常 1停用)',
-  `create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '创建者',
-  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者',
-  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
-  `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
-  PRIMARY KEY (`id`) USING BTREE,
-  UNIQUE INDEX `dict_type`(`dict_type`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典类型表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_dict_type` VALUES ('340079827459641344', '省份状态', 'sys_province_state', '0', 'admin', '2019-10-04 20:42:39', '', '2019-10-04 20:42:39', '省份状态');
-INSERT INTO `t_sys_dict_type` VALUES ('373493952487231488', '拦截器类型', 'sys_inter_url_type', '0', 'admin', '2020-01-05 01:38:28', 'admin', '2020-03-29 23:23:43', '拦截器类型');
-INSERT INTO `t_sys_dict_type` VALUES ('6', '通知类型', 'sys_notice_type', '0', 'admin', '2018-03-16 11:33:00', 'admin', '2019-09-15 00:29:19', '通知类型列表');
-
-DROP TABLE IF EXISTS `t_sys_email`;
-CREATE TABLE `t_sys_email`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
-  `receivers_email` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '接收人电子邮件',
-  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '邮件标题',
-  `content` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '内容',
-  `send_user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '发送人id',
-  `send_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '发送人账号',
-  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '电子邮件' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_email` VALUES ('595001021625794560', '87766867@qq.com', 'Gyee_Frame_NX测试邮件', '<p>测试测测测</p>', '1', 'admin', '2019-06-30 21:21:38');
-
-DROP TABLE IF EXISTS `t_sys_file`;
-CREATE TABLE `t_sys_file`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
-  `file_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '图片名字',
-  `create_user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人id',
-  `create_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名字',
-  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  `update_user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '修改人',
-  `update_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '修改人名字',
-  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '文件信息表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_file` VALUES ('456734740502941696', '嘻嘻嘻嘻嘻嘻嘻嘻', '1', 'admin', '2020-08-21 18:27:38', NULL, NULL, NULL);
-INSERT INTO `t_sys_file` VALUES ('456734858643902464', '烦烦烦', '1', 'admin', '2020-08-21 18:28:06', NULL, NULL, NULL);
-
-DROP TABLE IF EXISTS `t_sys_file_data`;
-CREATE TABLE `t_sys_file_data`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
-  `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '数据id',
-  `file_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '文件id' COMMENT '文件id',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '文件数据外键绑定表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_file_data` VALUES ('456734740502941697', '456734735738212352', '456734740502941696');
-INSERT INTO `t_sys_file_data` VALUES ('456734858643902465', '456734855670140928', '456734858643902464');
-
-DROP TABLE IF EXISTS `t_sys_inter_url`;
-CREATE TABLE `t_sys_inter_url`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
-  `inter_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '拦截名称',
-  `url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '拦截url',
-  `type` int(2) NULL DEFAULT NULL COMMENT '类型',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '拦截url表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_inter_url` VALUES ('373496755515428864', '用户添加', '/UserController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373497670557372416', '用户删除', '/UserController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373497840930000896', '用户修改', '/UserController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373497897913815040', '用户修改密码', '/UserController/editPwd', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498025491959808', '自动生成添加', '/autoCodeController/addGlobal', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498096644132864', '自动生成保存', '/autoCodeController/saveOne', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498292627181568', '字典表添加', '/DictDataController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498349552275456', '字典表删除', '/DictDataController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498496684265472', '字典表修改', '/DictDataController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498567521865728', '字典表类型添加', '/DictTypeController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498625474564096', '字典表类型删除', '/DictTypeController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498715475939328', '字典表类型修改', '/DictTypeController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498811429031936', '邮箱添加', '/EmailController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498868127633408', '邮箱修改', '/EmailController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498918975180800', '邮箱删除', '/EmailController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373498988751622144', '文件上传', '/FileController/upload', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499051250946048', '文件上传添加', '/FileController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499108104736768', '文件上传删除', '/FileController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499205047685120', '文件上传删除2', '/FileController/del_file', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499263713415168', '文件上传修改', '/FileController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499326967713792', '日志删除', '/LogController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499404776247296', '权限添加', '/PermissionController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499452364820480', '权限删除', '/PermissionController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499526859853824', '权限修改', '/PermissionController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499613015052288', '定时器添加', '/SysQuartzJobController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499677636694016', '定时器删除', '/SysQuartzJobController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499748591734784', '定时器修改', '/SysQuartzJobController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499825582379008', '定时器状态切换', '/SysQuartzJobController/changeStatus', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499894721286144', '定时器启动', '/SysQuartzJobController/run', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373499948769087488', '定时器日志删除', '/SysQuartzJobLogController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500039596740608', '角色添加', '/RoleController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500088284221440', '角色删除', '/RoleController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500133054222336', '角色修改', '/RoleController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500178268819456', '公告添加', '/SysNoticeController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500217934352384', '公告删除', '/SysNoticeController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500268949671936', '公告展示', '/SysNoticeController/viewinfo', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500319365206016', '公告修改', '/SysNoticeController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500397240848384', '省份添加', '/SysProvinceController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500437623607296', '省份删除', '/SysProvinceController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500524961599488', '省份修改', '/SysProvinceController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500569433804800', '地区添加', '/SysAreaController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500609669763072', '地区删除', '/SysAreaController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500648181862400', '地区修改', '/SysAreaController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500706268778496', '城市添加', '/SysCityController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500743581306880', '城市删除', '/SysCityController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500781405540352', '城市修改', '/SysCityController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500835193294848', '街道添加', '/SysStreetController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500877971001344', '街道删除', '/SysStreetController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373500915308695552', '街道修改', '/SysStreetController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373501029066608640', '百度编辑器添加', '/UeditorController/ueditor', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373501103570030592', '百度编辑器', '/UeditorController/', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373501147362758656', '百度编辑器上传', '/UeditorController/imgUpload', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373501199686701056', '七牛文件上传', '/QiNiuCloudController/uploadToQiNiu', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('373501333854097408', '定时器停止', '/quartz/stop', 1);
-INSERT INTO `t_sys_inter_url` VALUES ('373501434756468736', '定时器继续', '/quartz/resume', 1);
-INSERT INTO `t_sys_inter_url` VALUES ('373501545595146240', '定时器状态修改', '/quartz/update', 1);
-INSERT INTO `t_sys_inter_url` VALUES ('373501599198351360', '定时器删除2', '/quartz/delete', 1);
-INSERT INTO `t_sys_inter_url` VALUES ('411485475971403776', '岗位添加', '/SysPositionController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('411490182756438016', '岗位删除', '/SysPositionController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('411490841580933120', '岗位修改', '/SysPositionController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('411492914938646528', '部门添加', '/SysDepartmentController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('411493078512308224', '部门删除', '/SysDepartmentController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('411494526608347136', '部门修改', '/SysDepartmentController/edit', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('411495018801532928', '拦截器新增', '/SysInterUrlController/add', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('411495038321823744', '拦截器复制', '/SysInterUrlController/copy', 1);
-INSERT INTO `t_sys_inter_url` VALUES ('411495141359095808', '拦截器删除', '/SysInterUrlController/remove', 2);
-INSERT INTO `t_sys_inter_url` VALUES ('411495220283314176', '拦截器修改', '/SysInterUrlController/edit', 2);
-
-DROP TABLE IF EXISTS `t_sys_notice`;
-CREATE TABLE `t_sys_notice`  (
-  `id` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
-  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标题',
-  `content` varchar(1000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '内容',
-  `type` int(5) NULL DEFAULT NULL COMMENT '类型',
-  `create_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人id',
-  `create_username` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人name',
-  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '发信时间',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '公告' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_notice` VALUES ('330381411007729664', '测试公告', '<p>啊啊啊<img src=\"http://img.baidu.com/hi/jx2/j_0002.gif\"/><img src=\"http://img.baidu.com/hi/jx2/j_0024.gif\"/></p>', 1, '1', 'admin', '2019-09-08 02:24:37');
-INSERT INTO `t_sys_notice` VALUES ('330381806358630400', '鲜花视频', '<p>哈哈哈哈<img src=\"http://img.baidu.com/hi/jx2/j_0024.gif\"/></p>', 2, '1', 'admin', '2019-09-08 02:26:11');
-INSERT INTO `t_sys_notice` VALUES ('373478036928073728', '顶顶顶顶顶顶顶顶顶', '<p>顶顶顶顶顶顶顶顶顶顶<img src=\"http://img.baidu.com/hi/jx2/j_0014.gif\"/></p>', 1, '1', 'admin', '2020-01-05 00:35:13');
-
-DROP TABLE IF EXISTS `t_sys_notice_user`;
-CREATE TABLE `t_sys_notice_user`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
-  `notice_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '公告id',
-  `user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户id',
-  `state` int(2) NULL DEFAULT NULL COMMENT '0未阅读 1 阅读',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '公告_用户外键' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_notice_user` VALUES ('330381411037089792', '330381411007729664', '1', 1);
-INSERT INTO `t_sys_notice_user` VALUES ('330381411045478400', '330381411007729664', '488294747442511872', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('330381806375407616', '330381806358630400', '1', 1);
-INSERT INTO `t_sys_notice_user` VALUES ('330381806379601920', '330381806358630400', '488294747442511872', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('330622143622680576', '330622143597514752', '1', 1);
-INSERT INTO `t_sys_notice_user` VALUES ('330622143626874880', '330622143597514752', '488294747442511872', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('354984345649418240', '354984345632641024', '1', 1);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037158760448', '373478036928073728', '1', 1);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037162954752', '373478036928073728', '368026921239449600', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037171343360', '373478036928073728', '368026937181999104', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037175537664', '373478036928073728', '368027013392502784', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037183926272', '373478036928073728', '368027030899527680', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037192314880', '373478036928073728', '368027048402358272', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037204897792', '373478036928073728', '368027066563694592', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037213286400', '373478036928073728', '368027087866564608', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037217480704', '373478036928073728', '368027104895438848', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037225869312', '373478036928073728', '368027130728157184', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037230063616', '373478036928073728', '368027151624179712', 0);
-INSERT INTO `t_sys_notice_user` VALUES ('373478037238452224', '373478036928073728', '368382463233363968', 0);
-
-DROP TABLE IF EXISTS `t_sys_oper_log`;
-CREATE TABLE `t_sys_oper_log`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
-  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '标题',
-  `method` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '方法',
-  `oper_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '操作人',
-  `oper_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'url',
-  `oper_param` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '参数',
-  `error_msg` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
-  `oper_time` date NULL DEFAULT NULL COMMENT '操作时间',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '日志记录表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_oper_log` VALUES ('353711021405376512', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"admin1111\"],\"password\":[\"admin11111111111111\"],\"nickname\":[\"111111111111\"],\"roles\":[\"488289006124007424\"]}', NULL, '2019-11-11');
-INSERT INTO `t_sys_oper_log` VALUES ('353711251710414848', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"admin22\"],\"password\":[\"admin22\"],\"nickname\":[\"222\"]}', NULL, '2019-11-11');
-INSERT INTO `t_sys_oper_log` VALUES ('353711483206635520', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"admin1111111111111\"],\"password\":[\"admin1111111111111\"],\"nickname\":[\"111\"]}', NULL, '2019-11-11');
-INSERT INTO `t_sys_oper_log` VALUES ('353890395106709504', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/Gyee_Frame_HF/UserController/add', '{\"username\":[\"admin2\"],\"password\":[\"admin2\"],\"nickname\":[\"2\"]}', NULL, '2019-11-11');
-INSERT INTO `t_sys_oper_log` VALUES ('354984005894017024', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"admin22\"],\"password\":[\"admin22\"],\"nickname\":[\"222\"],\"roles\":[\"488243256161730560\"]}', NULL, '2019-11-14');
-INSERT INTO `t_sys_oper_log` VALUES ('354988722611163136', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"admin222\"],\"password\":[\"admin22\"],\"nickname\":[\"22222\"],\"roles\":[\"488243256161730560\"]}', NULL, '2019-11-15');
-INSERT INTO `t_sys_oper_log` VALUES ('354989789822455808', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"admin33\"],\"password\":[\"admin33\"],\"nickname\":[\"333\"],\"roles\":[\"488305788310257664\"]}', NULL, '2019-11-15');
-INSERT INTO `t_sys_oper_log` VALUES ('368026921411416064', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"admin1\"],\"password\":[\"admin1\"],\"nickname\":[\"\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368026937215553536', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"admin2\"],\"password\":[\"admin2\"],\"nickname\":[\"\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368026972204437504', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"33333\"],\"password\":[\"3333333\"],\"nickname\":[\"333\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368027013421862912', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"44\"],\"password\":[\"444444\"],\"nickname\":[\"444\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368027030928887808', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"5555555\"],\"password\":[\"555555555555\"],\"nickname\":[\"5555555555555\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368027048427524096', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"66\"],\"password\":[\"666666666\"],\"nickname\":[\"6666666666\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368027066593054720', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"2222\"],\"password\":[\"222222222\"],\"nickname\":[\"2222222222222222\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368027087887536128', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"4444\"],\"password\":[\"44444444444444\"],\"nickname\":[\"44444444444\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368027104924798976', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"5555\"],\"password\":[\"55555555555555\"],\"nickname\":[\"555555555555\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368027130757517312', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"666\"],\"password\":[\"66666666666\"],\"nickname\":[\"666666666\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368027151649345536', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"33333333333333\"],\"password\":[\"333333333333\"],\"nickname\":[\"33333333333333\"]}', NULL, '2019-12-20');
-INSERT INTO `t_sys_oper_log` VALUES ('368382463388553216', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"adminpppoooo\"],\"password\":[\"adminppp\"],\"nickname\":[\"pppppppppp\"]}', NULL, '2019-12-21');
-INSERT INTO `t_sys_oper_log` VALUES ('433236479515430912', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"gyee\"],\"password\":[\"111111\"],\"nickname\":[\"gyee\"]}', NULL, '2020-06-17');
-INSERT INTO `t_sys_oper_log` VALUES ('495560243967823872', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"手动阀手动阀\"],\"password\":[\"123456\"],\"nickname\":[\"手动阀手动阀\"],\"depId\":[\"3\"],\"positionId\":[\"411477874382606336\"]}', NULL, '2020-12-06');
-INSERT INTO `t_sys_oper_log` VALUES ('495570972590608384', '用户新增', 'com.gyee.frame.controller.admin.UserController.add()', 'admin', '/UserController/add', '{\"username\":[\"何平\"],\"password\":[\"111111\"],\"nickname\":[\"手动阀手动阀\"],\"depId\":[\"4\"],\"posId\":[\"410792443127140352\"]}', NULL, '2020-12-06');
-
-DROP TABLE IF EXISTS `t_sys_permission`;
-CREATE TABLE `t_sys_permission`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'id',
-  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限名称',
-  `descripion` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限描述',
-  `url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '授权链接',
-  `is_blank` int(255) NULL DEFAULT 0 COMMENT '是否跳转 0 不跳转 1跳转',
-  `pid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '父节点id',
-  `perms` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限标识',
-  `type` int(11) NULL DEFAULT NULL COMMENT '类型   0:目录   1:菜单   2:按钮',
-  `icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单图标',
-  `order_num` int(11) NULL DEFAULT NULL COMMENT '排序',
-  `visible` int(255) NULL DEFAULT NULL COMMENT '是否可见',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '权限表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_permission` VALUES ('1', '首页', '首页', '#', 0, '0', '#', 0, 'fa fa-home', 1, 0);
-INSERT INTO `t_sys_permission` VALUES ('10', '角色集合', '角色集合', '/RoleController/list', 0, '9', 'system:role:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('11', '角色添加', '角色添加', '/RoleController/add', 0, '9', 'system:role:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('12', '角色删除', '角色删除', '/RoleController/remove', 0, '9', 'system:role:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('13', '角色修改', '角色修改', '/RoleController/edit', 0, '9', 'system:role:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('14', '权限展示', '权限展示', '/PermissionController/view', 0, '411522822607867904', 'system:permission:view', 1, 'fa fa-key', 3, 0);
-INSERT INTO `t_sys_permission` VALUES ('15', '权限集合', '权限集合', '/PermissionController/list', 0, '14', 'system:permission:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('16', '权限添加', '权限添加', '/permissionController/add', 0, '14', 'system:permission:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('17', '权限删除', '权限删除', '/PermissionController/remove', 0, '14', 'system:permission:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('18', '权限修改', '权限修改', '/PermissionController/edit', 0, '14', 'system:permission:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('19', '文件管理', '文件管理', '/FileController/view', 0, '592059865673760768', 'system:file:view', 1, 'fa fa-file-image-o', 4, 0);
-INSERT INTO `t_sys_permission` VALUES ('20', '文件添加', '文件添加', '/FileController/add', 0, '19', 'system:file:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('21', '文件删除', '文件删除', '/FileController/remove', 0, '19', 'system:file:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('22', '文件修改', '文件修改', '/FileController/edit', 0, '19', 'system:file:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('23', '文件集合', '文件集合', '/FileController/list', 0, '19', 'system:file:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('330365026642825216', '公告管理', '公告展示', '/SysNoticeController/view', 0, '592059865673760768', 'gen:sysNotice:view', 1, 'fa fa-telegram', 10, 0);
-INSERT INTO `t_sys_permission` VALUES ('3303650266428252171', '公告集合', '公告集合', '/SysNoticeController/list', 0, '330365026642825216', 'gen:sysNotice:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3303650266428252182', '公告添加', '公告添加', '/SysNoticeController/add', 0, '330365026642825216', 'gen:sysNotice:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3303650266428252193', '公告删除', '公告删除', '/SysNoticeController/remove', 0, '330365026642825216', 'gen:sysNotice:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3303650266428252204', '公告修改', '公告修改', '/SysNoticeController/edit', 0, '330365026642825216', 'gen:sysNotice:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('331778807298134016', '定时器表达式', '', '/quartz/view', 1, '617766548966211584', '#', 1, 'fa fa-flash', 12, 0);
-INSERT INTO `t_sys_permission` VALUES ('332157860920299520', '定时任务', '定时任务调度表展示', '/SysQuartzJobController/view', 0, '592059865673760768', 'gen:sysQuartzJob:view', 1, 'fa fa-hourglass-1', 13, 0);
-INSERT INTO `t_sys_permission` VALUES ('3321578609202995211', '定时任务调度表集合', '定时任务调度表集合', '/SysQuartzJobController/list', 0, '332157860920299520', 'gen:sysQuartzJob:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3321578609202995222', '定时任务调度表添加', '定时任务调度表添加', '/SysQuartzJobController/add', 0, '332157860920299520', 'gen:sysQuartzJob:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3321578609202995233', '定时任务调度表删除', '定时任务调度表删除', '/SysQuartzJobController/remove', 0, '332157860920299520', 'gen:sysQuartzJob:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3321578609202995244', '定时任务调度表修改', '定时任务调度表修改', '/SysQuartzJobController/edit', 0, '332157860920299520', 'gen:sysQuartzJob:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('332857281479839744', '定时任务日志', '定时任务日志', '/SysQuartzJobLogController/view', 0, '592059865673760768', 'gen:sysQuartzJobLog:view', 1, 'fa fa-database', 14, 0);
-INSERT INTO `t_sys_permission` VALUES ('3328572814798397451', '定时任务调度日志表集合', '定时任务调度日志表集合', '/SysQuartzJobLogController/list', 0, '332857281479839744', 'gen:sysQuartzJobLog:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3328572814798397473', '定时任务调度日志表删除', '定时任务调度日志表删除', '/SysQuartzJobLogController/remove', 0, '332857281479839744', 'gen:sysQuartzJobLog:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('335330315113467904', 'Json工具', 'Json格式化工具', '/Json/view', 1, '617766548966211584', '#', 1, 'fa fa-retweet', 10, 0);
-INSERT INTO `t_sys_permission` VALUES ('340066503263129600', '省份设置', '省份设置', NULL, 0, '1', NULL, 0, 'fa fa-building', 4, 0);
-INSERT INTO `t_sys_permission` VALUES ('340067579836108800', '省份管理', '', '#', 0, '340066503263129600', '#', 1, 'fa fa-building-o', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('340068151804956672', '省份表管理', '省份表展示', '/SysProvinceController/view', 0, '340067579836108800', 'gen:sysProvince:view', 1, 'fa fa-quora', 2, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400681518049566731', '省份表集合', '省份表集合', '/SysProvinceController/list', 0, '340068151804956672', 'gen:sysProvince:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400681518049566742', '省份表添加', '省份表添加', '/SysProvinceController/add', 0, '340068151804956672', 'gen:sysProvince:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400681518049566753', '省份表删除', '省份表删除', '/SysProvinceController/remove', 0, '340068151804956672', 'gen:sysProvince:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400681518049566764', '省份表修改', '省份表修改', '/SysProvinceController/edit', 0, '340068151804956672', 'gen:sysProvince:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('340088022018166784', '城市表管理', '城市设置展示', '/SysCityController/view', 0, '340067579836108800', 'gen:sysCity:view', 1, 'fa fa-quora', 3, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400880220181667851', '城市设置集合', '城市设置集合', '/SysCityController/list', 0, '340088022018166784', 'gen:sysCity:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400880220181667862', '城市设置添加', '城市设置添加', '/SysCityController/add', 0, '340088022018166784', 'gen:sysCity:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400880220181667873', '城市设置删除', '城市设置删除', '/SysCityController/remove', 0, '340088022018166784', 'gen:sysCity:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400880220181667884', '城市设置修改', '城市设置修改', '/SysCityController/edit', 0, '340088022018166784', 'gen:sysCity:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('340096183135506432', '地区设置管理', '地区设置展示', '/SysAreaController/view', 0, '340067579836108800', 'gen:sysArea:view', 1, 'fa fa-quora', 4, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400961831355064331', '地区设置集合', '地区设置集合', '/SysAreaController/list', 0, '340096183135506432', 'gen:sysArea:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400961831355064342', '地区设置添加', '地区设置添加', '/SysAreaController/add', 0, '340096183135506432', 'gen:sysArea:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400961831355064353', '地区设置删除', '地区设置删除', '/SysAreaController/remove', 0, '340096183135506432', 'gen:sysArea:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3400961831355064364', '地区设置修改', '地区设置修改', '/SysAreaController/edit', 0, '340096183135506432', 'gen:sysArea:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('340127412270534656', '街道设置管理', '街道设置展示', '/SysStreetController/view', 0, '340067579836108800', 'gen:sysStreet:view', 1, 'fa fa-quora', 5, 0);
-INSERT INTO `t_sys_permission` VALUES ('3401274122705346571', '街道设置集合', '街道设置集合', '/SysStreetController/list', 0, '340127412270534656', 'gen:sysStreet:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3401274122705346582', '街道设置添加', '街道设置添加', '/SysStreetController/add', 0, '340127412270534656', 'gen:sysStreet:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3401274122705346593', '街道设置删除', '街道设置删除', '/SysStreetController/remove', 0, '340127412270534656', 'gen:sysStreet:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3401274122705346604', '街道设置修改', '街道设置修改', '/SysStreetController/edit', 0, '340127412270534656', 'gen:sysStreet:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('340301160042860544', '省份联动', '省份联动', '/ProvinceLinkageController/view', 0, '340067579836108800', '#', 1, 'fa fa-etsy', 1, 0);
-INSERT INTO `t_sys_permission` VALUES ('340381240911859712', 'JavaScript格式化', 'JavaScript格式化', '/static/admin/htmlformat/javascriptFormat.html', 1, '617766548966211584', '#', 1, 'fa fa-magic', 11, 0);
-INSERT INTO `t_sys_permission` VALUES ('354851114446884864', '七牛文件上传', '七牛文件上传', '/QiNiuCloudController/view', 0, '592059865673760768', 'system:qiNiuCloud:view', 1, 'fa fa-globe', 15, 0);
-INSERT INTO `t_sys_permission` VALUES ('354865752219717632', '云文件集合', '云文件集合', '/QiNiuCloudController/list', 0, '354851114446884864', 'system:qiNiuCloud:list', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('373489907429150720', 'URL拦截管理', '拦截url表展示', '/SysInterUrlController/view', 0, '617766548966211584', 'gen:sysInterUrl:view', 1, 'fa fa-hand-stop-o', 16, 0);
-INSERT INTO `t_sys_permission` VALUES ('3734899074291507211', '拦截url表集合', '拦截url表集合', '/SysInterUrlController/list', 0, '373489907429150720', 'gen:sysInterUrl:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3734899074291507222', '拦截url表添加', '拦截url表添加', '/SysInterUrlController/add', 0, '373489907429150720', 'gen:sysInterUrl:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3734899074291507233', '拦截url表删除', '拦截url表删除', '/SysInterUrlController/remove', 0, '373489907429150720', 'gen:sysInterUrl:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('3734899074291507244', '拦截url表修改', '拦截url表修改', '/SysInterUrlController/edit', 0, '373489907429150720', 'gen:sysInterUrl:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('4', '用户管理', '用户展示', '/UserController/view', 0, '411522822607867904', 'system:user:view', 1, 'icon icon-user', 1, 0);
-INSERT INTO `t_sys_permission` VALUES ('410791701859405824', '岗位管理', '岗位展示', '/SysPositionController/view', 0, '411522822607867904', 'gen:sysPosition:view', 1, 'fa fa-vcard', 17, 0);
-INSERT INTO `t_sys_permission` VALUES ('4107917018594058251', '岗位表集合', '岗位集合', '/SysPositionController/list', 0, '410791701859405824', 'gen:sysPosition:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('4107917018594058262', '岗位表添加', '岗位添加', '/SysPositionController/add', 0, '410791701859405824', 'gen:sysPosition:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('4107917018594058273', '岗位表删除', '岗位删除', '/SysPositionController/remove', 0, '410791701859405824', 'gen:sysPosition:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('4107917018594058284', '岗位表修改', '岗位修改', '/SysPositionController/edit', 0, '410791701859405824', 'gen:sysPosition:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('410989805699207168', '部门管理', '部门展示', '/SysDepartmentController/view', 0, '411522822607867904', 'gen:sysDepartment:view', 1, 'fa fa-odnoklassniki', 18, 0);
-INSERT INTO `t_sys_permission` VALUES ('4109898056992071691', '部门集合', '部门集合', '/SysDepartmentController/list', 0, '410989805699207168', 'gen:sysDepartment:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('4109898056992071702', '部门添加', '部门添加', '/SysDepartmentController/add', 0, '410989805699207168', 'gen:sysDepartment:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('4109898056992071713', '部门删除', '部门删除', '/SysDepartmentController/remove', 0, '410989805699207168', 'gen:sysDepartment:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('4109898056992071724', '部门修改', '部门修改', '/SysDepartmentController/edit', 0, '410989805699207168', 'gen:sysDepartment:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('411522822607867904', '用户管理', '用户管理', '#', 0, '496782496638173184', '#', 1, 'fa fa-id-badge', 3, 0);
-INSERT INTO `t_sys_permission` VALUES ('486690002869157888', '用户密码修改', '用户密码修改', '/UserController/editPwd', 0, '4', 'system:user:editPwd', 2, 'entypo-tools', 3, 0);
-INSERT INTO `t_sys_permission` VALUES ('496126970468237312', '日志展示', '日志管理', '/LogController/view', 0, '592059865673760768', 'system:log:view', 1, 'fa fa-info', 9, 0);
-INSERT INTO `t_sys_permission` VALUES ('496127240363311104', '日志删除', '日志删除', '/LogController/remove', 0, '496126970468237312', 'system:log:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('496127794879660032', '日志集合', '日志集合', '/LogController/list', 0, '496126970468237312', 'system:log:list', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('496782496638173184', '系统设置', '后台设置', NULL, 0, '1', NULL, 0, 'fa fa-gear', 3, 0);
-INSERT INTO `t_sys_permission` VALUES ('5', '用户集合', '用户集合', '/UserController/list', 0, '4', 'system:user:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('581541547099553792', 'druid监控', 'druid监控', '/druid/', 0, '617766548966211584', 'user:list', 1, 'fa fa-line-chart', 6, 0);
-INSERT INTO `t_sys_permission` VALUES ('583063272123531264', 'API文档', 'API文档', '/swagger-ui.html', 1, '617766548966211584', '--', 1, 'fa fa-font', 8, 0);
-INSERT INTO `t_sys_permission` VALUES ('586003694080753664', '表单构建', '表单构建', '/ToolController/view', 0, '617766548966211584', 'system:tool:view', 1, 'fa fa-list-alt', 5, 0);
-INSERT INTO `t_sys_permission` VALUES ('587453033487532032', '后台模板', '后台模板', '/static/admin/bootstarp/index.html', 1, '617766548966211584', 'system:htmb:view', 1, 'fa fa-telegram', 9, 0);
-INSERT INTO `t_sys_permission` VALUES ('589559475422101504', '测试目录', '测试目录', NULL, 0, '1', NULL, 0, 'fa fa-etsy', 5, 0);
-INSERT INTO `t_sys_permission` VALUES ('589559748521623552', '一级菜单', '测试菜单', '#', 0, '589559475422101504', '#', 1, 'fa fa-address-book', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('589559916704825344', '二级菜单', '二级菜单', '#', 0, '589559748521623552', '#', 1, 'fa fa-address-book', 1, 0);
-INSERT INTO `t_sys_permission` VALUES ('592059865673760768', '系统管理', '后台管理', '#', 0, '496782496638173184', '#', 1, 'fa fa-home', 1, 0);
-INSERT INTO `t_sys_permission` VALUES ('592067570522128384', '测试跳转', '测试跳转', 'http://www.baidu.com', 1, '589559748521623552', '#', 1, 'fa fa-address-book', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('592167738407911424', '系统监控', '系统监控', '/ServiceController/view', 0, '617766548966211584', 'system:service:view', 1, 'fa fa-video-camera', 7, 0);
-INSERT INTO `t_sys_permission` VALUES ('594691026430459904', '电子邮件管理', '电子邮件展示', '/EmailController/view', 0, '592059865673760768', 'system:email:view', 1, 'fa fa-envelope', 8, 0);
-INSERT INTO `t_sys_permission` VALUES ('5946910264304599041', '电子邮件集合', '电子邮件集合', '/EmailController/list', 0, '594691026430459904', 'system:email:list', 2, '', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('5946910264304599042', '电子邮件添加', '电子邮件添加', '/EmailController/add', 0, '594691026430459904', 'system:email:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('5946910264304599043', '电子邮件删除', '电子邮件删除', '/EmailController/remove', 0, '594691026430459904', 'system:email:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('5946910264304599044', '电子邮件修改', '电子邮件修改', '/EmailController/edit', 0, '594691026430459904', 'system:email:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('6', '用户添加', '用户添加', '/UserController/add', 0, '4', 'system:user:add', 2, 'entypo-plus-squared', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('610635485890478080', '代码生成新', '代码生成2', '#', 0, '617751079701970944', '#', 1, 'fa fa-blind', 1, 0);
-INSERT INTO `t_sys_permission` VALUES ('610635950447394816', '全局配置', '', '/autoCodeController/global', 0, '610635485890478080', 'system:autocode:global', 1, 'fa fa-university', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('610983815791247360', '单表生成', '', '/autoCodeController/one', 0, '610635485890478080', 'system:autocode:one', 1, 'fa fa-hand-peace-o', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('617751079701970944', '代码生成', '代码生成', NULL, 0, '1', NULL, 0, 'fa fa-500px', 4, 0);
-INSERT INTO `t_sys_permission` VALUES ('617766548966211584', '系统工具', '系统工具', '#', 0, '496782496638173184', '#', 1, 'fa fa-th-large', 2, 0);
-INSERT INTO `t_sys_permission` VALUES ('618918631769636864', '字典管理', '字典类型表展示', '/DictTypeController/view', 0, '592059865673760768', 'system:dictType:view', 1, 'fa fa-puzzle-piece', 11, 0);
-INSERT INTO `t_sys_permission` VALUES ('6189186317738311681', '字典类型表集合', '字典类型表集合', '/DictTypeController/list', 0, '618918631769636864', 'system:dictType:list', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('6189186317948026882', '字典类型表添加', '字典类型表添加', '/DictTypeController/add', 0, '618918631769636864', 'system:dictType:add', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('6189186317948026883', '字典类型表删除', '字典类型表删除', '/DictTypeController/remove', 0, '618918631769636864', 'system:dictType:remove', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('6189186317989969924', '字典类型表修改', '字典类型表修改', '/DictTypeController/edit', 0, '618918631769636864', 'system:dictType:edit', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('6192095214866268161', '字典数据表集合', '字典数据表集合', '/DictDataController/list', 0, '618918631769636864', 'system:dictData:list', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('6192095214866268162', '字典数据表添加', '字典数据表添加', '/DictDataController/add', 0, '618918631769636864', 'system:dictData:add', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('6192095215075983363', '字典数据表删除', '字典数据表删除', '/DictDataController/remove', 0, '618918631769636864', 'system:dictData:remove', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('6192095215075983364', '字典数据表修改', '字典数据表修改', '/DictDataController/edit', 0, '618918631769636864', 'system:dictData:edit', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('619836559427895296', '字典数据视图', '字典数据视图', '/DictDataController/view', 0, '618918631769636864', 'system:dictData:view', 2, NULL, NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('7', '用户删除', '用户删除', '/UserController/remove', 0, '4', 'system:user:remove', 2, 'entypo-trash', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('8', '用户修改', '用户修改', '/UserController/edit', 0, '4', 'system:user:edit', 2, 'fa fa-wrench', NULL, 0);
-INSERT INTO `t_sys_permission` VALUES ('9', '角色管理', '角色展示', '/RoleController/view', 0, '411522822607867904', 'system:role:view', 1, 'fa fa-group', 2, 0);
-
-DROP TABLE IF EXISTS `t_sys_permission_role`;
-CREATE TABLE `t_sys_permission_role`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
-  `role_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '角色id',
-  `permission_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限id',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色权限中间表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_permission_role` VALUES ('00f5a7dd-aade-48e1-ab6c-b6c6ae55ba17', '488243256161730560', '6189186317989969924');
-INSERT INTO `t_sys_permission_role` VALUES ('0288d610-cf71-4feb-9743-1b4159133aba', '488243256161730560', '6');
-INSERT INTO `t_sys_permission_role` VALUES ('080ca00b-9064-4b58-ad4f-4614c46d9946', '488243256161730560', '619836559427895296');
-INSERT INTO `t_sys_permission_role` VALUES ('08ac61ee-8a0b-46f8-b8bc-d3d8b5cff933', '488243256161730560', '373489907429150720');
-INSERT INTO `t_sys_permission_role` VALUES ('0d5155e7-4423-42fd-b9ee-460918cbef3a', '488243256161730560', '17');
-INSERT INTO `t_sys_permission_role` VALUES ('11b4dd0d-75dd-446e-bbfe-cd12f346cda8', '488243256161730560', '5');
-INSERT INTO `t_sys_permission_role` VALUES ('145cea49-ff47-450a-8c27-3e3cbbc7c60d', '488243256161730560', '9');
-INSERT INTO `t_sys_permission_role` VALUES ('188d620a-f504-443e-81d8-4f29ef46aa6a', '488243256161730560', '3734899074291507233');
-INSERT INTO `t_sys_permission_role` VALUES ('194d4634-737a-4336-a82f-a914dded2140', '488243256161730560', '581541547099553792');
-INSERT INTO `t_sys_permission_role` VALUES ('1ab3d4b6-7876-4a0f-9b42-12a56a9fa696', '488243256161730560', '20');
-INSERT INTO `t_sys_permission_role` VALUES ('1fa14574-c306-4899-a0f5-4a24ba2273b2', '488243256161730560', '3401274122705346571');
-INSERT INTO `t_sys_permission_role` VALUES ('23b54f95-7b01-4e6b-aaef-13516f93aa3d', '488243256161730560', '5946910264304599042');
-INSERT INTO `t_sys_permission_role` VALUES ('2452aab4-af27-4dd0-af9d-090c157788c0', '488243256161730560', '340088022018166784');
-INSERT INTO `t_sys_permission_role` VALUES ('26fd0d2f-dae9-4541-9500-9402ba237aa8', '488243256161730560', '617766548966211584');
-INSERT INTO `t_sys_permission_role` VALUES ('2e070fac-209e-45ac-affc-d672ea0df32a', '488243256161730560', '12');
-INSERT INTO `t_sys_permission_role` VALUES ('2e64bbba-554e-4a79-a2c6-25ec27c55dd2', '488243256161730560', '589559748521623552');
-INSERT INTO `t_sys_permission_role` VALUES ('2f93e749-73f2-470d-952b-992f8d3685b9', '488243256161730560', '3321578609202995233');
-INSERT INTO `t_sys_permission_role` VALUES ('36e2b586-2631-487f-99ba-dbc7f31eea63', '488243256161730560', '331778807298134016');
-INSERT INTO `t_sys_permission_role` VALUES ('36ed1b19-7c33-47ce-af2a-b0be67851fbe', '488243256161730560', '586003694080753664');
-INSERT INTO `t_sys_permission_role` VALUES ('3772c6cc-d79d-4408-a01a-f0a0edac86c1', '488243256161730560', '6192095214866268162');
-INSERT INTO `t_sys_permission_role` VALUES ('3922a07d-275e-4edc-86be-107d9f58fc63', '488243256161730560', '1');
-INSERT INTO `t_sys_permission_role` VALUES ('3aa1f0c9-f796-44f7-85dc-ee8e675c5c80', '488243256161730560', '3328572814798397473');
-INSERT INTO `t_sys_permission_role` VALUES ('3b993e78-5da0-4596-a874-d4ef0306f53b', '488243256161730560', '15');
-INSERT INTO `t_sys_permission_role` VALUES ('46afd40d-4bf4-4573-8e26-a34cc11230e8', '488243256161730560', '3328572814798397451');
-INSERT INTO `t_sys_permission_role` VALUES ('47e7b98c-6bde-48be-bf64-059628609a23', '488243256161730560', '610983815791247360');
-INSERT INTO `t_sys_permission_role` VALUES ('47ee46fa-23f3-40e7-839a-26a8aa05b5b8', '488243256161730560', '4109898056992071713');
-INSERT INTO `t_sys_permission_role` VALUES ('48c92484-21ef-49a3-90c3-e8291bcee8af', '488243256161730560', '4107917018594058251');
-INSERT INTO `t_sys_permission_role` VALUES ('4ad5fec2-3c78-4dbd-b6e6-fca41df41caa', '488243256161730560', '10');
-INSERT INTO `t_sys_permission_role` VALUES ('4b486c0f-357a-4764-83e0-adbe0e091607', '488243256161730560', '410791701859405824');
-INSERT INTO `t_sys_permission_role` VALUES ('4f9a679d-d18a-4364-99c1-a865689c3a8d', '488243256161730560', '496782496638173184');
-INSERT INTO `t_sys_permission_role` VALUES ('4f9c4478-8135-4323-88d5-6a55c49edbde', '488243256161730560', '340068151804956672');
-INSERT INTO `t_sys_permission_role` VALUES ('5006759c-0fa6-43a6-979e-3904e6296315', '488243256161730560', '4107917018594058284');
-INSERT INTO `t_sys_permission_role` VALUES ('526a737c-0d35-4d70-aee8-3b26091b9a02', '488243256161730560', '3734899074291507222');
-INSERT INTO `t_sys_permission_role` VALUES ('530b468a-602d-4a0a-bb11-4a71ceee2004', '488243256161730560', '3400681518049566764');
-INSERT INTO `t_sys_permission_role` VALUES ('56099058-7695-4108-87e7-61fd5c1d7ca2', '488243256161730560', '340067579836108800');
-INSERT INTO `t_sys_permission_role` VALUES ('575e2f5d-8d6d-4253-83fd-7ff05f4684cf', '488243256161730560', '5946910264304599044');
-INSERT INTO `t_sys_permission_role` VALUES ('591a0bb3-719f-4c70-881b-f67d431713de', '488243256161730560', '3400681518049566742');
-INSERT INTO `t_sys_permission_role` VALUES ('5b8fcb9f-47fc-4742-90e4-dbf060654cf0', '488243256161730560', '4107917018594058262');
-INSERT INTO `t_sys_permission_role` VALUES ('5bb80271-b72a-4979-9784-dd3a84feedca', '488243256161730560', '14');
-INSERT INTO `t_sys_permission_role` VALUES ('5c48b868-b831-464c-a2d6-a2e77cfb0019', '488243256161730560', '3321578609202995222');
-INSERT INTO `t_sys_permission_role` VALUES ('5cf4e018-a8c1-4479-86e8-957f6837213c', '488243256161730560', '340066503263129600');
-INSERT INTO `t_sys_permission_role` VALUES ('5f260ac5-217c-4b72-8a31-e45b8263fb01', '488243256161730560', '3734899074291507211');
-INSERT INTO `t_sys_permission_role` VALUES ('5fac6fb5-ede9-4819-8715-7299e18678ef', '488243256161730560', '21');
-INSERT INTO `t_sys_permission_role` VALUES ('647ae050-b41c-4354-b4c7-a658ccdffde5', '488243256161730560', '3400961831355064331');
-INSERT INTO `t_sys_permission_role` VALUES ('65c9d55a-53bb-49e0-b8ed-08b2aca9a1ea', '488243256161730560', '6192095215075983364');
-INSERT INTO `t_sys_permission_role` VALUES ('67e1b2e5-f19d-4fbe-baf6-f98f3c71fb54', '488243256161730560', '610635485890478080');
-INSERT INTO `t_sys_permission_role` VALUES ('6a4c2c13-3726-4703-a5dc-4c7caa662a4f', '488243256161730560', '332157860920299520');
-INSERT INTO `t_sys_permission_role` VALUES ('6d1072d4-9a25-43f5-9384-c3658f37792e', '488243256161730560', '6192095214866268161');
-INSERT INTO `t_sys_permission_role` VALUES ('6db7ae1e-0854-4af7-8a92-355e417d5ca8', '488243256161730560', '3303650266428252171');
-INSERT INTO `t_sys_permission_role` VALUES ('6dee48e4-0644-4126-b9d1-c66f62a21d9b', '488243256161730560', '354851114446884864');
-INSERT INTO `t_sys_permission_role` VALUES ('72d136f9-48bb-4b7e-9a43-3d7978bc9b3d', '488243256161730560', '3400681518049566731');
-INSERT INTO `t_sys_permission_role` VALUES ('749a7107-551b-46f3-bde9-5c659e64aac5', '488243256161730560', '4109898056992071724');
-INSERT INTO `t_sys_permission_role` VALUES ('780da272-8867-4fe2-b938-db9ece0698d8', '488243256161730560', '18');
-INSERT INTO `t_sys_permission_role` VALUES ('7832cfcd-b632-4737-ae3b-26507c710e2e', '488243256161730560', '3734899074291507244');
-INSERT INTO `t_sys_permission_role` VALUES ('7c4878d1-0781-4198-8ef3-00faf914b018', '488243256161730560', '3400961831355064342');
-INSERT INTO `t_sys_permission_role` VALUES ('802a69b1-8c7c-4495-b40e-efeea17bba82', '488243256161730560', '3400880220181667873');
-INSERT INTO `t_sys_permission_role` VALUES ('802ec6a4-67bf-49ba-ae10-d195de9d5d61', '488243256161730560', '496126970468237312');
-INSERT INTO `t_sys_permission_role` VALUES ('81b6a49e-7819-4c90-8d89-520d418761bf', '488243256161730560', '486690002869157888');
-INSERT INTO `t_sys_permission_role` VALUES ('823d9886-7b55-4435-bfcc-464300e8f3f8', '488243256161730560', '6189186317738311681');
-INSERT INTO `t_sys_permission_role` VALUES ('8484e6b6-3c62-448c-bd2c-cfd86c6acce3', '488243256161730560', '594691026430459904');
-INSERT INTO `t_sys_permission_role` VALUES ('8af73c66-02e2-46d6-9da3-c9f917794aa2', '488243256161730560', '3400880220181667884');
-INSERT INTO `t_sys_permission_role` VALUES ('8ecb3ca7-78a1-44b6-bd5a-352078cd0d25', '488243256161730560', '13');
-INSERT INTO `t_sys_permission_role` VALUES ('8f838d55-a93d-4254-b2fc-234e47e0df63', '488243256161730560', '618918631769636864');
-INSERT INTO `t_sys_permission_role` VALUES ('8f92acf4-dffa-4874-b15a-6ddf65699d62', '488243256161730560', '5946910264304599043');
-INSERT INTO `t_sys_permission_role` VALUES ('8f9b7847-9a40-44f7-9a03-a7af899976d6', '488243256161730560', '4109898056992071702');
-INSERT INTO `t_sys_permission_role` VALUES ('909e9f9b-df22-4252-8a44-dead4b1c458a', '488243256161730560', '6189186317948026883');
-INSERT INTO `t_sys_permission_role` VALUES ('9556686a-a0f0-43b7-a2a9-a3d90645900e', '488243256161730560', '3401274122705346604');
-INSERT INTO `t_sys_permission_role` VALUES ('98295c7a-5cd2-4e4b-8966-54ac55cfc6b1', '488243256161730560', '7');
-INSERT INTO `t_sys_permission_role` VALUES ('9ac3ab3e-e7e0-4c8e-b3c4-f3773e2a29a0', '488243256161730560', '23');
-INSERT INTO `t_sys_permission_role` VALUES ('9f1749cb-34d5-46f7-81ba-6a2e636248c1', '488243256161730560', '6189186317948026882');
-INSERT INTO `t_sys_permission_role` VALUES ('a04bff85-d099-48de-99d7-4d92e6b93b3a', '488243256161730560', '340381240911859712');
-INSERT INTO `t_sys_permission_role` VALUES ('a0c55b95-09dd-42c9-9315-4a6176067a0b', '488243256161730560', '411522822607867904');
-INSERT INTO `t_sys_permission_role` VALUES ('a5172ef8-6df2-4843-a6d2-f4ec0cc9cb1c', '488243256161730560', '496127794879660032');
-INSERT INTO `t_sys_permission_role` VALUES ('a620b51c-0f7b-4d68-9de7-829b9ca30e0f', '488243256161730560', '6192095215075983363');
-INSERT INTO `t_sys_permission_role` VALUES ('a7078965-ab1f-4365-aec2-ac6702278447', '488243256161730560', '3401274122705346593');
-INSERT INTO `t_sys_permission_role` VALUES ('ade88652-aa1e-40e0-b118-910a7255490f', '488243256161730560', '16');
-INSERT INTO `t_sys_permission_role` VALUES ('b07018d2-b37c-47fa-9118-86001cda93ca', '488243256161730560', '3321578609202995244');
-INSERT INTO `t_sys_permission_role` VALUES ('b2ca977b-e99b-4bc5-b912-8d0aed07ea8e', '488243256161730560', '3303650266428252182');
-INSERT INTO `t_sys_permission_role` VALUES ('b3459d7b-835b-4ea2-80da-dbdc3065e6d4', '488243256161730560', '4');
-INSERT INTO `t_sys_permission_role` VALUES ('b45a34d9-0dcc-4c52-ad93-5b065cb38705', '488243256161730560', '592059865673760768');
-INSERT INTO `t_sys_permission_role` VALUES ('b5579fc4-e1f8-485d-a778-a3e14bef9425', '488243256161730560', '4109898056992071691');
-INSERT INTO `t_sys_permission_role` VALUES ('b6959769-3615-489e-8fd4-ec1bde9adedd', '488243256161730560', '3401274122705346582');
-INSERT INTO `t_sys_permission_role` VALUES ('b96a754a-ec9d-4887-8ef8-b7c3d1f04d22', '488243256161730560', '3303650266428252204');
-INSERT INTO `t_sys_permission_role` VALUES ('b9ef144f-fc2f-47fd-8034-eaeb15ee5985', '488243256161730560', '340096183135506432');
-INSERT INTO `t_sys_permission_role` VALUES ('bfae4b29-035f-4699-a8cf-157e0e55dde6', '488243256161730560', '589559475422101504');
-INSERT INTO `t_sys_permission_role` VALUES ('bfbc6cce-f196-4e3b-8796-edaa770ddd8d', '488243256161730560', '330365026642825216');
-INSERT INTO `t_sys_permission_role` VALUES ('c4c211f5-0052-4ae4-92ff-2b69f16b755d', '488243256161730560', '354865752219717632');
-INSERT INTO `t_sys_permission_role` VALUES ('c4c6b3f8-179b-40a9-accc-c5af78951a21', '488243256161730560', '610635950447394816');
-INSERT INTO `t_sys_permission_role` VALUES ('c54e21d7-e799-43d5-8199-4c2cc85709c8', '488243256161730560', '583063272123531264');
-INSERT INTO `t_sys_permission_role` VALUES ('c6d5d8be-173e-479d-82ca-adba276660a1', '488243256161730560', '340127412270534656');
-INSERT INTO `t_sys_permission_role` VALUES ('c78671d0-c214-4f42-b64b-00149f9ef20b', '488243256161730560', '332857281479839744');
-INSERT INTO `t_sys_permission_role` VALUES ('c7cdf048-7f19-4c4b-a853-b0d3acf89e1e', '488243256161730560', '3303650266428252193');
-INSERT INTO `t_sys_permission_role` VALUES ('c9c3d31c-68b1-46ff-b8ac-89082e76e5d4', '488243256161730560', '3400880220181667862');
-INSERT INTO `t_sys_permission_role` VALUES ('cb648947-50c7-48a1-8552-1de911ec3a93', '488243256161730560', '589559916704825344');
-INSERT INTO `t_sys_permission_role` VALUES ('cc2aba76-5c5d-4ee6-813d-a06098f7393b', '488243256161730560', '3400961831355064353');
-INSERT INTO `t_sys_permission_role` VALUES ('cc4a51cb-4e1a-45e5-95e4-a4da10a542dc', '488243256161730560', '4107917018594058273');
-INSERT INTO `t_sys_permission_role` VALUES ('d20961a7-59c8-4baf-904a-a2a9f8ec4aa1', '488243256161730560', '3400961831355064364');
-INSERT INTO `t_sys_permission_role` VALUES ('d238d761-a714-4dd0-abca-a4b6a277f5be', '488243256161730560', '587453033487532032');
-INSERT INTO `t_sys_permission_role` VALUES ('d6d8c57a-49e1-4034-8f31-a30c020c3a6a', '488243256161730560', '8');
-INSERT INTO `t_sys_permission_role` VALUES ('d84588cf-f2c2-4e90-87e7-97d47aa8bee9', '488243256161730560', '19');
-INSERT INTO `t_sys_permission_role` VALUES ('de2d1014-5bda-4e35-98ef-d10fdf0d43f2', '488243256161730560', '3321578609202995211');
-INSERT INTO `t_sys_permission_role` VALUES ('df01a688-0844-4a8a-9d67-576bdb033f0b', '488243256161730560', '592067570522128384');
-INSERT INTO `t_sys_permission_role` VALUES ('df6d7f81-f7ab-48b0-bccb-7ff08f39be19', '488243256161730560', '3400880220181667851');
-INSERT INTO `t_sys_permission_role` VALUES ('dfd8a805-9676-44a9-9b81-e25e76e0483d', '488243256161730560', '335330315113467904');
-INSERT INTO `t_sys_permission_role` VALUES ('e0c94f85-bdd4-4cf7-8e35-fc80db413d48', '488243256161730560', '22');
-INSERT INTO `t_sys_permission_role` VALUES ('ec7b004c-7362-44f5-badf-43f74472acfb', '488243256161730560', '617751079701970944');
-INSERT INTO `t_sys_permission_role` VALUES ('ed357b2d-c1c5-4d64-81b3-a5b23c727fa7', '488243256161730560', '3400681518049566753');
-INSERT INTO `t_sys_permission_role` VALUES ('ef766641-d9cb-447b-a165-454f644d8457', '488243256161730560', '410989805699207168');
-INSERT INTO `t_sys_permission_role` VALUES ('f43bdd4e-9836-403a-b69a-c7362dc62c87', '488243256161730560', '5946910264304599041');
-INSERT INTO `t_sys_permission_role` VALUES ('f477ad00-3133-4c86-83b1-d762a111697d', '488243256161730560', '496127240363311104');
-INSERT INTO `t_sys_permission_role` VALUES ('f8d0a6cf-0f69-4e41-b050-14922bae7c0b', '488243256161730560', '11');
-INSERT INTO `t_sys_permission_role` VALUES ('fc36a1e3-c69a-4afd-b0d0-3494db4204c5', '488243256161730560', '340301160042860544');
-INSERT INTO `t_sys_permission_role` VALUES ('fcd6edba-6de2-4b6f-af65-5b0acd644acd', '488243256161730560', '592167738407911424');
-
-DROP TABLE IF EXISTS `t_sys_position`;
-CREATE TABLE `t_sys_position`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
-  `post_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '岗位名称',
-  `order_num` int(11) NULL DEFAULT NULL COMMENT '排序',
-  `status` int(11) NULL DEFAULT NULL COMMENT '状态',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_position` VALUES ('410792368778907648', '总经理', 1, 1);
-INSERT INTO `t_sys_position` VALUES ('410792443127140352', '技术经理', 2, 1);
-INSERT INTO `t_sys_position` VALUES ('410792478929719296', '人事经理', 3, 1);
-INSERT INTO `t_sys_position` VALUES ('411477874382606336', '员工', 4, 1);
-
-DROP TABLE IF EXISTS `t_sys_province`;
-CREATE TABLE `t_sys_province`  (
-  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增列',
-  `province_code` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '省份代码',
-  `province_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '省份名称',
-  `short_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '简称',
-  `lng` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '经度',
-  `lat` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '纬度',
-  `sort` int(6) NULL DEFAULT NULL COMMENT '排序',
-  `gmt_create` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  `gmt_modified` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
-  `memo` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
-  `data_state` int(11) NULL DEFAULT NULL COMMENT '状态',
-  PRIMARY KEY (`id`) USING BTREE,
-  INDEX `Index_1`(`province_code`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 23 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '省份表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_province` VALUES (22, '500000', '重庆', '重庆', '106.504959', '29.533155', 22, '2019-02-28 17:16:58', '2019-02-28 17:17:05', '', 0);
-
-DROP TABLE IF EXISTS `t_sys_quartz_job`;
-CREATE TABLE `t_sys_quartz_job`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '日志id',
-  `job_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务名称',
-  `job_group` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务组名',
-  `invoke_target` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '调用目标字符串',
-  `cron_expression` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'cron执行表达式',
-  `misfire_policy` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'cron计划策略',
-  `concurrent` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否并发执行(0允许 1禁止)',
-  `status` int(11) NULL DEFAULT NULL COMMENT '任务状态(0正常 1暂停)',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_quartz_job` VALUES ('332182389491109888', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', '*/10 * * * * ?', '1', '1', 1);
-
-DROP TABLE IF EXISTS `t_sys_quartz_job_log`;
-CREATE TABLE `t_sys_quartz_job_log`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
-  `job_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务名称',
-  `job_group` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务组名',
-  `invoke_target` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '调用目标字符串',
-  `job_message` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '日志信息',
-  `status` int(11) NULL DEFAULT NULL COMMENT '执行状态(0正常 1失败)',
-  `exception_info` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '异常信息',
-  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
-  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度日志表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_quartz_job_log` VALUES ('333610541354455040', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:3毫秒', 0, NULL, '2019-09-17 00:16:01', '2019-09-17 00:16:01');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('333610547549442048', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2019-09-17 00:16:03', '2019-09-17 00:16:03');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('333610553832509440', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2019-09-17 00:16:04', '2019-09-17 00:16:04');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('333610558995697664', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2019-09-17 00:16:06', '2019-09-17 00:16:06');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('333610566486724608', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2019-09-17 00:16:07', '2019-09-17 00:16:07');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('333610572270669824', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2019-09-17 00:16:09', '2019-09-17 00:16:09');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('354984595927732224', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:3毫秒', 0, NULL, '2019-11-14 23:48:53', '2019-11-14 23:48:53');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('354990312722141184', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:2毫秒', 0, NULL, '2019-11-15 00:11:36', '2019-11-15 00:11:36');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('354996339316232192', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:3毫秒', 0, NULL, '2019-11-15 00:35:33', '2019-11-15 00:35:33');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421274211356672', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:5毫秒', 0, NULL, '2020-04-29 18:22:40', '2020-04-29 18:22:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421274303631360', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:22:40', '2020-04-29 18:22:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421274324602880', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:22:40', '2020-04-29 18:22:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421274366545920', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:22:40', '2020-04-29 18:22:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421315554611200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:22:50', '2020-04-29 18:22:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421357501845504', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:23:00', '2020-04-29 18:23:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421399453274112', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:23:10', '2020-04-29 18:23:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421441375342592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:23:20', '2020-04-29 18:23:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421483351937024', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:2毫秒', 0, NULL, '2020-04-29 18:23:30', '2020-04-29 18:23:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421525257228288', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:23:40', '2020-04-29 18:23:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421567233822720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:23:50', '2020-04-29 18:23:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421609130725376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:24:00', '2020-04-29 18:24:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421648662040576', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:24:09', '2020-04-29 18:24:09');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421651073765376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:24:10', '2020-04-29 18:24:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421693041971200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:24:20', '2020-04-29 18:24:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421734959845376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:24:30', '2020-04-29 18:24:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421776974188544', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:24:40', '2020-04-29 18:24:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421818862702592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:24:50', '2020-04-29 18:24:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421860805742592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:25:00', '2020-04-29 18:25:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415421902736199680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:25:10', '2020-04-29 18:25:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423552540512256', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:4毫秒', 0, NULL, '2020-04-29 18:31:43', '2020-04-29 18:31:43');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423552636981248', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:31:43', '2020-04-29 18:31:43');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423552670535680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:31:43', '2020-04-29 18:31:43');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423552687312896', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:31:43', '2020-04-29 18:31:43');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423552716673024', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:31:43', '2020-04-29 18:31:43');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423552741838848', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:31:43', '2020-04-29 18:31:43');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423559536611328', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:31:45', '2020-04-29 18:31:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423580482965504', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:31:50', '2020-04-29 18:31:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423601454485504', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:31:55', '2020-04-29 18:31:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423622405033984', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:32:00', '2020-04-29 18:32:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423643372359680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:32:05', '2020-04-29 18:32:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423664343879680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:32:10', '2020-04-29 18:32:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423685311205376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:32:15', '2020-04-29 18:32:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423706328862720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:32:20', '2020-04-29 18:32:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423727325548544', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:32:25', '2020-04-29 18:32:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423748250931200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:32:30', '2020-04-29 18:32:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423769188896768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:32:35', '2020-04-29 18:32:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423790227525632', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:32:40', '2020-04-29 18:32:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423811190657024', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:32:45', '2020-04-29 18:32:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423832178954240', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:32:50', '2020-04-29 18:32:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423853100142592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:32:55', '2020-04-29 18:32:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423874054885376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:33:00', '2020-04-29 18:33:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423895026405376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:33:05', '2020-04-29 18:33:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423916002119680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:33:10', '2020-04-29 18:33:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423937015582720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:33:15', '2020-04-29 18:33:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423957970325504', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:33:20', '2020-04-29 18:33:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423978925068288', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:33:25', '2020-04-29 18:33:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415423999942725632', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:33:30', '2020-04-29 18:33:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424020889079808', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:33:35', '2020-04-29 18:33:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424041894154240', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:33:40', '2020-04-29 18:33:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424062844702720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:33:45', '2020-04-29 18:33:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424083803639808', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:33:50', '2020-04-29 18:33:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424104754188288', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:33:55', '2020-04-29 18:33:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424125746679808', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:34:00', '2020-04-29 18:34:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424146726588416', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:34:05', '2020-04-29 18:34:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424167727468544', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:34:10', '2020-04-29 18:34:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424188678017024', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:34:15', '2020-04-29 18:34:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424209636954112', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:34:20', '2020-04-29 18:34:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424230595891200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:34:25', '2020-04-29 18:34:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424251567411200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:34:30', '2020-04-29 18:34:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424272559902720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:34:35', '2020-04-29 18:34:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424293518839808', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:34:40', '2020-04-29 18:34:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424314507137024', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:34:45', '2020-04-29 18:34:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424335436713984', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:34:50', '2020-04-29 18:34:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424356404039680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:34:55', '2020-04-29 18:34:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424377396531200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:35:00', '2020-04-29 18:35:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424398414188544', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:35:05', '2020-04-29 18:35:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424419326988288', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:35:10', '2020-04-29 18:35:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424440332062720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:35:15', '2020-04-29 18:35:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424461282611200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:35:20', '2020-04-29 18:35:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424482254131200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:35:25', '2020-04-29 18:35:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424503200485376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:35:30', '2020-04-29 18:35:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424524163616768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:35:35', '2020-04-29 18:35:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424545135136768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:35:40', '2020-04-29 18:35:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424566148599808', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:35:45', '2020-04-29 18:35:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424587103342592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:35:50', '2020-04-29 18:35:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424608150360064', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:35:55', '2020-04-29 18:35:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424629029605376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:36:00', '2020-04-29 18:36:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424650072428544', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:36:05', '2020-04-29 18:36:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424671035559936', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:36:10', '2020-04-29 18:36:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424691981914112', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:36:15', '2020-04-29 18:36:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424712961822720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:36:20', '2020-04-29 18:36:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424733899788288', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:36:25', '2020-04-29 18:36:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424754862919680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:36:30', '2020-04-29 18:36:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424775888965632', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:36:35', '2020-04-29 18:36:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424796797571072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:36:40', '2020-04-29 18:36:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424817836199936', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:36:45', '2020-04-29 18:36:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424838769971200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:36:50', '2020-04-29 18:36:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424859741491200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:36:55', '2020-04-29 18:36:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424880696233984', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:37:00', '2020-04-29 18:37:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424901705502720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:37:05', '2020-04-29 18:37:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424922681217024', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:37:10', '2020-04-29 18:37:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424943690485760', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:37:15', '2020-04-29 18:37:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424964632645632', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:37:20', '2020-04-29 18:37:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415424985562222592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:37:25', '2020-04-29 18:37:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425006516965376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:37:30', '2020-04-29 18:37:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425027484291072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:37:35', '2020-04-29 18:37:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425048476782592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:2毫秒', 0, NULL, '2020-04-29 18:37:40', '2020-04-29 18:37:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425069427331072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:37:45', '2020-04-29 18:37:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425090436599808', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:37:50', '2020-04-29 18:37:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425111412314112', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:37:55', '2020-04-29 18:37:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425132354473984', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:38:00', '2020-04-29 18:38:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425153334382592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:38:05', '2020-04-29 18:38:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425174335262720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:38:10', '2020-04-29 18:38:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425195290005504', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:38:15', '2020-04-29 18:38:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425216248942592', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:38:20', '2020-04-29 18:38:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425237224656896', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:2毫秒', 0, NULL, '2020-04-29 18:38:25', '2020-04-29 18:38:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425258200371200', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:38:30', '2020-04-29 18:38:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425279192862720', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:38:35', '2020-04-29 18:38:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425300126633984', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:38:40', '2020-04-29 18:38:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425321089765376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:38:45', '2020-04-29 18:38:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425342082256896', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:38:50', '2020-04-29 18:38:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425363041193984', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:38:55', '2020-04-29 18:38:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425384000131072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:39:00', '2020-04-29 18:39:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425404967456768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:39:05', '2020-04-29 18:39:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425425997697024', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:39:10', '2020-04-29 18:39:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425446956634112', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:39:15', '2020-04-29 18:39:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425467902988288', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:39:20', '2020-04-29 18:39:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425488866119680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:39:25', '2020-04-29 18:39:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425509825056768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:39:30', '2020-04-29 18:39:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425530800771072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:39:35', '2020-04-29 18:39:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425551768096768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:39:40', '2020-04-29 18:39:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425572743811072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:39:45', '2020-04-29 18:39:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425593706942464', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:39:50', '2020-04-29 18:39:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425614678462464', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:39:55', '2020-04-29 18:39:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425635654176768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:40:00', '2020-04-29 18:40:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425656629891072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:40:05', '2020-04-29 18:40:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425677597216768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:40:10', '2020-04-29 18:40:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425698568736768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:40:15', '2020-04-29 18:40:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425719540256768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:40:20', '2020-04-29 18:40:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425740515971072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:40:25', '2020-04-29 18:40:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425761487491072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:40:30', '2020-04-29 18:40:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425782454816768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:40:35', '2020-04-29 18:40:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425803430531072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:40:40', '2020-04-29 18:40:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425824397856768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:40:45', '2020-04-29 18:40:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425845373571072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:40:50', '2020-04-29 18:40:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425866340896768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:40:55', '2020-04-29 18:40:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425887312416768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:41:00', '2020-04-29 18:41:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425908283936768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:41:05', '2020-04-29 18:41:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425929255456768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:41:10', '2020-04-29 18:41:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425950226976768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:41:15', '2020-04-29 18:41:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425971198496768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:41:20', '2020-04-29 18:41:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415425992165822464', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:41:25', '2020-04-29 18:41:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426013141536768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:41:30', '2020-04-29 18:41:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426034117251072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:41:35', '2020-04-29 18:41:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426055088771072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:41:40', '2020-04-29 18:41:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426076056096768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:41:45', '2020-04-29 18:41:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426117479043072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:4毫秒', 0, NULL, '2020-04-29 18:41:51', '2020-04-29 18:41:51');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426138983239680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:42:00', '2020-04-29 18:42:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426180909502464', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:42:10', '2020-04-29 18:42:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426222856736768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:42:20', '2020-04-29 18:42:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426264799776768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:42:30', '2020-04-29 18:42:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426306742816768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:42:40', '2020-04-29 18:42:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426348685856768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:42:50', '2020-04-29 18:42:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426390633091072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:43:00', '2020-04-29 18:43:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426432580325376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:43:10', '2020-04-29 18:43:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426453539262464', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:43:15', '2020-04-29 18:43:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426474519171072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:2毫秒', 0, NULL, '2020-04-29 18:43:20', '2020-04-29 18:43:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426495486496768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:43:25', '2020-04-29 18:43:25');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426516462211072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:43:30', '2020-04-29 18:43:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426537437925376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:43:35', '2020-04-29 18:43:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426558417833984', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:43:40', '2020-04-29 18:43:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426579372576768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:43:45', '2020-04-29 18:43:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426600344096768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:43:50', '2020-04-29 18:43:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426789146497024', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:3毫秒', 0, NULL, '2020-04-29 18:44:35', '2020-04-29 18:44:35');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426810071879680', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:44:40', '2020-04-29 18:44:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426831039205376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:44:45', '2020-04-29 18:44:45');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426851998142464', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:44:50', '2020-04-29 18:44:50');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426872982245376', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:44:55', '2020-04-29 18:44:55');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426894041845760', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:45:00', '2020-04-29 18:45:00');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426914921091072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:45:05', '2020-04-29 18:45:05');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426935888416768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:45:10', '2020-04-29 18:45:10');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426956864131072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:45:15', '2020-04-29 18:45:15');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415426977835651072', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:1毫秒', 0, NULL, '2020-04-29 18:45:20', '2020-04-29 18:45:20');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415427019774496768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:45:30', '2020-04-29 18:45:30');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415427061713342464', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:45:40', '2020-04-29 18:45:40');
-INSERT INTO `t_sys_quartz_job_log` VALUES ('415427103660576768', 'v2Task2', 'SYSTEM', 'v2Task.runTask2(1,2l,\'asa\',true,2D)', 'v2Task2 总共耗时:0毫秒', 0, NULL, '2020-04-29 18:45:50', '2020-04-29 18:45:50');
-
-DROP TABLE IF EXISTS `t_sys_role`;
-CREATE TABLE `t_sys_role`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'id',
-  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '角色名称',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_role` VALUES ('488243256161730560', '管理员');
-INSERT INTO `t_sys_role` VALUES ('488289006124007424', '用户');
-INSERT INTO `t_sys_role` VALUES ('488305788310257664', '能修改用户密码角色');
-
-DROP TABLE IF EXISTS `t_sys_role_user`;
-CREATE TABLE `t_sys_role_user`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
-  `sys_user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户id',
-  `sys_role_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '角色id',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户角色中间表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_role_user` VALUES ('353711021275353089', '353711021275353088', '488289006124007424');
-INSERT INTO `t_sys_role_user` VALUES ('353714370687143936', '488294747442511872', '488289006124007424');
-INSERT INTO `t_sys_role_user` VALUES ('354984037766533120', '354984005751410688', '488243256161730560');
-INSERT INTO `t_sys_role_user` VALUES ('354988722443390977', '354988722443390976', '488243256161730560');
-INSERT INTO `t_sys_role_user` VALUES ('354989789679849472', '354989789675655168', '488305788310257664');
-INSERT INTO `t_sys_role_user` VALUES ('495571139645542400', '1', '488243256161730560');
-INSERT INTO `t_sys_role_user` VALUES ('612107905532952576', '612107905532952576', '488289006124007424');
-INSERT INTO `t_sys_role_user` VALUES ('612107905537146880', '612107905532952576', '488305788310257664');
-
-DROP TABLE IF EXISTS `t_sys_street`;
-CREATE TABLE `t_sys_street`  (
-  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增列',
-  `street_code` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '街道代码',
-  `area_code` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '父级区代码',
-  `street_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '街道名称',
-  `short_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '简称',
-  `lng` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '经度',
-  `lat` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '纬度',
-  `sort` int(6) NULL DEFAULT NULL COMMENT '排序',
-  `gmt_create` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  `gmt_modified` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
-  `memo` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
-  `data_state` int(11) NULL DEFAULT NULL COMMENT '状态',
-  PRIMARY KEY (`id`) USING BTREE,
-  INDEX `Index_1`(`street_code`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '街道设置' ROW_FORMAT = Dynamic;
-
-DROP TABLE IF EXISTS `t_sys_user`;
-CREATE TABLE `t_sys_user`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
-  `username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户账号',
-  `password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户密码',
-  `nickname` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '昵称',
-  `dep_id` int(11) NULL DEFAULT NULL COMMENT '部门id',
-  `pos_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '岗位id',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '用户表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_sys_user` VALUES ('1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '管理员', 2, '410792368778907648');
-INSERT INTO `t_sys_user` VALUES ('433236479427350528', 'gyee', '96e79218965eb72c92a549dd5a330112', '付册', 2, '410792443127140352');
-
-DROP TABLE IF EXISTS `t_test`;
-CREATE TABLE `t_test`  (
-  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
-  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '姓名',
-  `age` int(11) NULL DEFAULT NULL COMMENT '年龄',
-  `sex` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '性别',
-  PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '测试表' ROW_FORMAT = Dynamic;
-
-INSERT INTO `t_test` VALUES ('457067146405613568', '管理员', 2, '1');
-INSERT INTO `t_test` VALUES ('457067174939463680', '法院用户', 2, '1');
-INSERT INTO `t_test` VALUES ('457067196175224832', 'guest', 1, '3');
-INSERT INTO `t_test` VALUES ('457067220279889920', 'helloword', 1, '3');
-
-SET FOREIGN_KEY_CHECKS = 1;

二进制
web/health/lib/ueditor-1.1.2.jar


+ 72 - 443
web/health/pom.xml

@@ -10,523 +10,152 @@
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>health</artifactId>
-
-
+    <!-- 统一管理jar包版本 -->
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-        <java.version>1.8</java.version>
-        <commons.fileupload.version>1.3.3</commons.fileupload.version>
-        <commons.io.version>2.5</commons.io.version>
-        <tomcat.version>9.0.35</tomcat.version>
-        <spring-boot.version>2.3.7.RELEASE</spring-boot.version>
-        <spring-cloud-alibaba.version>2.2.5.RELEASE</spring-cloud-alibaba.version>
+        <maven.compiler.source>1.8</maven.compiler.source>
+        <maven.compiler.target>1.8</maven.compiler.target>
+        <junit.version>4.12</junit.version>
+        <log4j.version>2.15.0</log4j.version>
+        <lombok.version>1.18.16</lombok.version>
+        <mysql.version>5.1.45</mysql.version>
+        <druid.version>1.2.5</druid.version>
+        <mybatis.spring.boot.version>1.3.2</mybatis.spring.boot.version>
+        <mybatis-plus.boot.starter.version>3.5.3.1</mybatis-plus.boot.starter.version>
+        <mybatis-plus.generator.version>3.5.3.1</mybatis-plus.generator.version>
         <pgsql.version>42.2.5</pgsql.version>
+        <groovy.version>3.0.8</groovy.version>
     </properties>
-
-    <!-- https://mvnrepository.com/ 查找jar网站 -->
     <dependencies>
-        <!-- SpringBoot Web容器 -->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
         </dependency>
-
-        <!--		<dependency>-->
-        <!--			<groupId>org.mybatis.caches</groupId>-->
-        <!--			<artifactId>mybatis-ehcache</artifactId>-->
-        <!--			<version>1.2.1</version>-->
-        <!--		</dependency>-->
-        <!-- SpringBoot 测试 -->
         <dependency>
             <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-test</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <!-- 添加swagger2 -->
-        <dependency>
-            <groupId>io.springfox</groupId>
-            <artifactId>springfox-swagger2</artifactId>
-            <version>2.9.2</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>io.swagger</groupId>
-                    <artifactId>swagger-annotations</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>io.swagger</groupId>
-                    <artifactId>swagger-models</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>io.springfox</groupId>
-            <artifactId>springfox-swagger-ui</artifactId>
-            <version>2.9.2</version>
-        </dependency>
-        <dependency>
-            <groupId>io.swagger</groupId>
-            <artifactId>swagger-annotations</artifactId>
-            <version>1.5.21</version>
-        </dependency>
-        <dependency>
-            <groupId>io.swagger</groupId>
-            <artifactId>swagger-models</artifactId>
-            <version>1.5.21</version>
-        </dependency>
-        <dependency>
-            <groupId>com.baomidou</groupId>
-            <artifactId>mybatis-plus</artifactId>
-            <version>3.5.3.1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.gyee</groupId>
-            <artifactId>common</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <!--GSON -->
-        <dependency>
-            <groupId>com.google.code.gson</groupId>
-            <artifactId>gson</artifactId>
-        </dependency>
-        <!-- pageHelper -->
-        <dependency>
-            <groupId>com.github.pagehelper</groupId>
-            <artifactId>pagehelper-spring-boot-starter</artifactId>
-            <version>1.2.5</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.github.pagehelper</groupId>
-            <artifactId>pagehelper-spring-boot-starter</artifactId>
-            <version>1.4.3</version>
-            <exclusions>
-                <exclusion>
-                    <artifactId>jsqlparser</artifactId>
-                    <groupId>com.github.jsqlparser</groupId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <!-- mysql驱动7.0-->
-        <dependency>
-            <groupId>mysql</groupId>
-            <artifactId>mysql-connector-java</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.oracle</groupId>
-            <artifactId>ojdbc6</artifactId>
-            <version>11.2.0.3</version>
-        </dependency>
-        <dependency>
-            <groupId>com.microsoft.sqlserver</groupId>
-            <artifactId>sqljdbc4</artifactId>
-            <version>4.0</version>
-        </dependency>
-        <dependency>
-            <groupId>com.taosdata.jdbc</groupId>
-            <artifactId>taos-jdbcdriver</artifactId>
-            <version>2.0.30</version>
-        </dependency>
-        <!-- mysql驱动8.0
-         <dependency>
-             <groupId>mysql</groupId>
-             <artifactId>mysql-connector-java</artifactId>
-            <version>8.0.11</version>
-         </dependency>
-         -->
-        <!--druid 数据源监控-->
-        <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>druid-spring-boot-starter</artifactId>
-            <version>1.1.10</version>
-        </dependency>
-        <!-- shiro权限 -->
-        <dependency>
-            <groupId>org.apache.shiro</groupId>
-            <artifactId>shiro-spring</artifactId>
-            <version>1.4.0</version>
+            <artifactId>spring-boot-starter-actuator</artifactId>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-aop</artifactId>
         </dependency>
-        <!-- shiro权限支持thymeleaf -->
-        <dependency>
-            <groupId>com.github.theborakompanioni</groupId>
-            <artifactId>thymeleaf-extras-shiro</artifactId>
-            <version>2.0.0</version>
-        </dependency>
-
-        <!-- thymeleaf模版 -->
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-thymeleaf</artifactId>
-        </dependency>
-
-        <!--常用工具类 -->
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-lang3</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>commons-lang</groupId>
-            <artifactId>commons-lang</artifactId>
-            <version>2.4</version>
-        </dependency>
-
-        <!--io常用工具类 -->
-        <dependency>
-            <groupId>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>${commons.io.version}</version>
-        </dependency>
-
-        <!--文件上传工具类 -->
-        <dependency>
-            <groupId>commons-fileupload</groupId>
-            <artifactId>commons-fileupload</artifactId>
-            <version>${commons.fileupload.version}</version>
-        </dependency>
-
-
-        <!-- 热部署 -->
         <dependency>
             <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-devtools</artifactId>
-            <optional>false</optional>
-        </dependency>
-
-        <!-- Hutool是一个Java工具包 http://hutool.cn/ -->
-        <dependency>
-            <groupId>cn.hutool</groupId>
-            <artifactId>hutool-all</artifactId>
-            <version>4.1.12</version>
-        </dependency>
-        <!-- google验证码 -->
-        <dependency>
-            <groupId>com.github.penggle</groupId>
-            <artifactId>kaptcha</artifactId>
-            <version>2.3.2</version>
-        </dependency>
-        <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
-        <dependency>
-            <groupId>org.apache.velocity</groupId>
-            <artifactId>velocity</artifactId>
-            <version>1.7</version>
+            <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
         </dependency>
-        <!-- websocket -->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-websocket</artifactId>
         </dependency>
-        <!-- 配置文件读取 -->
-        <dependency>
-            <groupId>commons-configuration</groupId>
-            <artifactId>commons-configuration</artifactId>
-            <version>1.10</version>
-        </dependency>
-
         <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-configuration-processor</artifactId>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
             <optional>true</optional>
         </dependency>
-
-        <!-- mail -->
-        <dependency>
-            <groupId>javax.mail</groupId>
-            <artifactId>mail</artifactId>
-            <version>1.4.7</version>
-        </dependency>
-
-        <!--百度UEditor依赖的jar包 -->
-        <dependency>
-            <groupId>org.json</groupId>
-            <artifactId>json</artifactId>
-            <version>20180813</version>
-        </dependency>
-        <dependency>
-            <groupId>ueditor</groupId>
-            <artifactId>1.4.3</artifactId>
-            <version>1.8</version>
-            <scope>system</scope>
-            <systemPath>${basedir}/lib/ueditor-1.1.2.jar</systemPath>
-        </dependency>
-        <dependency>
-            <groupId>cn.hutool</groupId>
-            <artifactId>hutool-all</artifactId>
-            <version>5.1.1</version>
-        </dependency>
         <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-integration</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.springframework.boot</groupId>
-                    <artifactId>spring-boot-starter-logging</artifactId>
-                </exclusion>
-            </exclusions>
+            <groupId>com.gyee</groupId>
+            <artifactId>common</artifactId>
+            <version>1.0-SNAPSHOT</version>
+            <scope>compile</scope>
         </dependency>
-
-        <dependency>
-            <groupId>org.springframework.integration</groupId>
-            <artifactId>spring-integration-ip</artifactId>
-        </dependency>
-
-
         <dependency>
             <groupId>com.alibaba</groupId>
             <artifactId>fastjson</artifactId>
-            <version>1.2.17</version>
+            <version>1.2.7</version>
+            <scope>compile</scope>
         </dependency>
+
         <dependency>
-            <groupId>org.projectlombok</groupId>
-            <artifactId>lombok</artifactId>
-            <version>1.18.12</version>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-boot-starter</artifactId>
+            <version>${mybatis-plus.boot.starter.version}</version>
         </dependency>
-
         <dependency>
-            <groupId>org.apache.tomcat</groupId>
-            <artifactId>tomcat-juli</artifactId>
-            <version>${tomcat.version}</version>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-generator</artifactId>
+            <version>${mybatis-plus.generator.version}</version>
         </dependency>
         <dependency>
-            <groupId>org.apache.tomcat.embed</groupId>
-            <artifactId>tomcat-embed-core</artifactId>
-            <version>${tomcat.version}</version>
+            <groupId>com.baomidou</groupId>
+            <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
+            <version>3.5.0</version>
         </dependency>
+        <!--nacos 依赖-->
+                <dependency>
+                    <groupId>com.alibaba.cloud</groupId>
+                    <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
+                </dependency>
         <dependency>
-            <groupId>org.apache.tomcat.embed</groupId>
-            <artifactId>tomcat-embed-el</artifactId>
-            <version>${tomcat.version}</version>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.tomcat.embed</groupId>
-            <artifactId>tomcat-embed-websocket</artifactId>
-            <version>${tomcat.version}</version>
+            <groupId>cn.hutool</groupId>
+            <artifactId>hutool-all</artifactId>
+            <version>5.1.1</version>
         </dependency>
         <dependency>
             <groupId>redis.clients</groupId>
             <artifactId>jedis</artifactId>
             <version>3.2.0</version>
         </dependency>
-
         <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-data-redis</artifactId>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.poi</groupId>
-            <artifactId>poi-ooxml</artifactId>
-            <version>4.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.poi</groupId>
-            <artifactId>poi</artifactId>
-            <version>4.0.1</version>
+            <groupId>org.springframework.data</groupId>
+            <artifactId>spring-data-redis</artifactId>
         </dependency>
 
+        <!-- 添加swagger2 -->
         <dependency>
-            <groupId>org.pegdown</groupId>
-            <artifactId>pegdown</artifactId>
-            <version>1.4.2</version>
-        </dependency>
-        <!-- webservice-->
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom</groupId>
-            <artifactId>axiom-api</artifactId>
-            <version>1.2.12</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2</groupId>
-            <artifactId>axis2</artifactId>
-            <version>1.6.1</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2</groupId>
-            <artifactId>axis2-kernel</artifactId>
-            <version>1.6.1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.axis2</groupId>
-            <artifactId>axis2-adb</artifactId>
-            <version>1.6.1</version>
-        </dependency>
-        <!-- webservice-->
-
-        <!--http请求-->
-        <dependency>
-            <groupId>com.netflix.feign</groupId>
-            <artifactId>feign-core</artifactId>
-            <version>8.18.0</version>
-        </dependency>
-        <dependency>
-            <groupId>com.netflix.feign</groupId>
-            <artifactId>feign-jackson</artifactId>
-            <version>8.18.0</version>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger2</artifactId>
+            <version>2.9.2</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>io.swagger</groupId>
+                    <artifactId>swagger-annotations</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>io.swagger</groupId>
+                    <artifactId>swagger-models</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
-        <!--http请求-->
-
         <dependency>
-            <groupId>com.alibaba.cloud</groupId>
-            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger-ui</artifactId>
+            <version>2.9.2</version>
         </dependency>
         <dependency>
-            <groupId>org.postgresql</groupId>
-            <artifactId>postgresql</artifactId>
-            <version>${pgsql.version}</version>
+            <groupId>io.swagger</groupId>
+            <artifactId>swagger-annotations</artifactId>
+            <version>1.5.21</version>
         </dependency>
         <dependency>
             <groupId>io.swagger</groupId>
-            <artifactId>swagger-annotations</artifactId>
-            <version>1.6.2</version>
-            <scope>compile</scope>
+            <artifactId>swagger-models</artifactId>
+            <version>1.5.21</version>
         </dependency>
-    </dependencies>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>com.alibaba.cloud</groupId>
-                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
-                <version>${spring-cloud-alibaba.version}</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-            <!-- spring-cloud-dependencies -->
-            <dependency>
-                <groupId>org.springframework.cloud</groupId>
-                <artifactId>spring-cloud-dependencies</artifactId>
-                <version>Hoxton.SR5</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-dependencies</artifactId>
-                <version>${spring-boot.version}</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
 
+    </dependencies>
     <build>
-
-
-        <!-- 打包不带版本号 -->
-        <!-- <finalName>Gyee_Frame_HF</finalName> -->
         <plugins>
-            <!-- JUnit 配置 -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <!--忽略测试启动类 -->
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-
-
-
-
-            <!-- generator 配置-->
-            <plugin>
-                <groupId>org.mybatis.generator</groupId>
-                <artifactId>mybatis-generator-maven-plugin</artifactId>
-                <version>1.3.7</version>
-                <configuration>
-                    <!--允许移动生成的文件 -->
-                    <verbose>false</verbose>
-                    <!--允许覆盖生成的文件 -->
-                    <overwrite>false</overwrite>
-                    <!--配置文件的路径 -->
-                    <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
-                </configuration>
-                <dependencies>
-                    <!--					<dependency>-->
-                    <!--						<groupId>mysql</groupId>-->
-                    <!--						<artifactId>mysql-connector-java</artifactId>-->
-                    <!--						<version>${mysql.version}</version>-->
-                    <!--					</dependency>-->
-                    <dependency>
-                        <groupId>com.oracle</groupId>
-                        <artifactId>ojdbc6</artifactId>
-                        <version>11.2.0.3</version>
-                    </dependency>
-
-                    <!--					<dependency>-->
-                    <!--					<groupId>com.microsoft.sqlserver</groupId>-->
-                    <!--					<artifactId>sqljdbc4</artifactId>-->
-                    <!--					<version>4.0</version>-->
-                    <!--				    </dependency>-->
-
-                </dependencies>
-            </plugin>
-            <!-- jar运行配置 -->
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <encoding>UTF-8</encoding>
-                </configuration>
-            </plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
-                <version>2.3.7.RELEASE</version>
-                 <executions>
+                <version>2.7.1</version>
+                <executions>
                     <execution>
                         <goals>
                             <goal>repackage</goal>
                         </goals>
                     </execution>
                 </executions>
-                <configuration>
-                    <mainClass>com.gyee.SpringbootStart</mainClass>
-                    <!--maven编译时将本地引用的jar包一起打包-->
-                    <includeSystemScope>true</includeSystemScope>
-                </configuration>
-
             </plugin>
-
-
-
         </plugins>
     </build>
-
-    <!-- 阿里云maven仓库 -->
-    <repositories>
-        <repository>
-            <id>public</id>
-            <name>aliyun nexus</name>
-            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
-            <releases>
-                <enabled>true</enabled>
-            </releases>
-        </repository>
-    </repositories>
-
-    <pluginRepositories>
-        <pluginRepository>
-            <id>public</id>
-            <name>aliyun nexus</name>
-            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
-            <releases>
-                <enabled>true</enabled>
-            </releases>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-        </pluginRepository>
-    </pluginRepositories>
-
-
 </project>

+ 0 - 52
web/health/src/main/java/com/gyee/SpringbootStart.java

@@ -1,52 +0,0 @@
-package com.gyee;
-
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
-import org.springframework.cache.annotation.EnableCaching;
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-
-
-/**
- * 项目启动方法
- * @author gyee
- *
- */
-@EnableDiscoveryClient //开启服务注册与发现功能: classpath: META-INF/spring.factories文件
-@EnableCaching
-@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
-public class SpringbootStart {
-
-    public static void main(String[] args) throws Exception {
-
-        SpringApplication.run(SpringbootStart.class, args);
-
-
-
-
-
-//        InitialRedis initialRedis=new InitialRedis();
-//        System.out.println("初始化开始!");
-//        initialRedis.intialWindturbinepowercurvefitting();
-//        initialRedis.intialWpScatter();
-//        initialRedis.intialPjScatter();
-//        initialRedis.intialLnScatter();
-//        initialRedis.intialWtScatter();
-//        System.out.println("初始化完成!");
-
-//        System.out.println("开始导出风机测点。。。。。。");
-//        initialPointEdosService.initalFj();
-//        System.out.println("结束导出风机测点。。。。。。");
-//
-//        System.out.println("开始导出风场测点。。。。。。");
-//        initialPointEdosService.initalFc(false);
-//        System.out.println("结束导出风场测点。。。。。。");
-//
-//
-//        System.out.println("开始导出风功率测点。。。。。。");
-//        initialPointEdosService.initalFgl();
-//        System.out.println("结束导出风功率测点。。。。。。");
-
-        System.out.println("初始化结束!");
-    }
-}

+ 0 - 19
web/health/src/main/java/com/gyee/SpringbootWebInitializer.java

@@ -1,19 +0,0 @@
-package com.gyee;
-
-import org.springframework.boot.builder.SpringApplicationBuilder;
-import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
-
-/**
-* @ClassName: SpringbootWebInitializer
-* @Description: web容器中进行部署
-* @author gyee
-* @date 2018年8月18日
-*
-*/
-public class SpringbootWebInitializer  extends SpringBootServletInitializer{
-	@Override
-    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
-    {
-        return application.sources(SpringbootStart.class);
-    }
-}

+ 0 - 77
web/health/src/main/java/com/gyee/frame/common/async/config/AsyncConfig.java

@@ -1,77 +0,0 @@
-//package com.gyee.frame.common.async.config;
-//
-//import org.slf4j.Logger;
-//import org.slf4j.LoggerFactory;
-//import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler;
-//import org.springframework.context.annotation.Configuration;
-//import org.springframework.scheduling.annotation.AsyncConfigurer;
-//import org.springframework.scheduling.annotation.EnableAsync;
-//
-//import java.lang.reflect.Method;
-//import java.util.Arrays;
-//
-///**
-// * AsyncConfig
-// *
-// * @author wliduo[i@dolyw.com]
-// * @date 2020/5/19 17:58
-// */
-//@Configuration
-//@EnableAsync
-//public class AsyncConfig implements AsyncConfigurer {
-//
-//    /**
-//     * logger
-//     */
-//    private static final Logger logger = LoggerFactory.getLogger(AsyncConfig.class);
-//
-//    /**
-//     * 这里不实现了,使用 ThreadPoolConfig 里的线程池即可
-//     *
-//     * @param
-//     * @return java.util.concurrent.Executor
-//     * @throws
-//     * @author wliduo[i@dolyw.com]
-//     * @date 2020/5/19 18:00
-//     */
-//    /*@Override
-//    public Executor getAsyncExecutor() {
-//        return null;
-//    }*/
-//
-//    /**
-//     * 只能捕获无返回值的异步方法,有返回值的被主线程处理
-//     *
-//     * @param
-//     * @return org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler
-//     * @throws
-//     * @author wliduo[i@dolyw.com]
-//     * @date 2020/5/20 10:16
-//     */
-//    @Override
-//    public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() {
-//        return new CustomAsyncExceptionHandler();
-//    }
-//
-//    /***
-//     * 处理异步方法中未捕获的异常
-//     *
-//     * @author wliduo[i@dolyw.com]
-//     * @date 2020/5/19 19:16
-//     */
-//    class CustomAsyncExceptionHandler implements AsyncUncaughtExceptionHandler {
-//
-//        @Override
-//        public void handleUncaughtException(Throwable throwable, Method method, Object... obj) {
-//            logger.info("Exception message - {}", throwable.getMessage());
-//            logger.info("Method name - {}", method.getName());
-//            logger.info("Parameter values - {}", Arrays.toString(obj));
-//            if (throwable instanceof Exception) {
-//                Exception exception = (Exception) throwable;
-//                logger.info("exception:{}", exception.getMessage());
-//            }
-//            throwable.printStackTrace();
-//        }
-//
-//    }
-//}

+ 0 - 76
web/health/src/main/java/com/gyee/frame/common/async/config/ThreadPoolConfig.java

@@ -1,76 +0,0 @@
-package com.gyee.frame.common.async.config;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
-
-import java.util.concurrent.*;
-
-/**
- * 线程池配置
- *
- * @author wliduo
- * @date 2019/2/15 14:36
- */
-@Configuration
-public class ThreadPoolConfig {
-
-    /**
-     * logger
-     */
-    private final static Logger logger = LoggerFactory.getLogger(ThreadPoolConfig.class);
-
-    @Value("${asyncThreadPool.corePoolSize}")
-    private int corePoolSize;
-
-    @Value("${asyncThreadPool.maxPoolSize}")
-    private int maxPoolSize;
-
-    @Value("${asyncThreadPool.queueCapacity}")
-    private int queueCapacity;
-
-    @Value("${asyncThreadPool.keepAliveSeconds}")
-    private int keepAliveSeconds;
-
-    @Value("${asyncThreadPool.awaitTerminationSeconds}")
-    private int awaitTerminationSeconds;
-
-    @Value("${asyncThreadPool.threadNamePrefix}")
-    private String threadNamePrefix;
-
-    /**
-     * 线程池配置
-     * @param
-     * @return java.util.concurrent.Executor
-     * @author wliduo
-     * @date 2019/2/15 14:44
-     */
-    @Bean(name = "threadPoolTaskExecutor")
-    public ThreadPoolTaskExecutor threadPoolTaskExecutor() {
-        logger.info("---------- 线程池开始加载 ----------");
-        ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor();
-        // 核心线程池大小
-        threadPoolTaskExecutor.setCorePoolSize(corePoolSize);
-        // 最大线程数
-        threadPoolTaskExecutor.setMaxPoolSize(maxPoolSize);
-        // 队列容量
-        threadPoolTaskExecutor.setQueueCapacity(keepAliveSeconds);
-        // 活跃时间
-        threadPoolTaskExecutor.setKeepAliveSeconds(queueCapacity);
-        // 主线程等待子线程执行时间
-        threadPoolTaskExecutor.setAwaitTerminationSeconds(awaitTerminationSeconds);
-        // 线程名字前缀
-        threadPoolTaskExecutor.setThreadNamePrefix(threadNamePrefix);
-        // RejectedExecutionHandler:当pool已经达到max-size的时候,如何处理新任务
-        // CallerRunsPolicy:不在新线程中执行任务,而是由调用者所在的线程来执行
-        threadPoolTaskExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
-        // 初始化
-        threadPoolTaskExecutor.initialize();
-        logger.info("---------- 线程池加载完成 ----------");
-        return threadPoolTaskExecutor;
-    }
-
-}

+ 0 - 133
web/health/src/main/java/com/gyee/frame/common/async/controller/AsyncController.java

@@ -1,133 +0,0 @@
-package com.gyee.frame.common.async.controller;
-
-
-import com.gyee.frame.common.async.service.AsyncService;
-import com.gyee.frame.common.async.util.SmsUtil;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-import javax.annotation.Resource;
-import java.util.concurrent.Future;
-
-/**
- * AsyncController
- *
- * @author wliduo[i@dolyw.com]
- * @date 2020/5/19 14:46
- */
-@RestController
-@RequestMapping("/async")
-public class AsyncController {
-
-    /**
-     * logger
-     */
-    private final static Logger logger = LoggerFactory.getLogger(AsyncController.class);
-
-    @Resource
-    private AsyncService asyncService;
-
-    @Autowired
-    private SmsUtil smsUtil;
-
-    /**
-     * 可以看到无返回值异步方法出现异常,主线程还是继续执行完成
-     *
-     * @param
-     * @return void
-     * @throws
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/20 9:53
-     */
-    @GetMapping("/run1")
-    public String run1() throws Exception {
-        asyncService.task1();
-        logger.info("run1开始执行");
-        Thread.sleep(5000);
-        logger.info("run1执行完成");
-        return "run1 success";
-    }
-
-    /**
-     * 可以看到有返回值异步方法出现异常,异常抛给主线程处理,导致主线程也被中断执行
-     *
-     * @param
-     * @return java.lang.String
-     * @throws
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/20 10:15
-     */
-    @GetMapping("/run2")
-    public String run2() throws Exception {
-        Future<String> future = asyncService.task2();
-        // get()方法阻塞主线程,直到执行完成
-        String result = future.get();
-        logger.info("run2开始执行");
-        Thread.sleep(5000);
-        logger.info("run2执行完成");
-        return result;
-    }
-
-    /**
-     * 多个异步执行
-     *
-     * @param
-     * @return java.lang.String
-     * @throws
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/20 10:26
-     */
-    @GetMapping("/run3")
-    public String run3() throws Exception {
-        logger.info("run3开始执行");
-        long start = System.currentTimeMillis();
-        Future<String> future3 = asyncService.task3();
-        Future<String> future4 = asyncService.task4();
-        // 这样与下面是一样的
-        logger.info(future3.get());
-        logger.info(future4.get());
-        // 先判断是否执行完成
-        boolean run3Done = Boolean.FALSE;
-        while (true) {
-            if (future3.isDone() && future4.isDone()) {
-                // 执行完成
-                run3Done = Boolean.TRUE;
-                break;
-            }
-            if (future3.isCancelled() || future4.isCancelled()) {
-                // 取消情况
-                break;
-            }
-        }
-        if (run3Done) {
-            logger.info(future3.get());
-            logger.info(future4.get());
-        } else {
-            // 其他异常情况
-        }
-        long end = System.currentTimeMillis();
-        logger.info("run3执行完成,执行时间: {}", end - start);
-        return "run3 success";
-    }
-
-    /**
-     * 工具类异步
-     *
-     * @param
-     * @return java.lang.String
-     * @throws
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/20 10:59
-     */
-    @GetMapping("/sms")
-    public String sms() throws Exception {
-        logger.info("run1开始执行");
-        smsUtil.sendCode("15912347896", "135333");
-        logger.info("run1执行完成");
-        return "send sms success";
-    }
-}

+ 0 - 57
web/health/src/main/java/com/gyee/frame/common/async/service/AsyncService.java

@@ -1,57 +0,0 @@
-package com.gyee.frame.common.async.service;
-
-import java.util.concurrent.Future;
-
-/**
- * AsyncService
- *
- * @author wliduo[i@dolyw.com]
- * @date 2020/5/19 14:18
- */
-public interface AsyncService {
-
-    /**
-     * 任务1
-     *
-     * @param
-     * @return void
-     * @throws Exception e
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/19 14:45
-     */
-    void task1() throws Exception;
-
-    /**
-     * 任务2
-     *
-     * @param
-     * @return java.util.concurrent.Future<java.lang.String>
-     * @throws Exception e
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/20 10:04
-     */
-    Future<String> task2() throws Exception;
-
-    /**
-     * 任务3
-     *
-     * @param
-     * @return java.util.concurrent.Future<java.lang.String>
-     * @throws Exception e
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/20 10:20
-     */
-    Future<String> task3() throws Exception;
-
-    /**
-     * 任务4
-     *
-     * @param
-     * @return java.util.concurrent.Future<java.lang.String>
-     * @throws Exception e
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/20 10:20
-     */
-    Future<String> task4() throws Exception;
-
-}

+ 0 - 63
web/health/src/main/java/com/gyee/frame/common/async/service/impl/AsyncServiceImpl.java

@@ -1,63 +0,0 @@
-package com.gyee.frame.common.async.service.impl;
-
-
-import com.gyee.frame.common.async.service.AsyncService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.scheduling.annotation.Async;
-import org.springframework.scheduling.annotation.AsyncResult;
-import org.springframework.stereotype.Service;
-
-import java.util.concurrent.Future;
-
-/**
- * AsyncServiceImpl
- *
- * @author wliduo[i@dolyw.com]
- * @date 2020/5/19 14:24
- */
-@Service
-public class AsyncServiceImpl implements AsyncService {
-
-    /**
-     * logger
-     */
-    private final static Logger logger = LoggerFactory.getLogger(AsyncServiceImpl.class);
-
-    @Override
-    @Async("threadPoolTaskExecutor")
-    public void task1() throws Exception {
-        logger.info("task1开始执行");
-        Thread.sleep(3000);
-        logger.info("task1执行结束");
-        throw new RuntimeException("出现异常");
-    }
-
-    @Override
-    @Async("threadPoolTaskExecutor")
-    public Future<String> task2() throws Exception {
-        logger.info("task2开始执行");
-        Thread.sleep(3000);
-        logger.info("task2执行结束");
-        throw new RuntimeException("出现异常");
-        // return new AsyncResult<String>("task2 success");
-    }
-
-    @Override
-    @Async("threadPoolTaskExecutor")
-    public Future<String> task3() throws Exception {
-        logger.info("task3开始执行");
-        Thread.sleep(3000);
-        logger.info("task3执行结束");
-        return new AsyncResult<String>("task3 success");
-    }
-
-    @Override
-    @Async("threadPoolTaskExecutor")
-    public Future<String> task4() throws Exception {
-        logger.info("task4开始执行");
-        Thread.sleep(3000);
-        logger.info("task4执行结束");
-        return new AsyncResult<String>("task4 success");
-    }
-}

+ 0 - 41
web/health/src/main/java/com/gyee/frame/common/async/util/SmsUtil.java

@@ -1,41 +0,0 @@
-package com.gyee.frame.common.async.util;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.scheduling.annotation.Async;
-import org.springframework.stereotype.Component;
-
-/**
- * SmsUtil
- *
- * @author wliduo[i@dolyw.com]
- * @date 2020/5/20 10:50
- */
-@Component
-public class SmsUtil {
-
-    private static final Logger logger = LoggerFactory.getLogger(SmsUtil.class);
-
-    /**
-     * 异步发送短信
-     *
-     * @param phone
-	 * @param code
-     * @return void
-     * @throws
-     * @author wliduo[i@dolyw.com]
-     * @date 2020/5/20 10:53
-     */
-    @Async
-    public void sendCode(String phone, String code) {
-        logger.info("开始发送验证码...");
-        // 模拟调用接口发验证码的耗时
-        try {
-            Thread.sleep(3000);
-        } catch (InterruptedException e) {
-            e.printStackTrace();
-        }
-        logger.info("发送成功: {}", phone);
-    }
-
-}

+ 0 - 125
web/health/src/main/java/com/gyee/frame/common/base/BaseController.java

@@ -1,125 +0,0 @@
-package com.gyee.frame.common.base;
-
-import cn.hutool.core.util.StrUtil;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.custom.TitleVo;
-import org.springframework.beans.propertyeditors.CustomDateEditor;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.WebDataBinder;
-import org.springframework.web.bind.annotation.InitBinder;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-/**
- * web层通用数据处理
-* @ClassName: BaseController
-* @author gyee
-* @date 2018年8月18日
-*
- */
-@Controller
-public class BaseController
-{
-
-
-    /**
-     * 将前台传递过来的日期格式的字符串,自动转化为Date类型
-     */
-    @InitBinder
-    public void initBinder(WebDataBinder binder)
-    {
-        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
-        dateFormat.setLenient(false);
-        binder.registerCustomEditor(Date.class, new CustomDateEditor(dateFormat, true));
-    }
-
-
-    /**
-     * 响应返回结果
-     * 
-     * @param rows 影响行数
-     * @return 操作结果
-     */
-    protected AjaxResult toAjax(int rows)
-    {
-        return rows > 0 ? success() : error();
-    }
-
-    /**
-     * 返回成功
-     */
-    public AjaxResult success()
-    {
-        return AjaxResult.success();
-    }
-
-    /**
-     * 返回失败消息
-     */
-    public AjaxResult error()
-    {
-        return AjaxResult.error();
-    }
-
-    /**
-     * 返回成功消息
-     */
-    public AjaxResult success(String message)
-    {
-        return AjaxResult.success(message);
-    }
-    
-
-    /**
-     * 返回失败消息
-     */
-    public AjaxResult error(String message)
-    {
-        return AjaxResult.error(message);
-    }
-
-    /**
-     * 返回错误码消息
-     */
-    public AjaxResult error(int code, String message)
-    {
-        return AjaxResult.error(code, message);
-    }
-    
-    /**
-     * 返回object数据
-     */
-    public AjaxResult retobject(int code, Object  data)
-    {
-        return AjaxResult.successData(code, data);
-    }
-
-    /**
-     * 页面跳转
-     */
-    public String redirect(String url)
-    {
-    	return StrUtil.format("redirect:{}", url);
-    }
-    
-    
-    /**
-     * 设置标题通用方法
-     */
-    public void setTitle(ModelMap map,TitleVo titleVo){
-    	//标题
-    	map.put("title",titleVo.getTitle());
-    	map.put("parenttitle",titleVo.getParenttitle());
-		//是否打开欢迎语
-    	map.put("isMsg",titleVo.isMsg());
-		//欢迎语
-    	map.put("msgHTML",titleVo.getMsgHtml());
-		//小控件
-    	map.put("isControl",titleVo.isControl());
-		map.put("isribbon", titleVo.isIsribbon());
-    }
-
-   
-}

+ 0 - 34
web/health/src/main/java/com/gyee/frame/common/base/BaseService.java

@@ -1,34 +0,0 @@
-package com.gyee.frame.common.base;
-
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-/**
- * 抽象类BaseService
-* @ClassName: BaseService
-* @Description: Service实现这个
-* @author gyee
-* @date 2018年6月3日
-*
- */
-public interface BaseService<T,T2> {
-	
-    int deleteByPrimaryKey(String id);
-
-    int insertSelective(T record);
-
-    T selectByPrimaryKey(String id);
-   
-    int updateByPrimaryKeySelective(T record);
-    
-    int updateByExampleSelective(@Param("record") T record, @Param("example") T2 example);
-
-    int updateByExample(@Param("record") T record, @Param("example") T2 example);
-    
-    List<T> selectByExample(T2 example);
-
-    long countByExample(T2 example);
-
-    int deleteByExample(T2 example);
-
-}

+ 0 - 268
web/health/src/main/java/com/gyee/frame/common/base/PageInfo.java

@@ -1,268 +0,0 @@
-package com.gyee.frame.common.base;
-
-import com.github.pagehelper.Page;
-
-import java.io.Serializable;
-import java.util.List;
-
-@SuppressWarnings({"rawtypes", "unchecked"})
-public class PageInfo<T> implements Serializable {
-    private static final long serialVersionUID = 1L;
-    //当前页
-    private int pageNum;
-    //每页的数量
-    private int pageSize;
-    //当前页的数量
-    private int size;
-    //由于startRow和endRow不常用,这里说个具体的用法
-    //可以在页面中"显示startRow到endRow 共size条数据"
-
-    //当前页面第一个元素在数据库中的行号
-    private long startRow;
-    //当前页面最后一个元素在数据库中的行号
-    private long endRow;
-    //总记录数
-    private long total;
-    //总页数
-    private int pages;
-    //结果集
-    private List<T> list;
-
-    //第一页
-    private int firstPage;
-    //前一页
-    private int prePage;
-    //下一页
-    private int nextPage;
-    //最后一页
-    private int lastPage;
-
-    //是否为第一页
-    private boolean isFirstPage = false;
-    //是否为最后一页
-    private boolean isLastPage = false;
-    //是否有前一页
-    private boolean hasPreviousPage = false;
-    //是否有下一页
-    private boolean hasNextPage = false;
-    //导航页码数
-    private int navigatePages;
-    //所有导航页号
-    private int[] navigatepageNums;
-
-    /**
-     * 包装Page对象
-     *
-     * @param list
-     */
-    public PageInfo(List<T> list) {
-        this(list, 8);
-    }
-
-    /**
-     * 包装Page对象
-     *
-     * @param list          page结果
-     * @param navigatePages 页码数量
-     */
-    public PageInfo(List<T> list, int navigatePages) {
-        if (list instanceof Page) {
-            Page page = (Page) list;
-            this.pageNum = page.getPageNum();
-            this.pageSize = page.getPageSize();
-
-            this.total = page.getTotal();
-            this.pages = page.getPages();
-            this.list = page;
-            this.size = page.size();
-            //由于结果是>startRow的,所以实际的需要+1
-            if (this.size == 0) {
-                this.startRow = 0;
-                this.endRow = 0;
-            } else {
-                this.startRow = page.getStartRow() + 1;
-                //计算实际的endRow(最后一页的时候特殊)
-                this.endRow = this.startRow - 1 + this.size;
-            }
-            this.navigatePages = navigatePages;
-            //计算导航页
-            calcNavigatepageNums();
-            //计算前后页,第一页,最后一页
-            calcPage();
-            //判断页面边界
-            judgePageBoudary();
-        }
-    }
-
-    /**
-     * 计算导航页
-     */
-    private void calcNavigatepageNums() {
-        //当总页数小于或等于导航页码数时
-        if (pages <= navigatePages) {
-            navigatepageNums = new int[pages];
-            for (int i = 0; i < pages; i++) {
-                navigatepageNums[i] = i + 1;
-            }
-        } else { //当总页数大于导航页码数时
-            navigatepageNums = new int[navigatePages];
-            int startNum = pageNum - navigatePages / 2;
-            int endNum = pageNum + navigatePages / 2;
-
-            if (startNum < 1) {
-                startNum = 1;
-                //(最前navigatePages页
-                for (int i = 0; i < navigatePages; i++) {
-                    navigatepageNums[i] = startNum++;
-                }
-            } else if (endNum > pages) {
-                endNum = pages;
-                //最后navigatePages页
-                for (int i = navigatePages - 1; i >= 0; i--) {
-                    navigatepageNums[i] = endNum--;
-                }
-            } else {
-                //所有中间页
-                for (int i = 0; i < navigatePages; i++) {
-                    navigatepageNums[i] = startNum++;
-                }
-            }
-        }
-    }
-
-    /**
-     * 计算前后页,第一页,最后一页
-     */
-    private void calcPage() {
-        if (navigatepageNums != null && navigatepageNums.length > 0) {
-            firstPage = navigatepageNums[0];
-            lastPage = navigatepageNums[navigatepageNums.length - 1];
-            if (pageNum > 1) {
-                prePage = pageNum - 1;
-            }
-            if (pageNum < pages) {
-                nextPage = pageNum + 1;
-            }
-        }
-    }
-
-    /**
-     * 判定页面边界
-     */
-    private void judgePageBoudary() {
-        isFirstPage = pageNum == 1;
-        isLastPage = pageNum == pages;
-        hasPreviousPage = pageNum > 1;
-        hasNextPage = pageNum < pages;
-    }
-
-    public void setPageNum(int pageNum) {
-        this.pageNum = pageNum;
-    }
-
-    public int getPageNum() {
-        return pageNum;
-    }
-
-    public int getPageSize() {
-        return pageSize;
-    }
-
-    public int getSize() {
-        return size;
-    }
-
-    public long getStartRow() {
-        return startRow;
-    }
-
-    public long getEndRow() {
-        return endRow;
-    }
-
-    public long getTotal() {
-        return total;
-    }
-
-    public int getPages() {
-        return pages;
-    }
-
-    public List<T> getList() {
-        return list;
-    }
-
-    public int getFirstPage() {
-        return firstPage;
-    }
-
-    public int getPrePage() {
-        return prePage;
-    }
-
-    public int getNextPage() {
-        return nextPage;
-    }
-
-    public int getLastPage() {
-        return lastPage;
-    }
-
-    public boolean isIsFirstPage() {
-        return isFirstPage;
-    }
-
-    public boolean isIsLastPage() {
-        return isLastPage;
-    }
-
-    public boolean isHasPreviousPage() {
-        return hasPreviousPage;
-    }
-
-    public boolean isHasNextPage() {
-        return hasNextPage;
-    }
-
-    public int getNavigatePages() {
-        return navigatePages;
-    }
-
-    public int[] getNavigatepageNums() {
-        return navigatepageNums;
-    }
-
-    @Override
-    public String toString() {
-        final StringBuffer sb = new StringBuffer("PageInfo{");
-        sb.append("pageNum=").append(pageNum);
-        sb.append(", pageSize=").append(pageSize);
-        sb.append(", size=").append(size);
-        sb.append(", startRow=").append(startRow);
-        sb.append(", endRow=").append(endRow);
-        sb.append(", total=").append(total);
-        sb.append(", pages=").append(pages);
-        sb.append(", list=").append(list);
-        sb.append(", firstPage=").append(firstPage);
-        sb.append(", prePage=").append(prePage);
-        sb.append(", nextPage=").append(nextPage);
-        sb.append(", lastPage=").append(lastPage);
-        sb.append(", isFirstPage=").append(isFirstPage);
-        sb.append(", isLastPage=").append(isLastPage);
-        sb.append(", hasPreviousPage=").append(hasPreviousPage);
-        sb.append(", hasNextPage=").append(hasNextPage);
-        sb.append(", navigatePages=").append(navigatePages);
-        sb.append(", navigatepageNums=");
-        if (navigatepageNums == null){
-        	sb.append("null");
-        }else {
-            sb.append('[');
-            for (int i = 0; i < navigatepageNums.length; ++i){
-            	sb.append(i == 0 ? "" : ", ").append(navigatepageNums[i]);
-            }
-            sb.append(']');
-        }
-        sb.append('}');
-        return sb.toString();
-    }
-}

+ 0 - 419
web/health/src/main/java/com/gyee/frame/common/cache/AppRedisCacheManager.java

@@ -1,419 +0,0 @@
-package com.gyee.frame.common.cache;
-
-import lombok.AllArgsConstructor;
-import lombok.Getter;
-import org.springframework.data.redis.core.RedisTemplate;
-import org.springframework.util.CollectionUtils;
-
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.concurrent.TimeUnit;
-
-/**
- * @description: 移动端Redis缓存实现类
- * @author: YuXD
- * @create: 2021-01-05 10:40
- **/
-@Getter
-@AllArgsConstructor
-public final class AppRedisCacheManager implements IGlobalCache {
-
-    private RedisTemplate<String, Object> redisTemplate;
-
-    @Override
-    public boolean expire(String key, long time) {
-        try {
-            if (time > 0) {
-                redisTemplate.expire(key, time, TimeUnit.SECONDS);
-            }
-
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public long getExpire(String key) {
-        return redisTemplate.getExpire(key, TimeUnit.SECONDS);
-    }
-
-    @Override
-    public boolean hasKey(String key) {
-        try {
-            return redisTemplate.hasKey(key);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    @SuppressWarnings("unchecked")
-    public void del(String... key) {
-        if (key != null && key.length > 0) {
-            if (key.length == 1) {
-                redisTemplate.delete(key[0]);
-            } else {
-                redisTemplate.delete(CollectionUtils.arrayToList(key));
-            }
-        }
-    }
-
-    @Override
-    public Object get(String key) {
-        return key == null ? null : redisTemplate.opsForValue().get(key);
-    }
-
-    @Override
-    public boolean set(String key, Object value) {
-        try {
-            redisTemplate.opsForValue().set(key, value);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean set(String key, Object value, long time) {
-        try {
-            if (time > 0) {
-                redisTemplate.opsForValue().set(key, value, time, TimeUnit.SECONDS);
-            } else {
-                set(key, value);
-            }
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public long incr(String key, long delta) {
-        if (delta < 0) {
-            throw new RuntimeException("递增因子必须大于0");
-        }
-        return redisTemplate.opsForValue().increment(key, delta);
-    }
-
-    @Override
-    public long decr(String key, long delta) {
-        if (delta < 0) {
-            throw new RuntimeException("递减因子必须大于0");
-        }
-        return redisTemplate.opsForValue().increment(key, -delta);
-    }
-
-    @Override
-    public Object hget(String key, String item) {
-        return redisTemplate.opsForHash().get(key, item);
-    }
-
-    @Override
-    public Map<Object, Object> hmget(String key) {
-        return redisTemplate.opsForHash().entries(key);
-    }
-
-    @Override
-    public boolean hmset(String key, Map<String, Object> map) {
-        try {
-            redisTemplate.opsForHash().putAll(key, map);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean hmset(String key, Map<String, Object> map, long time) {
-        try {
-            redisTemplate.opsForHash().putAll(key, map);
-            if (time > 0) {
-                expire(key, time);
-            }
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean hset(String key, String item, Object value) {
-        try {
-            redisTemplate.opsForHash().put(key, item, value);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean hset(String key, String item, Object value, long time) {
-        try {
-            redisTemplate.opsForHash().put(key, item, value);
-            if (time > 0) {
-                expire(key, time);
-            }
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public void hdel(String key, Object... item) {
-        redisTemplate.opsForHash().delete(key, item);
-    }
-
-    @Override
-    public boolean hHasKey(String key, String item) {
-        return redisTemplate.opsForHash().hasKey(key, item);
-    }
-
-    @Override
-    public double hincr(String key, String item, double by) {
-        return redisTemplate.opsForHash().increment(key, item, by);
-    }
-
-    @Override
-    public double hdecr(String key, String item, double by) {
-        return redisTemplate.opsForHash().increment(key, item, -by);
-    }
-
-    @Override
-    public Set<Object> sGet(String key) {
-        try {
-            return redisTemplate.opsForSet().members(key);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return null;
-        }
-    }
-
-    @Override
-    public boolean sHasKey(String key, Object value) {
-        try {
-            return redisTemplate.opsForSet().isMember(key, value);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public long sSet(String key, Object... values) {
-        try {
-            return redisTemplate.opsForSet().add(key, values);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return 0;
-        }
-    }
-
-    @Override
-    public long sSetAndTime(String key, long time, Object... values) {
-        try {
-            Long count = redisTemplate.opsForSet().add(key, values);
-            if (time > 0) {
-                expire(key, time);
-            }
-            return count;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return 0;
-        }
-    }
-
-    @Override
-    public long sGetSetSize(String key) {
-        try {
-            return redisTemplate.opsForSet().size(key);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return 0;
-        }
-    }
-
-    @Override
-    public long setRemove(String key, Object... values) {
-        try {
-            Long count = redisTemplate.opsForSet().remove(key, values);
-            return count;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return 0;
-        }
-    }
-
-    @Override
-    public List<Object> lGet(String key, long start, long end) {
-        try {
-            return redisTemplate.opsForList().range(key, start, end);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return null;
-        }
-    }
-
-    @Override
-    public long lGetListSize(String key) {
-        try {
-            return redisTemplate.opsForList().size(key);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return 0;
-        }
-    }
-
-    @Override
-    public Object lGetIndex(String key, long index) {
-        try {
-            return redisTemplate.opsForList().index(key, index);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return null;
-        }
-    }
-
-    @Override
-    public boolean lSetAll(String key, List<Object> value) {
-        try {
-            redisTemplate.opsForList().leftPushAll(key, value);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean lSet(String key, Object value) {
-        try {
-            redisTemplate.opsForList().leftPushIfPresent(key, value);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean lSet(String key, Object value, long time) {
-        try {
-            redisTemplate.opsForList().leftPush(key, value);
-            if (time > 0) {
-                expire(key, time);
-            }
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-
-    }
-
-    @Override
-    public boolean lSetAll(String key, List<Object> value, long time) {
-        try {
-            redisTemplate.opsForList().leftPushAll(key, value);
-            if (time > 0)
-                expire(key, time);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean rSet(String key, Object value) {
-        try {
-            redisTemplate.opsForList().rightPush(key, value);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean rSet(String key, Object value, long time) {
-        try {
-            redisTemplate.opsForList().rightPush(key, value);
-            if (time > 0) {
-                expire(key, time);
-            }
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-
-    }
-
-    @Override
-    public boolean rSetAll(String key, List<Object> value) {
-        try {
-            redisTemplate.opsForList().rightPushAll(key, value);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-
-    }
-
-    @Override
-    public boolean rSetAll(String key, List<Object> value, long time) {
-        try {
-            redisTemplate.opsForList().rightPushAll(key, value);
-            if (time > 0)
-                expire(key, time);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public boolean lUpdateIndex(String key, long index, Object value) {
-        try {
-            redisTemplate.opsForList().set(key, index, value);
-            return true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public long lRemove(String key, long count, Object value) {
-        try {
-            Long remove = redisTemplate.opsForList().remove(key, count, value);
-            return remove;
-        } catch (Exception e) {
-            e.printStackTrace();
-            return 0;
-        }
-    }
-
-    @Override
-    public void rangeRemove(String key, Long stard, Long end) {
-        try {
-            redisTemplate.opsForList().trim(key, stard, end);
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-}

+ 0 - 46
web/health/src/main/java/com/gyee/frame/common/cache/ApplicationContextHolder.java

@@ -1,46 +0,0 @@
-package com.gyee.frame.common.cache;
-import org.springframework.beans.BeansException;
-import org.springframework.context.ApplicationContext;
-import org.springframework.context.ApplicationContextAware;
-import org.springframework.stereotype.Component;
-
-@Component
-public class ApplicationContextHolder implements ApplicationContextAware {
-    private static ApplicationContext applicationContext;
-
-    @Override
-    public void setApplicationContext(ApplicationContext ctx) throws BeansException {
-        applicationContext = ctx;
-    }
-
-    /**
-     * Get application context from everywhere
-     *
-     * @return
-     */
-    public static ApplicationContext getApplicationContext() {
-        return applicationContext;
-    }
-
-    /**
-     * Get bean by class
-     *
-     * @param clazz
-     * @param <T>
-     * @return
-     */
-    public static <T> T getBean(Class<T> clazz) {
-        return applicationContext.getBean(clazz);
-    }
-
-    /**
-     * Get bean by class name
-     *
-     * @param name
-     * @param <T>
-     * @return
-     */
-    public static <T> T getBean(String name) {
-        return (T) applicationContext.getBean(name);
-    }
-}

+ 0 - 383
web/health/src/main/java/com/gyee/frame/common/cache/IGlobalCache.java

@@ -1,383 +0,0 @@
-package com.gyee.frame.common.cache;
-
-import org.springframework.data.redis.core.RedisTemplate;
-
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-/**
- * 系统全局Cache接口,具体缓存方式需要实现该接口
- *
- * @author YuXD
- * @date 2021-01-05 10:38
- * @since v1.0
- */
-public interface IGlobalCache {
-
-    /**
-     * 指定缓存失效时间
-     *
-     * @param key  键
-     * @param time 时间(秒)
-     * @return
-     */
-    boolean expire(String key, long time);
-
-    /**
-     * @param key 键 不能为null
-     * @return 时间(秒) 返回0代表为永久有效
-     */
-    long getExpire(String key);
-
-    /**
-     * 判断key是否存在
-     *
-     * @param key 键
-     * @return true 存在 false不存在
-     */
-    boolean hasKey(String key);
-
-    /**
-     * 删除缓存
-     *
-     * @param key 可以传一个值 或多个
-     */
-    void del(String... key);
-// ============================String=============================
-
-    /**
-     * 普通缓存获取
-     *
-     * @param key 键
-     * @return 值
-     */
-    Object get(String key);
-
-    /**
-     * 普通缓存放入
-     *
-     * @param key   键
-     * @param value 值
-     * @return true成功 false失败
-     */
-    boolean set(String key, Object value);
-
-    /**
-     * 普通缓存放入并设置时间
-     *
-     * @param key   键
-     * @param value 值
-     * @param time  时间(秒) time要大于0 如果time小于等于0 将设置无限期
-     * @return true成功 false 失败
-     */
-    boolean set(String key, Object value, long time);
-
-    /**
-     * 递增
-     *
-     * @param key   键
-     * @param delta 要增加几(大于0)
-     * @return
-     */
-    long incr(String key, long delta);
-
-    /**
-     * 递减
-     *
-     * @param key   键
-     * @param delta 要减少几(小于0)
-     * @return
-     */
-    long decr(String key, long delta);
-
-    /**
-     * HashGet
-     *
-     * @param key  键 不能为null
-     * @param item 项 不能为null
-     * @return 值
-     */
-    Object hget(String key, String item);
-
-    /**
-     * 获取hashKey对应的所有键值
-     *
-     * @param key 键
-     * @return 对应的多个键值
-     */
-    Map<Object, Object> hmget(String key);
-
-    /**
-     * HashSet
-     *
-     * @param key 键
-     * @param map 对应多个键值
-     * @return true 成功 false 失败
-     */
-    boolean hmset(String key, Map<String, Object> map);
-
-    /**
-     * HashSet 并设置时间
-     *
-     * @param key  键
-     * @param map  对应多个键值
-     * @param time 时间(秒)
-     * @return true成功 false失败
-     */
-    boolean hmset(String key, Map<String, Object> map, long time);
-
-    /**
-     * 向一张hash表中放入数据,如果不存在将创建
-     *
-     * @param key   键
-     * @param item  项
-     * @param value 值
-     * @return true 成功 false失败
-     */
-    boolean hset(String key, String item, Object value);
-
-    /**
-     * 向一张hash表中放入数据,如果不存在将创建
-     *
-     * @param key   键
-     * @param item  项
-     * @param value 值
-     * @param time  时间(秒) 注意:如果已存在的hash表有时间,这里将会替换原有的时间
-     * @return true 成功 false失败
-     */
-    boolean hset(String key, String item, Object value, long time);
-
-    /**
-     * 删除hash表中的值
-     *
-     * @param key  键 不能为null
-     * @param item 项 可以使多个 不能为null
-     */
-    void hdel(String key, Object... item);
-
-    /**
-     * 判断hash表中是否有该项的值
-     *
-     * @param key  键 不能为null
-     * @param item 项 不能为null
-     * @return true 存在 false不存在
-     */
-    boolean hHasKey(String key, String item);
-
-    /**
-     * hash递增 如果不存在,就会创建一个 并把新增后的值返回
-     *
-     * @param key  键
-     * @param item 项
-     * @param by   要增加几(大于0)
-     * @return
-     */
-    double hincr(String key, String item, double by);
-
-    /**
-     * hash递减
-     *
-     * @param key  键
-     * @param item 项
-     * @param by   要减少记(小于0)
-     * @return
-     */
-    double hdecr(String key, String item, double by);
-
-    /**
-     * 根据key获取Set中的所有值
-     *
-     * @param key 键
-     * @return
-     */
-    Set<Object> sGet(String key);
-
-    /**
-     * 根据value从一个set中查询,是否存在
-     *
-     * @param key   键
-     * @param value 值
-     * @return true 存在 false不存在
-     */
-    boolean sHasKey(String key, Object value);
-
-    /**
-     * 将数据放入set缓存
-     *
-     * @param key    键
-     * @param values 值 可以是多个
-     * @return 成功个数
-     */
-    long sSet(String key, Object... values);
-
-    /**
-     * 将set数据放入缓存
-     *
-     * @param key    键
-     * @param time   时间(秒)
-     * @param values 值 可以是多个
-     * @return 成功个数
-     */
-    long sSetAndTime(String key, long time, Object... values);
-
-
-    /**
-     * 获取set缓存的长度
-     *
-     * @param key 键
-     * @return
-     */
-    long sGetSetSize(String key);
-
-    /**
-     * 移除值为value的
-     *
-     * @param key    键
-     * @param values 值 可以是多个
-     * @return 移除的个数
-     */
-    long setRemove(String key, Object... values);
-
-    /**
-     * 获取list缓存的内容
-     *
-     * @param key   键
-     * @param start 开始
-     * @param end   结束 0 到 -1代表所有值
-     * @return
-     */
-    List<Object> lGet(String key, long start, long end);
-
-    /**
-     * 获取list缓存的长度
-     *
-     * @param key 键
-     * @return
-     */
-    long lGetListSize(String key);
-
-    /**
-     * 通过索引 获取list中的值
-     *
-     * @param key   键
-     * @param index 索引 index>=0时, 0 表头,1 第二个元素,依次类推;index<0时,-1,表尾,-2倒数第二个元素,依次类推
-     * @return
-     */
-    Object lGetIndex(String key, long index);
-
-    /**
-     * 将list放入缓存
-     *
-     * @param key   键
-     * @param value 值
-     * @return
-     */
-    boolean lSet(String key, Object value);
-
-    /**
-     * 将list放入缓存
-     *
-     * @param key   键
-     * @param value 值
-     * @return
-     */
-    boolean lSet(String key, Object value, long time);
-
-    /**
-     * 将list放入缓存
-     *
-     * @param key   键
-     * @param value 值
-     * @return
-     */
-    boolean lSetAll(String key, List<Object> value);
-
-
-    /**
-     * 将list放入缓存
-     *
-     * @param key   键
-     * @param value 值
-     * @param time  时间(秒)
-     * @return
-     */
-    boolean lSetAll(String key, List<Object> value, long time);
-
-    /**
-     * 将list放入缓存
-     *
-     * @param key   键
-     * @param value 值
-     * @return
-     */
-
-    boolean rSet(String key, Object value);
-
-    /**
-     * 将list放入缓存
-     *
-     * @param key   键
-     * @param value 值
-     * @param time  时间(秒)
-     * @return
-     */
-
-    boolean rSet(String key, Object value, long time);
-
-    /**
-     * 将list放入缓存
-     *
-     * @param key   键
-     * @param value 值
-     * @return
-     */
-    boolean rSetAll(String key, List<Object> value);
-
-    /**
-     * 将list放入缓存
-     *
-     * @param key   键
-     * @param value 值
-     * @param time  时间(秒)
-     * @return
-     */
-    boolean rSetAll(String key, List<Object> value, long time);
-
-    /**
-     * 根据索引修改list中的某条数据
-     *
-     * @param key   键
-     * @param index 索引
-     * @param value 值
-     * @return
-     */
-    boolean lUpdateIndex(String key, long index, Object value);
-
-    /**
-     * 移除N个值为value
-     *
-     * @param key   键
-     * @param count 移除多少个
-     * @param value 值
-     * @return 移除的个数
-     */
-    long lRemove(String key, long count, Object value);
-
-    /**
-     * 从redis集合中移除[start,end]之间的元素
-     *
-     * @param key
-     * @param stard
-     * @param end
-     * @return
-     */
-    void rangeRemove(String key, Long stard, Long end);
-
-    /**
-     * 返回当前redisTemplate
-     *
-     * @return
-     */
-    RedisTemplate getRedisTemplate();
-}

+ 0 - 72
web/health/src/main/java/com/gyee/frame/common/cache/MybatisRedisCache.java

@@ -1,72 +0,0 @@
-//package com.gyee.frame.common.cache;
-//
-//import org.slf4j.Logger;
-//import org.slf4j.LoggerFactory;
-//import org.springframework.data.redis.core.RedisTemplate;
-//import org.apache.ibatis.cache.Cache;
-//import java.util.concurrent.locks.ReadWriteLock;
-//import java.util.concurrent.locks.ReentrantReadWriteLock;
-//
-//public class MybatisRedisCache implements Cache {
-//    private static final Logger log = LoggerFactory.getLogger(MybatisRedisCache.class);
-//    private String id;
-//    private final ReadWriteLock readWriteLock = new ReentrantReadWriteLock();
-//    //private static final long EXPIRE_TIME_IN_MINUTES = 30; // redis过期时间
-//
-//
-//    public MybatisRedisCache(String id) {
-//        this.id = id;
-//    }
-//
-//    private RedisTemplate<Object, Object> getRedisTemplate(){
-//        return ApplicationContextHolder.getBean("redisTemplate");
-//    }
-//
-//    @Override
-//    public String getId() {
-//        return id;
-//    }
-//
-//    @Override
-//    public void putObject(Object key, Object value) {
-//        RedisTemplate redisTemplate = getRedisTemplate();
-//        redisTemplate.boundHashOps(getId()).put(key, value);
-//        log.info("[结果放入到缓存中: " + key + "=" + value+" ]");
-//
-//    }
-//
-//    @Override
-//    public Object getObject(Object key) {
-//        RedisTemplate redisTemplate = getRedisTemplate();
-//        Object value = redisTemplate.boundHashOps(getId()).get(key);
-//        log.info("[从缓存中获取了: " + key + "=" + value+" ]");
-//        return value;
-//    }
-//
-//    @Override
-//    public Object removeObject(Object key) {
-//        RedisTemplate redisTemplate = getRedisTemplate();
-//        Object value = redisTemplate.boundHashOps(getId()).delete(key);
-//        log.info("[从缓存删除了: " + key + "=" + value+" ]");
-//        return value;
-//    }
-//
-//    @Override
-//    public void clear() {
-//        RedisTemplate redisTemplate = getRedisTemplate();
-//        redisTemplate.delete(getId());
-//        log.info("清空缓存!!!");
-//    }
-//
-//    @Override
-//    public int getSize() {
-//        RedisTemplate redisTemplate = getRedisTemplate();
-//        Long size = redisTemplate.boundHashOps(getId()).size();
-//        return size == null ? 0 : size.intValue();
-//    }
-//
-//    @Override
-//    public ReadWriteLock getReadWriteLock() {
-//        return readWriteLock;
-//    }
-//}

+ 0 - 105
web/health/src/main/java/com/gyee/frame/common/cache/RedisConfig.java

@@ -1,105 +0,0 @@
-package com.gyee.frame.common.cache;
-
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.cache.annotation.EnableCaching;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.context.annotation.Primary;
-import org.springframework.data.redis.connection.RedisConnectionFactory;
-import org.springframework.data.redis.connection.RedisStandaloneConfiguration;
-import org.springframework.data.redis.connection.jedis.JedisClientConfiguration;
-import org.springframework.data.redis.connection.jedis.JedisConnectionFactory;
-import org.springframework.data.redis.core.RedisTemplate;
-import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
-import org.springframework.data.redis.serializer.StringRedisSerializer;
-import redis.clients.jedis.JedisPool;
-import redis.clients.jedis.JedisPoolConfig;
-
-@EnableCaching
-@Configuration
-public class RedisConfig {
-
-    @Value("${spring.redis.host}")
-    private String host;
-    @Value("${spring.redis.database}")
-    private Integer database;
-    @Value("${spring.redis.port}")
-    private Integer port;
-    @Value("${spring.redis.password}")
-    private String pwd;
-
-    @Value("${spring.redis.pool.maxTotal}")
-    private Integer maxTotal;
-    @Value("${spring.redis.pool.maxIdle}")
-    private Integer maxIdle;
-    @Value("${spring.redis.pool.minIdle}")
-    private Integer minIdle;
-    @Value("${spring.redis.pool.maxwait}")
-    private Integer maxwait;
-
-    @Primary
-    @Bean(name = "jedisPoolConfig")
-    @ConfigurationProperties(prefix = "spring.redis.pool")
-    public JedisPoolConfig jedisPoolConfig() {
-        JedisPoolConfig jedisPoolConfig = new JedisPoolConfig();
-        jedisPoolConfig.setMaxTotal(maxTotal);
-        jedisPoolConfig.setMaxIdle(maxIdle);
-        jedisPoolConfig.setMinIdle(minIdle);
-        jedisPoolConfig.setMaxWaitMillis(maxwait);
-        return jedisPoolConfig;
-    }
-
-    @Primary
-    @Bean(name = "jedisPool")
-    public JedisPool redisPoolFactory(JedisPoolConfig jedisPoolConfig){
-
-        JedisPool jedisPool = new JedisPool(jedisPoolConfig,host,port,maxwait,pwd);
-
-        return  jedisPool;
-    }
-
-
-    @Bean
-    public RedisConnectionFactory redisConnectionFactory(JedisPoolConfig jedisPoolConfig) {
-        RedisStandaloneConfiguration redisStandaloneConfiguration = new RedisStandaloneConfiguration();
-        redisStandaloneConfiguration.setHostName(host);
-        redisStandaloneConfiguration.setDatabase(database);
-        redisStandaloneConfiguration.setPassword(pwd);
-        redisStandaloneConfiguration.setPort(port);
-        redisStandaloneConfiguration.setDatabase(database);
-
-        JedisClientConfiguration.JedisPoolingClientConfigurationBuilder jpcb = (JedisClientConfiguration.JedisPoolingClientConfigurationBuilder) JedisClientConfiguration.builder();
-        jpcb.poolConfig(jedisPoolConfig);
-        JedisClientConfiguration jedisClientConfiguration = jpcb.build();
-        return new JedisConnectionFactory(redisStandaloneConfiguration, jedisClientConfiguration);
-    }
-
-    /**
-     * 配置redisTemplate针对不同key和value场景下不同序列化的方式
-     *
-     * @param factory Redis连接工厂
-     * @return
-     */
-    @Primary
-    @Bean(name = "redisTemplate")
-    public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory factory) {
-        RedisTemplate<String, Object> template = new RedisTemplate<>();
-        template.setConnectionFactory(factory);
-        StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
-        template.setKeySerializer(stringRedisSerializer);
-        template.setHashKeySerializer(stringRedisSerializer);
-        Jackson2JsonRedisSerializer redisSerializer = new Jackson2JsonRedisSerializer(Object.class);
-        template.setValueSerializer(redisSerializer);
-        template.setHashValueSerializer(redisSerializer);
-        template.afterPropertiesSet();
-
-        return template;
-    }
-
-    @Bean(name = "globalCache")
-    IGlobalCache cache(RedisTemplate redisTemplate) {
-        return new AppRedisCacheManager(redisTemplate);
-    }
-
-}

+ 0 - 51
web/health/src/main/java/com/gyee/frame/common/cache/RedisService.java

@@ -1,51 +0,0 @@
-package com.gyee.frame.common.cache;
-
-public interface RedisService {
-
-    /**
-     * set存数据
-     * @param key
-     * @param value
-     * @return
-     */
-    boolean set(String key, String value);
-
-
-
-    /**
-     * get获取数据
-     * @param key
-     * @return
-     */
-    String get(String key);
-
-//    void getList(String key,int start,int end);
-
-    /**
-     * 设置有效天数
-     * @param key
-     * @param expire
-     * @return
-     */
-    boolean expire(String key, long expire);
-
-    /**
-     * 移除数据
-     * @param key
-     * @return
-     */
-    boolean remove(String key);
-
-
-    /**
-     * 插入对象
-     */
-    void setObject(Object o);
-
-
-    boolean hasKey(String key);
-
-
-    void select(Integer dbIndex);
-
-}

+ 0 - 125
web/health/src/main/java/com/gyee/frame/common/cache/RedisServiceImpl.java

@@ -1,125 +0,0 @@
-package com.gyee.frame.common.cache;
-
-import org.springframework.dao.DataAccessException;
-import org.springframework.data.redis.connection.RedisConnection;
-import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
-import org.springframework.data.redis.core.RedisCallback;
-import org.springframework.data.redis.core.RedisTemplate;
-import org.springframework.data.redis.serializer.RedisSerializer;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-import java.lang.reflect.Field;
-import java.util.concurrent.TimeUnit;
-
-@Service("redisService")
-public class RedisServiceImpl implements RedisService {
-
-    @Resource
-    private RedisTemplate<String, ?> redisTemplate;
-
-    @Override
-    public boolean set(final String key, final String value) {;
-        boolean result = redisTemplate.execute(new RedisCallback<Boolean>() {
-            @Override
-            public Boolean doInRedis(RedisConnection connection) throws DataAccessException {
-                RedisSerializer<String> serializer = redisTemplate.getStringSerializer();
-                connection.set(serializer.serialize(key), serializer.serialize(value));
-                return true;
-            }
-        });
-        return result;
-    }
-
-
-    @Override
-    public String get(final String key) {
-        String result = redisTemplate.execute(new RedisCallback<String>() {
-            @Override
-            public String doInRedis(RedisConnection connection) throws DataAccessException {
-                RedisSerializer<String> serializer = redisTemplate.getStringSerializer();
-                byte[] value = connection.get(serializer.serialize(key));
-                return serializer.deserialize(value);
-            }
-        });
-        return result;
-    }
-
-
-
-    @Override
-    public boolean expire(final String key, long expire) {
-        return redisTemplate.expire(key, expire, TimeUnit.SECONDS);
-    }
-
-    @Override
-    public boolean remove(final String key) {
-        boolean result = redisTemplate.execute(new RedisCallback<Boolean>() {
-            @Override
-            public Boolean doInRedis(RedisConnection connection) throws DataAccessException {
-                RedisSerializer<String> serializer = redisTemplate.getStringSerializer();
-                connection.del(key.getBytes());
-                return true;
-            }
-        });
-        return result;
-    }
-
-    @Override
-    public boolean hasKey(final String key) {
-        try {
-            return redisTemplate.hasKey(key);
-        } catch (Exception e) {
-            e.printStackTrace();
-            return false;
-        }
-    }
-
-    @Override
-    public void setObject(Object obj) {
-        Field[] fields = obj.getClass().getDeclaredFields();
-        for(int i = 0 , len = fields.length; i < len; i++) {
-            // 对于每个属性,获取属性名
-            String varName = fields[i].getName();
-            try {
-                // 获取原来的访问控制权限
-                boolean accessFlag = fields[i].isAccessible();
-                // 修改访问控制权限
-                fields[i].setAccessible(true);
-                // 获取在对象f中属性fields[i]对应的对象中的变量
-                Object o;
-                try {
-                    o = fields[i].get(obj);
-                    if (o!=null){
-                        set(varName, String.valueOf(o));
-                    }else {
-                        set(varName,"");
-                    }
-
-                    //System.err.println("传入的对象中包含一个如下的变量:" + varName + " = " + o);
-                } catch (IllegalAccessException e) {
-                    // TODO Auto-generated catch block
-                    e.printStackTrace();
-                }
-                // 恢复访问控制权限
-                fields[i].setAccessible(accessFlag);
-            } catch (IllegalArgumentException ex) {
-                ex.printStackTrace();
-            }
-        }
-
-    }
-
-    public void select(Integer dbIndex) {
-        if (dbIndex == null || dbIndex > 15 || dbIndex < 0) {
-            dbIndex = 0;
-        }
-        LettuceConnectionFactory jedisConnectionFactory = (LettuceConnectionFactory) redisTemplate
-                .getConnectionFactory();
-        jedisConnectionFactory.setDatabase(dbIndex);
-        redisTemplate.setConnectionFactory(jedisConnectionFactory);
-        jedisConnectionFactory.afterPropertiesSet();
-//        jedisConnectionFactory.resetConnection();
-
-    }
-}

+ 0 - 31
web/health/src/main/java/com/gyee/frame/common/cache/RedisUtils.java

@@ -1,31 +0,0 @@
-package com.gyee.frame.common.cache;
-
-import org.springframework.stereotype.Service;
-import redis.clients.jedis.Jedis;
-import redis.clients.jedis.JedisPool;
-
-import javax.annotation.Resource;
-@Service
-public class RedisUtils {
-
-    @Resource
-    private  JedisPool jedisPool;
-
-
-
-    public  String get(String key, int indexdb) {
-        Jedis jedis = null;
-        String value = null;
-
-        try {
-            jedis = jedisPool.getResource();//获取一个jedis实例
-            jedis.select(indexdb);
-            value = jedis.get(key);
-        } catch (Exception e) {
-        System.out.println(e.getMessage());
-        } finally {
-            jedis.close();
-        }
-        return value;
-    }
-}

+ 0 - 13
web/health/src/main/java/com/gyee/frame/common/conf/AjaxStatus.java

@@ -1,13 +0,0 @@
-package com.gyee.frame.common.conf;
-
-public enum  AjaxStatus {
-    success(200),
-    error(500),
-    logineroor(501),
-    loginexpire(502);
-
-    public int code;
-    AjaxStatus(int c) {
-        code = c;
-    }
-}

+ 0 - 25
web/health/src/main/java/com/gyee/frame/common/conf/ExportConfig.java

@@ -1,25 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import lombok.Data;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * 庚顿数据导出配置
- */
-@Data
-@Component
-@ConfigurationProperties(prefix = "exportcode")
-public class ExportConfig {
-
-    private List<String> template1;
-
-    private Map<String, String> template2swdl;
-
-    private Map<String, String> template2swgl;
-
-    private Map<String, String> template2cft;
-}

+ 0 - 30
web/health/src/main/java/com/gyee/frame/common/conf/FileConfig.java

@@ -1,30 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
-
-/**
- * 读取项目相关配置
- * 
- * @author gyee
- */
-@Component
-@ConfigurationProperties(prefix = "spring.servlet.multipart")
-public class FileConfig
-{
-    /**单个文件大小*/
-    private static String maxFileSize;
-
-	public static String getMaxFileSize() {
-		maxFileSize=maxFileSize.replace("MB", "");
-		return maxFileSize;
-	}
-
-	public void setMaxFileSize(String maxFileSize) {
-		FileConfig.maxFileSize = maxFileSize;
-	}
-   
-	
-	
-	
-}

+ 0 - 149
web/health/src/main/java/com/gyee/frame/common/conf/GeneratorCodeConfig.java

@@ -1,149 +0,0 @@
-package com.gyee.frame.common.conf;
-
-
-import com.baomidou.mybatisplus.core.exceptions.MybatisPlusException;
-import com.baomidou.mybatisplus.core.toolkit.StringUtils;
-import com.baomidou.mybatisplus.generator.AutoGenerator;
-import com.baomidou.mybatisplus.generator.config.*;
-import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy;
-import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
-
-import java.util.Scanner;
-
-/**
- *@ClassName GeneratorCodeConfig
- *@Description 自动生成mybatisplus的相关代码
- *@Author 谢生杰
- *@Date 2020/9/25 18:26
- *@Version 1.0
- **/
-public class GeneratorCodeConfig {
-    public static String scanner(String tip) {
-        Scanner scanner = new Scanner(System.in);
-        StringBuilder help = new StringBuilder();
-        help.append("请输入" + tip + ":");
-        System.out.println(help.toString());
-        if (scanner.hasNext()) {
-            String ipt = scanner.next();
-            if (StringUtils.isNotEmpty(ipt)) {
-                return ipt;
-            }
-        }
-        throw new MybatisPlusException("请输入正确的" + tip + "!");
-    }
-
-    public static void main(String[] args) {
-        // 代码生成器
-        AutoGenerator mpg = new AutoGenerator();
-
-        // 全局配置
-        GlobalConfig gc = new GlobalConfig();
-        String projectPath = System.getProperty("user.dir");
-        gc.setOutputDir(projectPath+"\\web\\health\\src\\main\\java");
-        gc.setAuthor("shilin");
-        gc.setOpen(false);
-        //实体属性 Swagger2 注解
-        gc.setSwagger2(false);
-        mpg.setGlobalConfig(gc);
-
-        // 数据源配置
-        DataSourceConfig dsc = new DataSourceConfig();
-        /*dsc.setUrl("jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true");
-        dsc.setDriverName("com.mysql.jdbc.Driver");
-        dsc.setUsername("root");
-        dsc.setPassword("root");
-        mpg.setDataSource(dsc);*/
-//        dsc.setDriverName("oracle.jdbc.driver.OracleDriver"); 注意大写
-//        dsc.setUsername("gdprod");
-//        dsc.setPassword("gd123");
-//        dsc.setUrl("jdbc:oracle:thin:@10.81.3.151:1521:gdsj");
-
-        dsc.setDriverName("org.postgresql.Driver");
-        dsc.setUsername("postgres");
-        dsc.setPassword("gd123");
-        dsc.setUrl("jdbc:postgresql://127.0.0.1:5432/IMS_NEM_JN");
-
-        mpg.setDataSource(dsc);
-
-
-
-        // 包配置
-        PackageConfig pc = new PackageConfig();
-//        pc.setModuleName(scanner("模块名"));
-        pc.setParent("com.gyee.frame");
-        pc.setEntity("model.auto");
-        pc.setMapper("mapper.auto");
-        pc.setService("service.auto");
-        pc.setServiceImpl("service.auto.impl");
-        mpg.setPackageInfo(pc);
-
-        // 自定义配置
-//        InjectionConfig cfg = new InjectionConfig() {
-//            @Override
-//            public void initMap() {
-//                // to do nothing
-//            }
-//        };
-
-        // 如果模板引擎是 freemarker
-//        String templatePath = "/templates/mapper.xml.ftl";
-        // 如果模板引擎是 velocity
-        // String templatePath = "/templates/mapper.xml.vm";
-
-        // 自定义输出配置
-//        List<FileOutConfig> focList = new ArrayList<>();
-        // 自定义配置会被优先输出
-//        focList.add(new FileOutConfig(templatePath) {
-//            @Override
-//            public String outputFile(TableInfo tableInfo) {
-//                // 自定义输出文件名 , 如果你 Entity 设置了前后缀、此处注意 xml 的名称会跟着发生变化!!
-//                return projectPath + "/src/main/resources/mapper/" + pc.getModuleName()
-//                        + "/" + tableInfo.getEntityName() + "Mapper" + StringPool.DOT_XML;
-//            }
-//        });
-        /*
-        cfg.setFileCreate(new IFileCreate() {
-            @Override
-            public boolean isCreate(ConfigBuilder configBuilder, FileType fileType, String filePath) {
-                // 判断自定义文件夹是否需要创建
-                checkDir("调用默认方法创建的目录");
-                return false;
-            }
-        });
-        */
-//        cfg.setFileOutConfigList(focList);
-//        mpg.setCfg(cfg);
-
-        // 配置模板
-        TemplateConfig templateConfig = new TemplateConfig();
-
-        // 配置自定义输出模板
-        //指定自定义模板路径,注意不要带上.ftl/.vm, 会根据使用的模板引擎自动识别
-        // templateConfig.setEntity("templates/entity2.java");
-        // templateConfig.setService();
-        // templateConfig.setController();
-
-        templateConfig.setXml(null);
-        mpg.setTemplate(templateConfig);
-
-        // 策略配置
-        StrategyConfig strategy = new StrategyConfig();
-        strategy.setNaming(NamingStrategy.underline_to_camel);
-        strategy.setColumnNaming(NamingStrategy.underline_to_camel);
-        strategy.setSuperEntityClass("com.baomidou.mybatisplus.extension.activerecord.Model");
-        strategy.setEntityLombokModel(true);
-        strategy.setRestControllerStyle(true);
-
-        strategy.setEntityLombokModel(true);
-        // 公共父类
-//        strategy.setSuperControllerClass("com.baomidou.ant.common.BaseController");
-        // 写于父类中的公共字段
-//        strategy.setSuperEntityColumns("id");
-        strategy.setInclude(scanner("表名,多个英文逗号分割").split(","));
-        strategy.setControllerMappingHyphenStyle(true);
-        strategy.setTablePrefix(pc.getModuleName() + "_");
-        mpg.setStrategy(strategy);
-        mpg.setTemplateEngine(new FreemarkerTemplateEngine());
-        mpg.execute();
-    }
-}

+ 0 - 260
web/health/src/main/java/com/gyee/frame/common/conf/GyeeConfig.java

@@ -1,260 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
-
-import java.util.Map;
-
-/**
- * 读取项目相关配置
- * 
- * @author gyee
- */
-@Component
-@ConfigurationProperties(prefix = "gyee")
-public class GyeeConfig
-{
-    /** 项目名称 */
-    private String name;
-    /** 版本 */
-    private String version;
-    /** 版权年份 */
-    private String copyrightYear;
-    /** 上传路径 */
-    private static String defaultBaseDir;
-    /** 是否开启 上传static **/
-    private static String isstatic;
-    /** 开启存放静态文件夹后目录 **/
-    private static String isroot_dir;
-    /** 邮箱发送smtp */
-    private static String email_smtp;
-    /** 发送邮箱端口 */
-    private static String email_port;
-    /** 发送邮箱登录账号 */
-    private static String email_account;
-    /** 发送邮箱登录密码 */
-    private static String email_password;
-    /** 演示模式 **/
-    private static String demoEnabled;
-    /** 滚动验证码 **/
-    private static Boolean rollVerification;
-    /** 实时数据库 **/
-    private  static String realtimedataBase;
-    /**数据适配器网址 **/
-    private static String baseurl;
-    /**健康管理数据适配器网址 **/
-    private static String healthurl;
-    /** swaggerip指定IP **/
-    private  static  String swaggerip;
-    /** 小数位数 **/
-    private  static  Integer digit;
-    /** 气象采集指定IP **/
-    private  static  String weatherurl;
-    /** 区域公司key指定IP **/
-    private  static  String weatherqygs;
-    /** 海拔信息配置 **/
-    private static Map<String,Double> hbmaps;
-
-    /**测点初始码**/
-    private  static  String initialcode;
-
-
-    private  static  String adapterUrl;
-
-    private  static  String alarmUrl;
-
-    public static String getHealthurl() {
-        return healthurl;
-    }
-
-    public  void setHealthurl(String healthurl) {
-        GyeeConfig.healthurl = healthurl;
-    }
-
-    public static String getAdapterUrl() {
-        return adapterUrl;
-    }
-
-    public  void setAdapterUrl(String adapterUrl) {
-        GyeeConfig.adapterUrl = adapterUrl;
-    }
-
-    public static String getAlarmUrl() {
-        return alarmUrl;
-    }
-
-    public  void setAlarmUrl(String alarmUrl) {
-        GyeeConfig.alarmUrl = alarmUrl;
-    }
-
-    public static String getInitialcode() {
-        return initialcode;
-    }
-
-    public  void setInitialcode(String initialcode) {
-        GyeeConfig.initialcode = initialcode;
-    }
-
-    public static Map<String, Double> getHbmaps() {
-        return hbmaps;
-    }
-
-    public  void setHbmaps(Map<String, Double> hbmaps) {
-        GyeeConfig.hbmaps = hbmaps;
-    }
-
-    public static String getWeatherurl() {
-        return weatherurl;
-    }
-
-    public  void setWeatherurl(String weatherurl) {
-        GyeeConfig.weatherurl = weatherurl;
-    }
-
-    public static String getWeatherqygs() {
-        return weatherqygs;
-    }
-
-    public  void setWeatherqygs(String weatherqygs) {
-        GyeeConfig.weatherqygs = weatherqygs;
-    }
-
-    public static  Integer getDigit() {
-        return digit;
-    }
-
-    public  void setDigit(Integer digit) {
-        this.digit = digit;
-    }
-
-    public  static String getSwaggerip() {
-        return swaggerip;
-    }
-
-    public  void setSwaggerip(String swaggerip) {
-        this.swaggerip = swaggerip;
-    }
-
-    public String getName()
-    {
-        return name;
-    }
-
-    public void setName(String name)
-    {
-        this.name = name;
-    }
-
-    public String getVersion()
-    {
-        return version;
-    }
-
-    public void setVersion(String version)
-    {
-        this.version = version;
-    }
-
-    public String getCopyrightYear()
-    {
-        return copyrightYear;
-    }
-
-    public void setCopyrightYear(String copyrightYear)
-    {
-        this.copyrightYear = copyrightYear;
-    }
-
-
-	public static String getDefaultBaseDir() {
-		return defaultBaseDir;
-	}
-
-	public  void setDefaultBaseDir(String defaultBaseDir) {
-		GyeeConfig.defaultBaseDir = defaultBaseDir;
-	}
-
-	public static String getIsstatic() {
-		return isstatic;
-	}
-
-	public  void setIsstatic(String isstatic) {
-
-        GyeeConfig.isstatic = isstatic;
-	}
-
-	public static String getIsroot_dir() {
-		return isroot_dir;
-	}
-
-	public void setIsroot_dir(String isroot_dir) {
-
-        GyeeConfig.isroot_dir = isroot_dir;
-	}
-
-	public static String getEmail_smtp() {
-		return email_smtp;
-	}
-
-	public void setEmail_smtp(String email_smtp) {
-		GyeeConfig.email_smtp = email_smtp;
-	}
-
-	public static String getEmail_port() {
-		return email_port;
-	}
-
-	public void setEmail_port(String email_port) {
-		GyeeConfig.email_port = email_port;
-	}
-
-	public static String getEmail_account() {
-		return email_account;
-	}
-
-	public void setEmail_account(String email_account) {
-		GyeeConfig.email_account = email_account;
-	}
-
-	public static String getEmail_password() {
-		return email_password;
-	}
-
-	public void setEmail_password(String email_password) {
-		GyeeConfig.email_password = email_password;
-	}
-
-	public static String getDemoEnabled() {
-		return demoEnabled;
-	}
-
-	public void setDemoEnabled(String demoEnabled) {
-		GyeeConfig.demoEnabled = demoEnabled;
-	}
-
-	public static Boolean getRollVerification() {
-		return rollVerification;
-	}
-
-	public void setRollVerification(Boolean rollVerification) {
-		GyeeConfig.rollVerification = rollVerification;
-	}
-
-
-
-
-    public static String getRealtimedataBase() {
-        return realtimedataBase;
-    }
-
-    public  void setRealtimedataBase(String realtimedataBase) {
-        GyeeConfig.realtimedataBase = realtimedataBase;
-    }
-    public static String getBaseurl() {
-        return baseurl;
-    }
-
-    public  void setBaseurl(String baseurl) {
-        GyeeConfig.baseurl = baseurl;
-    }
-}

+ 0 - 85
web/health/src/main/java/com/gyee/frame/common/conf/KaptchaConfig.java

@@ -1,85 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import java.util.Properties;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import com.google.code.kaptcha.impl.DefaultKaptcha;
-import com.google.code.kaptcha.util.Config;
-
-/**
- * 谷歌验证码配置文件
- * @author gyee
- * @date: 2018年9月12日 上午11:02:13
- */
-@Configuration
-public class KaptchaConfig {
-	 @Bean(name = "captchaProducer")
-	    public DefaultKaptcha getKaptchaBean()
-	    {
-	        DefaultKaptcha defaultKaptcha = new DefaultKaptcha();
-	        Properties properties = new Properties();
-	        //是否有边框  默认为true  我们可以自己设置yes,no  
-	        properties.setProperty("kaptcha.border", "yes");
-	        //边框颜色   默认为Color.BLACK  
-	        properties.setProperty("kaptcha.border.color", "105,179,90");
-	        //验证码文本字符颜色  默认为Color.BLACK  
-	        properties.setProperty("kaptcha.textproducer.font.color", "blue");
-	        //验证码图片宽度  默认为200
-	        properties.setProperty("kaptcha.image.width", "200");
-	        //验证码图片高度  默认为50
-	        properties.setProperty("kaptcha.image.height", "50");
-	        // 验证码文本字符大小  默认为40
-	        properties.setProperty("kaptcha.textproducer.font.size", "40");
-	        //session key
-	        properties.setProperty("kaptcha.session.key", "kaptchaCode");
-	        // 验证码文本字符间距  默认为2  
-	        properties.setProperty("kaptcha.textproducer.char.spac", "35");
-	        //验证码文本字符长度  默认为5  
-	        properties.setProperty("kaptcha.textproducer.char.length", "4");
-	        //验证码文本字体样式  默认为new Font("Arial", 1, fontSize), new Font("Courier", 1, fontSize) 
-	        properties.setProperty("kaptcha.textproducer.font.names", "Arial,Courier");
-	        //验证码噪点颜色   默认为Color.BLACK  
-	        properties.setProperty("kaptcha.noise.color", "white");
-	        Config config = new Config(properties);
-	        defaultKaptcha.setConfig(config);
-	        return defaultKaptcha;
-	    }
-
-	    @Bean(name = "captchaProducerMath")
-	    public DefaultKaptcha getKaptchaBeanMath()
-	    {
-	        DefaultKaptcha defaultKaptcha = new DefaultKaptcha();
-	        Properties properties = new Properties();
-	        //是否有边框 默认为true 我们可以自己设置yes,no
-	        properties.setProperty("kaptcha.border", "yes");
-	        //边框颜色 默认为Color.BLACK
-	        properties.setProperty("kaptcha.border.color", "158,167,179");
-	        //验证码文本字符颜色 默认为Color.BLACK
-	        properties.setProperty("kaptcha.textproducer.font.color", "blue");
-	        //验证码图片宽度 默认为200
-	        properties.setProperty("kaptcha.image.width", "100");
-	        //验证码图片高度 默认为50
-	        properties.setProperty("kaptcha.image.height", "30");
-	        //验证码文本字符大小 默认为40
-	        properties.setProperty("kaptcha.textproducer.font.size", "30");
-	        //KAPTCHA_SESSION_KEY
-	        properties.setProperty("kaptcha.session.key", "kaptchaCodeMath");
-	        //验证码文本生成器
-	        properties.setProperty("kaptcha.textproducer.impl", "com.gyee.frame.common.support.KaptchaTextCreator");
-	        //验证码文本字符间距 默认为2
-	        properties.setProperty("kaptcha.textproducer.char.spac", "5");
-	        //验证码文本字符长度 默认为5
-	        properties.setProperty("kaptcha.textproducer.char.length", "6");
-	        //验证码文本字体样式 默认为new Font("Arial", 1, fontSize), new Font("Courier", 1, fontSize)
-	        properties.setProperty("kaptcha.textproducer.font.names", "Arial,Courier");
-	        //验证码噪点颜色 默认为Color.BLACK
-	        properties.setProperty("kaptcha.noise.color", "white");
-	        //干扰实现类
-	        properties.setProperty("kaptcha.noise.impl", "com.google.code.kaptcha.impl.NoNoise");
-	        //图片样式 水纹com.google.code.kaptcha.impl.WaterRipple 鱼眼com.google.code.kaptcha.impl.FishEyeGimpy 阴影com.google.code.kaptcha.impl.ShadowGimpy
-	        properties.setProperty("kaptcha.obscurificator.impl", "com.google.code.kaptcha.impl.ShadowGimpy");
-	        Config config = new Config(properties);
-	        defaultKaptcha.setConfig(config);
-	        return defaultKaptcha;
-	    }
-}

+ 0 - 99
web/health/src/main/java/com/gyee/frame/common/conf/MybatisConfig.java

@@ -1,99 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceBuilder;
-import com.gyee.frame.common.dataSources.DataSourceType;
-import com.gyee.frame.common.dataSources.DynamicDataSource;
-import org.apache.ibatis.session.SqlSessionFactory;
-import org.mybatis.spring.SqlSessionFactoryBean;
-import org.mybatis.spring.annotation.MapperScan;
-import org.springframework.beans.factory.annotation.Qualifier;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.context.annotation.Primary;
-import org.springframework.core.io.Resource;
-import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
-import org.springframework.jdbc.datasource.DataSourceTransactionManager;
-import org.springframework.transaction.PlatformTransactionManager;
-
-import javax.sql.DataSource;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Mybatis多数据源配置
- * 参考文章:https://www.cnblogs.com/geekdc/p/10963476.html
- * @ClassName: MybatisConfig
- * @author gyee
- * @date 2019-12-06 21:11
- */
-@Configuration
-@MapperScan(basePackages = "com.gyee.frame.mapper")
-public class MybatisConfig {
-
-    @Bean(name = "master")
-    @ConfigurationProperties("spring.datasource.druid.master")
-    public DataSource masterDataSource()
-    {
-        return DruidDataSourceBuilder.create().build();
-    }
-
-    @Bean(name = "slave")
-    @ConfigurationProperties("spring.datasource.druid.slave")
-//    @ConditionalOnProperty(prefix = "spring.datasource.druid.slave", name = "enabled", havingValue = "true")
-    public DataSource slaveDataSource()
-    {
-        return DruidDataSourceBuilder.create().build();
-    }
-
-//    @Bean(name = "ticket")
-//    @ConfigurationProperties("spring.datasource.druid.ticket")
-////    @ConditionalOnProperty(prefix = "spring.datasource.druid.ticket", name = "enabled", havingValue = "true")
-//    public DataSource ticketDataSource()
-//    {
-//        return DruidDataSourceBuilder.create().build();
-//    }
-    @Bean(name = "dynamicDataSource")
-    @Primary
-    public DynamicDataSource dataSource(@Qualifier("master")DataSource masterDataSource, @Qualifier("slave")DataSource slaveDataSource)
-    {
-        Map<Object, Object> targetDataSources = new HashMap<>();
-        targetDataSources.put(DataSourceType.MASTER.name(), masterDataSource);
-    	targetDataSources.put(DataSourceType.SLAVE.name(),slaveDataSource);
-        return new DynamicDataSource(masterDataSource(), targetDataSources);
-    }
-
-//    @Bean(name = "dynamicDataSource")
-//    @Primary
-//    public DynamicDataSource dataSource(@Qualifier("master")DataSource masterDataSource, @Qualifier("slave")DataSource slaveDataSource, @Qualifier("ticket")DataSource ticketDataSource)
-//    {
-//        Map<Object, Object> targetDataSources = new HashMap<>();
-//        targetDataSources.put(DataSourceType.MASTER.name(), masterDataSource);
-//        targetDataSources.put(DataSourceType.SLAVE.name(),slaveDataSource);
-//        targetDataSources.put(DataSourceType.TICKET.name(),ticketDataSource);
-//        return new DynamicDataSource(masterDataSource(), targetDataSources);
-//    }
-
-    @Bean
-    public SqlSessionFactory sqlSessionFactory(DynamicDataSource dynamicDataSource) throws Exception {
-        SqlSessionFactoryBean factoryBean = new SqlSessionFactoryBean();
-        factoryBean.setDataSource(dynamicDataSource);
-//        factoryBean.setTypeAliasesPackage();
-        // 设置mapper.xml的位置路径
-        Resource[] resources = new PathMatchingResourcePatternResolver().getResources("classpath*:mybatis/*/*.xml");
-        factoryBean.setMapperLocations(resources);
-        return factoryBean.getObject();
-    }
-    
-    /**
-     * 配置@Transactional注解事务
-     * @param dynamicDataSource
-     * @return
-     * @author gyee
-     * @Date 2019年12月7日 上午11:31:33
-     */
-    @Bean
-    public PlatformTransactionManager transactionManager(DynamicDataSource dynamicDataSource){
-        return new DataSourceTransactionManager(dynamicDataSource);
-    }
-}

+ 0 - 39
web/health/src/main/java/com/gyee/frame/common/conf/MybatisPlusConfig.java

@@ -1,39 +0,0 @@
-package com.gyee.frame.common.conf;
-
-
-import com.baomidou.mybatisplus.annotation.DbType;
-import com.baomidou.mybatisplus.core.injector.DefaultSqlInjector;
-import com.baomidou.mybatisplus.core.injector.ISqlInjector;
-import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
-import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-@Configuration
-public class MybatisPlusConfig {
-
-    /**
-     * 新的分页插件,一缓和二缓遵循mybatis的规则,需要设置 MybatisConfiguration#useDeprecatedExecutor = false 避免缓存出现问题(该属性会在旧插件移除后一同移除)
-     */
-    @Bean
-    public MybatisPlusInterceptor mybatisPlusInterceptor() {
-        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
-        PaginationInnerInterceptor paginationInnerInterceptor = new PaginationInnerInterceptor();
-        paginationInnerInterceptor.setDbType(DbType.POSTGRE_SQL);
-        //分页查询超过最大页码 显示第一页
-        paginationInnerInterceptor.setOverflow(true);
-        interceptor.addInnerInterceptor(paginationInnerInterceptor);
-        return interceptor;
-    }
-
-
-
-    /**
-     * 此配置可有可无,自定义ISqlInjector
-     * @return DefaultSqlInjector
-     */
-    @Bean
-    public ISqlInjector sqlInjector() {
-        return new DefaultSqlInjector();
-    }
-}

+ 0 - 83
web/health/src/main/java/com/gyee/frame/common/conf/Swagger.java

@@ -1,83 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
-import springfox.documentation.builders.ApiInfoBuilder;
-import springfox.documentation.builders.PathSelectors;
-import springfox.documentation.builders.RequestHandlerSelectors;
-import springfox.documentation.service.ApiInfo;
-import springfox.documentation.spi.DocumentationType;
-import springfox.documentation.spring.web.plugins.Docket;
-import springfox.documentation.swagger2.annotations.EnableSwagger2;
-
-import javax.annotation.Resource;
-
-/**
-* Swagger 配置文件
-* @ClassName: Swagger
-* @Description: 配置文件
-* @author gyee
-* @date 2018年6月3日
-*
- */
-@Configuration(value="true")
-@EnableSwagger2 //启动swagger注解 启动服务,浏览器输入"http://localhost:8080/swagger-ui.html"
-public class Swagger  implements WebMvcConfigurer {
-
-
-	@Resource
-	private GyeeConfig gyeeConfig;
-
-	@Bean
-	public Docket createRestApi() {
-		return new Docket(DocumentationType.SWAGGER_2)
-				.host(gyeeConfig.getSwaggerip())
-				// 用来创建该API的基本信息,展示在文档的页面中(自定义展示的信息)
-				.apiInfo(apiInfo())
-				// 设置哪些接口暴露给Swagger展示
-				.select()
-				 // 扫描所有有注解的api,用这种方式更灵活
-				.apis(RequestHandlerSelectors.basePackage("com.gyee.frame"))
-				// 扫描指定包中的swagger注解
-				//.apis(RequestHandlerSelectors.basePackage("com.gyee.frame.controller"))
-				// 扫描所有 .apis(RequestHandlerSelectors.any())
-				.paths(PathSelectors.any())
-				.build();
-	}
-	
-	private ApiInfo apiInfo() {
-		return new ApiInfoBuilder()
-				//设置标题
-				.title("Gyee_Frame_HF API文档")
-				//描述
-				.description("Gyee_Frame_NX项目")
-				 //作者信息
-                //.contact(new Contact(v2Config.getName(), null, V2Config.getEmail_account()))
-                //服务条款URL
-				.termsOfServiceUrl("")
-				//版本
-				.version("版本号:"+ gyeeConfig.getVersion())
-				.build();
-	}
-
-	@Override
-
-	public void addResourceHandlers(ResourceHandlerRegistry registry) {
-
-		// 解决静态资源无法访问
-
-		registry.addResourceHandler("/**").addResourceLocations("classpath:/static/");
-
-		// 解决swagger无法访问
-
-		registry.addResourceHandler("/swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/");
-
-		// 解决swagger的js文件无法访问
-
-		registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");
-
-	}
-
-}

+ 0 - 79
web/health/src/main/java/com/gyee/frame/common/conf/TemperatureConfig.java

@@ -1,79 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
-
-import java.util.List;
-
-/**
- * 预警配置
- */
-@Component
-@ConfigurationProperties(prefix = "temperature")
-public class TemperatureConfig {
-
-
-    private static List<String> yyz;
-    private static List<String> clx;
-    private static List<String> fdj;
-    private static List<String> bj;
-    private static List<String> qt;
-    private static List<String> zz;
-    private static List<String> zd;
-
-    public static List<String> getYyz() {
-        return yyz;
-    }
-
-    public  void setYyz(List<String> yyz) {
-        this.yyz = yyz;
-    }
-
-    public static List<String> getClx() {
-        return clx;
-    }
-
-    public  void setClx(List<String> clx) {
-        this.clx = clx;
-    }
-
-    public static List<String> getFdj() {
-        return fdj;
-    }
-
-    public  void setFdj(List<String> fdj) {
-        this.fdj = fdj;
-    }
-
-    public static List<String> getBj() {
-        return bj;
-    }
-
-    public  void setBj(List<String> bj) {
-        this.bj = bj;
-    }
-
-    public static List<String> getQt() {
-        return qt;
-    }
-
-    public  void setQt(List<String> qt) {
-        this.qt = qt;
-    }
-
-    public static List<String> getZz() {
-        return zz;
-    }
-
-    public  void setZz(List<String> zz) {
-        this.zz = zz;
-    }
-
-    public  static List<String> getZd() {
-        return zd;
-    }
-
-    public  void setZd(List<String> zd) {
-        this.zd = zd;
-    }
-}

+ 0 - 56
web/health/src/main/java/com/gyee/frame/common/conf/ThreadPoolTaskConfig.java

@@ -1,56 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
-
-import java.util.concurrent.ThreadPoolExecutor;
-
-@Configuration
-public class ThreadPoolTaskConfig {
-    /**
-     *   默认情况下,在创建了线程池后,线程池中的线程数为0,当有任务来之后,就会创建一个线程去执行任务,
-     *	当线程池中的线程数目达到corePoolSize后,就会把到达的任务放到缓存队列当中;
-     *  当队列满了,就继续创建线程,当线程数量大于等于maxPoolSize后,开始使用拒绝策略拒绝
-     */
-
-    /** 核心线程数(默认线程数) */
-    private static final int corePoolSize = 100;
-    /** 最大线程数 */
-    private static final int maxPoolSize = 500;
-    /** 允许线程空闲时间(单位:默认为秒) */
-    private static final int keepAliveTime = 60;
-    /** 缓冲队列大小 */
-    private static final int queueCapacity = 500;
-    /** 允许等待最长时间 */
-    private static final int awaitTime = 10;
-    /** 线程池名前缀 */
-    private static final String threadNamePrefix = "GYEE-Thread-";
-
-    private ThreadPoolTaskExecutor executor;
-
-    public ThreadPoolTaskExecutor getExecutor(){
-        if (executor == null)
-            executor = taskExecutor();
-
-        return executor;
-    }
-
-
-    private ThreadPoolTaskExecutor taskExecutor(){
-        ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
-        executor.setCorePoolSize(corePoolSize);
-        executor.setMaxPoolSize(maxPoolSize);
-        executor.setQueueCapacity(queueCapacity);
-        executor.setKeepAliveSeconds(keepAliveTime);
-        executor.setThreadNamePrefix(threadNamePrefix);
-        executor.setAwaitTerminationSeconds(awaitTime);
-
-        // 线程池对拒绝任务的处理策略
-        // CallerRunsPolicy:由调用线程(提交任务的线程)处理该任务
-        executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
-        // 初始化
-        executor.initialize();
-        return executor;
-    }
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/common/conf/WebSocketConfig.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.common.conf;
-
-
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.web.socket.server.standard.ServerEndpointExporter;
-
-/**
- * 开启 WebSocket 支持
- **/
-@Configuration
-public class WebSocketConfig {
-
-    @Bean
-    public ServerEndpointExporter serverEndpointExporter() {
-        System.out.println("开启websocket支持。。。。。");
-        return new ServerEndpointExporter();
-    }
-
-}

+ 0 - 27
web/health/src/main/java/com/gyee/frame/common/conf/ZmConfig.java

@@ -1,27 +0,0 @@
-package com.gyee.frame.common.conf;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * 预警配置
- */
-@Component
-@ConfigurationProperties(prefix = "zmconfig")
-public class ZmConfig {
-
-
-    private static Map<String,List<String>> maps;
-
-
-    public static Map<String, List<String>> getMaps() {
-        return maps;
-    }
-
-    public void setMaps(Map<String, List<String>> maps) {
-        this.maps = maps;
-    }
-}

+ 0 - 45
web/health/src/main/java/com/gyee/frame/common/conf/monitor/LeaderConfig.java

@@ -1,45 +0,0 @@
-package com.gyee.frame.common.conf.monitor;
-
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.context.annotation.PropertySource;
-import org.springframework.context.annotation.PropertySources;
-import org.springframework.stereotype.Component;
-
-
-@Component
-@PropertySources({
-        @PropertySource("classpath:config/leader.properties"),
-})
-public class LeaderConfig {
-
-    @Value("${Leader.FDL}")
-    private String FDL;
-    @Value("${Leader.FS}")
-    private String FS;
-    @Value("${Leader.GL}")
-
-    private String GL;
-    public String getFDL() {
-        return FDL;
-    }
-
-    public void setFDL(String FDL) {
-        this.FDL = FDL;
-    }
-
-    public String getFS() {
-        return FS;
-    }
-
-    public void setFS(String FS) {
-        this.FS = FS;
-    }
-
-    public String getGL() {
-        return GL;
-    }
-
-    public void setGL(String GL) {
-        this.GL = GL;
-    }
-}

+ 0 - 45
web/health/src/main/java/com/gyee/frame/common/conf/monitor/StatusConfig.java

@@ -1,45 +0,0 @@
-package com.gyee.frame.common.conf.monitor;
-
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.context.annotation.PropertySource;
-import org.springframework.context.annotation.PropertySources;
-import org.springframework.stereotype.Component;
-
-
-@Component
-@PropertySources({
-        @PropertySource("classpath:config/status.properties"),
-})
-public class StatusConfig {
-
-    @Value("${Status.FDL}")
-    private String FDL;
-    @Value("${Status.FS}")
-    private String FS;
-    @Value("${Status.GL}")
-
-    private String GL;
-    public String getFDL() {
-        return FDL;
-    }
-
-    public void setFDL(String FDL) {
-        this.FDL = FDL;
-    }
-
-    public String getFS() {
-        return FS;
-    }
-
-    public void setFS(String FS) {
-        this.FS = FS;
-    }
-
-    public String getGL() {
-        return GL;
-    }
-
-    public void setGL(String GL) {
-        this.GL = GL;
-    }
-}

+ 0 - 21
web/health/src/main/java/com/gyee/frame/common/dataSources/DataSource.java

@@ -1,21 +0,0 @@
-package com.gyee.frame.common.dataSources;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * 自定义注解,用于类或方法上,优先级:方法>类
- * @ClassName: DataSource
- * @author gyee
- * @date 2019-12-06 21:15
- */
-@Target({ElementType.METHOD})
-@Retention(RetentionPolicy.RUNTIME)
-public @interface DataSource {
-	/**
-     * 切换数据源名称
-     */
-	DataSourceType value() default DataSourceType.MASTER;
-}

+ 0 - 77
web/health/src/main/java/com/gyee/frame/common/dataSources/DataSourceAspect.java

@@ -1,77 +0,0 @@
-package com.gyee.frame.common.dataSources;
-
-import org.aspectj.lang.ProceedingJoinPoint;
-import org.aspectj.lang.annotation.Around;
-import org.aspectj.lang.annotation.Aspect;
-import org.aspectj.lang.annotation.Pointcut;
-import org.aspectj.lang.reflect.MethodSignature;
-import org.springframework.core.annotation.Order;
-import org.springframework.stereotype.Component;
-
-import com.gyee.frame.util.StringUtils;
-
-import java.lang.reflect.Method;
-/**
- * 多数据源处理
- * @ClassName: DataSourceAspect
- * @author gyee
- * @date 2019-12-07 18:40
- */
-@Aspect
-@Component
-@Order(1)
-//@EnableAsync
-public class DataSourceAspect {
-	//private static final Logger log = LoggerFactory.getLogger(DataSourceAspect.class);
-
-	@Pointcut("@annotation(com.gyee.frame.common.dataSources.DataSource)")
-    public void dsPointCut()
-    {
-
-    }
-
-	@Around("dsPointCut()")
-    public Object around(ProceedingJoinPoint point) throws Throwable
-    {
-        MethodSignature signature = (MethodSignature) point.getSignature();
-
-        Method method = signature.getMethod();
-
-        DataSource dataSource = method.getAnnotation(DataSource.class);
-
-        if (null!=dataSource)
-        {
-            DataSourceContextHolder.setDataSource(dataSource.value().name());
-        }
-
-        try
-        {
-            return point.proceed();
-        }
-        finally
-        {
-            // 销毁数据源 在执行方法之后
-        	DataSourceContextHolder.clearDataSource();
-        }
-    }
-
-	 /**
-     * 获取需要切换的数据源
-     */
-    public DataSource getDataSource(ProceedingJoinPoint point)
-    {
-        MethodSignature signature = (MethodSignature) point.getSignature();
-        Class<? extends Object> targetClass = point.getTarget().getClass();
-        DataSource targetDataSource = targetClass.getAnnotation(DataSource.class);
-        if (StringUtils.isNotNull(targetDataSource))
-        {
-            return targetDataSource;
-        }
-        else
-        {
-            Method method = signature.getMethod();
-            DataSource dataSource = method.getAnnotation(DataSource.class);
-            return dataSource;
-        }
-    }
-}

+ 0 - 50
web/health/src/main/java/com/gyee/frame/common/dataSources/DataSourceContextHolder.java

@@ -1,50 +0,0 @@
-package com.gyee.frame.common.dataSources;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * 动态数据源上下文管理:设置数据源,获取数据源,清除数据源
- * @ClassName: DataSourceContextHolder
- * @author gyee
- * @date 2019-12-06 21:08
- */
-public class DataSourceContextHolder {
-	private static final Logger log = LoggerFactory.getLogger(DataSourceContextHolder.class);
-   /**
-    * 使用ThreadLocal维护变量,ThreadLocal为每个使用该变量的线程提供独立的变量副本,
-    * 所以每一个线程都可以独立地改变自己的副本,而不会影响其它线程所对应的副本。
-    */
-    private static final ThreadLocal<String> CONTEXT_HOLDER = new ThreadLocal<>();
-
-    /**
-     * 设置数据源
-     * @param type
-     * @author gyee
-     * @Date 2019年12月7日 下午6:38:55
-     */
-    public static void setDataSource(String type){
-
-        log.info("当前使用的数据源为:{}", type);
-    	CONTEXT_HOLDER.set(type);
-    }
-
-    /**
-     * 获得数据源的变量
-     * @return
-     * @author gyee
-     * @Date 2019年12月7日 下午6:39:00
-     */
-    public static String getDataSource(){
-        return CONTEXT_HOLDER.get();
-    }
-
-    /**
-     * 清除数据源
-     * @author gyee
-     * @Date 2019年12月7日 下午6:39:06
-     */
-    public static void clearDataSource(){
-    	CONTEXT_HOLDER.remove();
-    }
-}

+ 0 - 13
web/health/src/main/java/com/gyee/frame/common/dataSources/DataSourceType.java

@@ -1,13 +0,0 @@
-package com.gyee.frame.common.dataSources;
-
-/**
- * 列出所有数据源
- * @ClassName: DataSourceType
- * @author gyee
- * @date 2019-12-06 21:02
- */
-public enum DataSourceType {
-	MASTER,
-	SLAVE,
-	TICKET
-}

+ 0 - 27
web/health/src/main/java/com/gyee/frame/common/dataSources/DynamicDataSource.java

@@ -1,27 +0,0 @@
-package com.gyee.frame.common.dataSources;
-
-import java.util.Map;
-import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
-
-/**
- * 动态数据源
- * @ClassName: DynamicDataSource
- * @author gyee
- * @date 2019-12-07 18:39
- */
-public class DynamicDataSource extends AbstractRoutingDataSource {
-	
-	public DynamicDataSource(javax.sql.DataSource dataSource, Map<Object, Object> targetDataSources)
-    {
-        super.setDefaultTargetDataSource(dataSource);
-        super.setTargetDataSources(targetDataSources);
-        super.afterPropertiesSet();
-    }
-
-	@Override
-	protected Object determineCurrentLookupKey() {
-		
-		return DataSourceContextHolder.getDataSource();
-	}
-
-}

+ 0 - 104
web/health/src/main/java/com/gyee/frame/common/domain/AjaxResult.java

@@ -1,104 +0,0 @@
-package com.gyee.frame.common.domain;
-
-import java.util.HashMap;
-
-/**
-* @ClassName: AjaxResult
-* @Description: ajax操作消息提醒
-* @author gyee
-* @date 2018年8月18日
-*
- */
-public class AjaxResult extends HashMap<String, Object>
-{
-    private static final long serialVersionUID = 1L;
-
-    /**
-     * 初始化一个新创建的 Message 对象
-     */
-    public AjaxResult()
-    {
-    }
-
-    /**
-     * 返回错误消息
-     * 
-     * @return 错误消息
-     */
-    public static AjaxResult error()
-    {
-        return error(1, "操作失败");
-    }
-
-    /**
-     * 返回错误消息
-     * 
-     * @param msg 内容
-     * @return 错误消息
-     */
-    public static AjaxResult error(String msg)
-    {
-        return error(500, msg);
-    }
-
-    /**
-     * 返回错误消息
-     * 
-     * @param code 错误码
-     * @param msg 内容
-     * @return 错误消息
-     */
-    public static AjaxResult error(int code, String msg)
-    {
-        AjaxResult json = new AjaxResult();
-        json.put("code", code);
-        json.put("msg", msg);
-        return json;
-    }
-
-    /**
-     * 返回成功消息
-     * 
-     * @param msg 内容
-     * @return 成功消息
-     */
-    public static AjaxResult success(String msg)
-    {
-        AjaxResult json = new AjaxResult();
-        json.put("msg", msg);
-        json.put("code", 200);
-        return json;
-    }
-    
-    /**
-     * 返回成功消息
-     * 
-     * @return 成功消息
-     */
-    public static AjaxResult success()
-    {
-        return AjaxResult.success("操作成功");
-    }
-    
-    public static AjaxResult successData(int code, Object value){
-    	 AjaxResult json = new AjaxResult();
-    	 json.put("code", code);
-         json.put("data", value);
-         return json;
-    }
-   
-    
-    /**
-     * 返回成功消息
-     * 
-     * @param key 键值
-     * @param value 内容
-     * @return 成功消息
-     */
-    @Override
-    public AjaxResult put(String key, Object value)
-    {
-        super.put(key, value);
-        return this;
-    }
-}

+ 0 - 80
web/health/src/main/java/com/gyee/frame/common/druid/RemoveDruidAdConfig.java

@@ -1,80 +0,0 @@
-package com.gyee.frame.common.druid;
-
-import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
-import com.alibaba.druid.spring.boot.autoconfigure.properties.DruidStatProperties;
-import com.alibaba.druid.util.Utils;
-import org.springframework.boot.autoconfigure.AutoConfigureAfter;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
-import org.springframework.boot.web.servlet.FilterRegistrationBean;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-import javax.servlet.*;
-import java.io.IOException;
-
-
-/**
- * 类名称:RemoveDruidAdConfig
- * 类描述: 去除druid底部的广告配置类
- *
- * @author: taohongchao
- * 创建时间:2019/2/15 13:14
- * Version 1.0
- */
-
-@Configuration
-@ConditionalOnWebApplication
-@AutoConfigureAfter(DruidDataSourceAutoConfigure.class)
-@ConditionalOnProperty(name = "spring.datasource.druid.stat-view-servlet.enabled", havingValue = "true", matchIfMissing = true)
-public class RemoveDruidAdConfig {
-
-
-    /**
-     * 方法名: removeDruidAdFilterRegistrationBean
-     * 方法描述:  除去页面底部的广告
-     * @param properties
-     * @return org.springframework.boot.web.servlet.FilterRegistrationBean
-     * @throws
-     */
-    @SuppressWarnings("rawtypes")
-	@Bean
-    public FilterRegistrationBean removeDruidAdFilterRegistrationBean(DruidStatProperties properties) {
-        // 获取web监控页面的参数
-        DruidStatProperties.StatViewServlet config = properties.getStatViewServlet();
-        // 提取common.js的配置路径
-        String pattern = config.getUrlPattern() != null ? config.getUrlPattern() : "/druid/*";
-        String commonJsPattern = pattern.replaceAll("\\*", "js/common.js");
-
-        final String filePath = "support/http/resources/js/common.js";
-
-        //创建filter进行过滤
-        Filter filter = new Filter() {
-            @Override
-            public void init(FilterConfig filterConfig) throws ServletException {
-            }
-
-            @Override
-            public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
-                chain.doFilter(request, response);
-                // 重置缓冲区,响应头不会被重置
-                response.resetBuffer();
-                // 获取common.js
-                String text = Utils.readFromResource(filePath);
-                // 正则替换banner, 除去底部的广告信息
-                text = text.replaceAll("<a.*?banner\"></a><br/>", "");
-                text = text.replaceAll("powered.*?shrek.wang</a>", "");
-                response.getWriter().write(text);
-            }
-
-            @Override
-            public void destroy() {
-            }
-        };
-        FilterRegistrationBean<Filter> registrationBean = new FilterRegistrationBean<Filter>();
-        registrationBean.setFilter(filter);
-        registrationBean.addUrlPatterns(commonJsPattern);
-        return registrationBean;
-    }
-}
-

+ 0 - 141
web/health/src/main/java/com/gyee/frame/common/exception/GlobalExceptionResolver.java

@@ -1,141 +0,0 @@
-package com.gyee.frame.common.exception;
-
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.common.exception.demo.DemoModeException;
-import com.gyee.frame.util.ServletUtils;
-import org.apache.shiro.authz.AuthorizationException;
-import org.apache.shiro.authz.UnauthenticatedException;
-import org.apache.shiro.authz.UnauthorizedException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.validation.BindException;
-import org.springframework.web.HttpRequestMethodNotSupportedException;
-import org.springframework.web.bind.annotation.ExceptionHandler;
-import org.springframework.web.bind.annotation.RestControllerAdvice;
-import org.springframework.web.servlet.ModelAndView;
-import org.thymeleaf.exceptions.TemplateInputException;
-
-import javax.servlet.http.HttpServletRequest;
-
-/**
- * 全局异常处理
- * @author gyee
- * @date: 2018年9月9日 下午10:52:55
- */
-@RestControllerAdvice
-public class GlobalExceptionResolver{
-	private static Logger logger = LoggerFactory.getLogger(GlobalExceptionResolver.class);
-	
-	
-	
-	 /**
-     * 权限校验失败 如果请求为ajax返回json,普通请求跳转页面
-     */
-    @ExceptionHandler(AuthorizationException.class)
-    public Object handleAuthorizationException(HttpServletRequest request, AuthorizationException e)
-    {
-		//开发环境打印异常,正式环境请注销
-    	logger.error(" 权限校验异常》》"+e.getMessage(), e);
-        if (ServletUtils.isAjaxRequest(request))
-        {
-            return AjaxResult.error(e.getMessage());
-        }
-        else
-        {
-        	ModelAndView mv;
-        	//shiro异常拦截 
-          if(e instanceof UnauthorizedException){
-          	//未授权异常
-              mv = new ModelAndView("/error/403");
-              return mv;
-          }else if(e instanceof UnauthenticatedException){
-          	//未认证异常
-              mv = new ModelAndView("/error/403");
-              return mv;
-          }
-          else {
-              mv = new ModelAndView();
-              return mv;
-  
-          }
-        }
-    }
-	
-	
-   
-    
-    /**
-     * 自定义验证异常
-     */
-    @ExceptionHandler(BindException.class)
-    public AjaxResult validatedBindException(BindException e)
-    {
-    	logger.error("自定义验证异常", e);
-        String message = e.getAllErrors().get(0).getDefaultMessage();
-        return AjaxResult.error(message);
-    }
-    
-    
-    /**
-     * 请求方式不支持
-     */
-    @ExceptionHandler({ HttpRequestMethodNotSupportedException.class })
-    public AjaxResult handleException(HttpRequestMethodNotSupportedException e)
-    {
-    	logger.error("请求方式不支持异常:", e);
-        return AjaxResult.error("不支持' " + e.getMethod() + "'请求");
-    }
-  
-    
-    
-
-    /**
-     * 系统异常
-     */
-    @ExceptionHandler(Exception.class) 
-    public ModelAndView handle(Exception e){ 
-    	logger.error("系统异常:", e);
-	    ModelAndView mv = new ModelAndView(); 
-	    mv.addObject("message", e.getMessage()); 
-	    mv.setViewName("/error/999"); 
-	    return mv; 
-    }
-    
-    /**
-     * 演示模式异常
-     */
-    @ExceptionHandler(DemoModeException.class)
-    public AjaxResult demoModeException(DemoModeException e)
-    {
-        return AjaxResult.error("演示模式,不允许操作");
-    }
-    
-    /**
-     * 拦截未知的运行时异常
-     */
-    @ExceptionHandler(RuntimeException.class)
-    public AjaxResult notFount(RuntimeException e)
-    {
-    	logger.error("运行时异常:", e);
-        return AjaxResult.error("运行时异常:" + e.getMessage());
-    }
-
-    /**
-     * 拦截自定义异常
-     */
-    @ExceptionHandler(QiNiuException.class)
-    public AjaxResult qiniuException(QiNiuException e)
-    {
-        logger.error(e.getMessage());
-        return AjaxResult.error(e.getCode(), e.getMessage());
-    }
-
-
-    @ExceptionHandler(TemplateInputException.class)
-    public AjaxResult templateException(TemplateInputException e)
-    {
-        logger.error(e.getMessage());
-        return AjaxResult.error(e.getMessage());
-    }
-
-}

+ 0 - 65
web/health/src/main/java/com/gyee/frame/common/exception/QiNiuException.java

@@ -1,65 +0,0 @@
-package com.gyee.frame.common.exception;
-
-import com.gyee.frame.common.exception.enums.QiNiuErrorEnum;
-
-/**
- * QiNiuException
- *
- * @author bobbi
- * @date 2018/10/07 13:54
- * @email 571002217@qq.com
- * @description 自定义异常
- */
-public class QiNiuException extends RuntimeException{
-	private static final long serialVersionUID = 1L;
-	private String msg;
-    private int code = 500;
-
-    public QiNiuException(){
-        super(QiNiuErrorEnum.UNKNOWN.getMsg());
-        this.msg= QiNiuErrorEnum.UNKNOWN.getMsg();
-    }
-
-
-    public QiNiuException(QiNiuErrorEnum eEnum, Throwable e){
-        super(eEnum.getMsg(),e);
-        this.msg=eEnum.getMsg();
-        this.code=eEnum.getCode();
-    }
-
-    public QiNiuException(QiNiuErrorEnum eEnum){
-        this.msg=eEnum.getMsg();
-        this.code=eEnum.getCode();
-    }
-
-    public QiNiuException(String exception){
-       this.msg=exception;
-    }
-
-
-	public String getMsg() {
-		return msg;
-	}
-
-
-	public void setMsg(String msg) {
-		this.msg = msg;
-	}
-
-
-	public int getCode() {
-		return code;
-	}
-
-
-	public void setCode(int code) {
-		this.code = code;
-	}
-
-	public QiNiuException(String msg, int code) {
-		super();
-		this.msg = msg;
-		this.code = code;
-	}
-    
-}

+ 0 - 17
web/health/src/main/java/com/gyee/frame/common/exception/demo/DemoModeException.java

@@ -1,17 +0,0 @@
-package com.gyee.frame.common.exception.demo;
-
-/**
- * 演示模式异常
-* @ClassName: DemoModeException
-* @author gyee
-* @date 2019-11-08 15:45
-*
- */
-public class DemoModeException extends RuntimeException
-{
-    private static final long serialVersionUID = 1L;
-
-    public DemoModeException()
-    {
-    }
-}

+ 0 - 55
web/health/src/main/java/com/gyee/frame/common/exception/enums/QiNiuErrorEnum.java

@@ -1,55 +0,0 @@
-package com.gyee.frame.common.exception.enums;
-
-/**
- * QiNiuErrorEnum
- * @description error类型枚举类
- */
-public enum QiNiuErrorEnum {
-
-    // 系统错误
-    UNKNOWN(500,"系统内部错误,请联系管理员"),
-    PATH_NOT_FOUND(404,"路径不存在,请检查路径"),
-    NO_AUTH(403,"没有权限,请联系管理员"),
-    DUPLICATE_KEY(501,"数据库中已存在该记录"),
-    TOKEN_GENERATOR_ERROR(502,"token生成失败"),
-    NO_UUID(503,"uuid为空"),
-    SQL_ILLEGAL(504,"sql非法"),
-	TEMPLATE_NO_SUPPORT(505,"模板不支持"),
-
-    //用户权限错误
-    INVALID_TOKEN(1001,"token不合法"),
-
-    //七牛OSS错误
-    OSS_CONFIG_ERROR(10050,"七牛配置信息错误"),
-    OSS_UPLOAD_ERROR(10051,"OSSBookNote上传失败"),
-
-	//数据库错误
-	ERROR_CONNECT(4005, "数据库连接异常"),
-	ERROR_DATA(4006, "数据查询失败");
-
-    private int code;
-    private String msg;
-	public int getCode() {
-		return code;
-	}
-	public void setCode(int code) {
-		this.code = code;
-	}
-	public String getMsg() {
-		return msg;
-	}
-	public void setMsg(String msg) {
-		this.msg = msg;
-	}
-	/**
-	 * @param code
-	 * @param msg
-	 * @author gyee
-	 * @Date 2019年11月20日 下午9:28:34
-	 */
-	private QiNiuErrorEnum(int code, String msg) {
-		this.code = code;
-		this.msg = msg;
-	}
-	
-}

+ 0 - 41
web/health/src/main/java/com/gyee/frame/common/exception/file/FileNameLengthLimitExceededException.java

@@ -1,41 +0,0 @@
-package com.gyee.frame.common.exception.file;
-
-import org.apache.commons.fileupload.FileUploadException;
-
-/**
- * 文件名超长 误异常类
- * 
- * @author gyee
- */
-public class FileNameLengthLimitExceededException extends FileUploadException
-{
-
-    private static final long serialVersionUID = 1L;
-    private int length;
-    private int maxLength;
-    private String filename;
-
-    public FileNameLengthLimitExceededException(String filename, int length, int maxLength)
-    {
-        super("file name : [" + filename + "], length : [" + length + "], max length : [" + maxLength + "]");
-        this.length = length;
-        this.maxLength = maxLength;
-        this.filename = filename;
-    }
-
-    public String getFilename()
-    {
-        return filename;
-    }
-
-    public int getLength()
-    {
-        return length;
-    }
-
-    public int getMaxLength()
-    {
-        return maxLength;
-    }
-
-}

+ 0 - 73
web/health/src/main/java/com/gyee/frame/common/exception/file/InvalidExtensionException.java

@@ -1,73 +0,0 @@
-package com.gyee.frame.common.exception.file;
-
-import java.util.Arrays;
-import org.apache.commons.fileupload.FileUploadException;
-
-/**
- * 文件上传 误异常类
- * 
- * @author gyee
- */
-public class InvalidExtensionException extends FileUploadException
-{
-
-    private static final long serialVersionUID = 1L;
-
-    private String[] allowedExtension;
-    private String extension;
-    private String filename;
-
-    public InvalidExtensionException(String[] allowedExtension, String extension, String filename)
-    {
-        super("filename : [" + filename + "], extension : [" + extension + "], allowed extension : [" + Arrays.toString(allowedExtension) + "]");
-        this.allowedExtension = allowedExtension;
-        this.extension = extension;
-        this.filename = filename;
-    }
-
-    public String[] getAllowedExtension()
-    {
-        return allowedExtension;
-    }
-
-    public String getExtension()
-    {
-        return extension;
-    }
-
-    public String getFilename()
-    {
-        return filename;
-    }
-
-    public static class InvalidImageExtensionException extends InvalidExtensionException
-    {
-        private static final long serialVersionUID = 1L;
-
-        public InvalidImageExtensionException(String[] allowedExtension, String extension, String filename)
-        {
-            super(allowedExtension, extension, filename);
-        }
-    }
-
-    public static class InvalidFlashExtensionException extends InvalidExtensionException
-    {
-        private static final long serialVersionUID = 1L;
-
-        public InvalidFlashExtensionException(String[] allowedExtension, String extension, String filename)
-        {
-            super(allowedExtension, extension, filename);
-        }
-    }
-
-    public static class InvalidMediaExtensionException extends InvalidExtensionException
-    {
-        private static final long serialVersionUID = 1L;
-
-        public InvalidMediaExtensionException(String[] allowedExtension, String extension, String filename)
-        {
-            super(allowedExtension, extension, filename);
-        }
-    }
-
-}

+ 0 - 61
web/health/src/main/java/com/gyee/frame/common/feign/IAdapterService.java

@@ -1,61 +0,0 @@
-package com.gyee.frame.common.feign;
-
-import com.alibaba.fastjson.JSONObject;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.custom.export.TsPointData;
-import feign.Headers;
-import feign.Param;
-import feign.RequestLine;
-
-import java.util.List;
-
-
-public interface IAdapterService {
-
-
-    @Headers({"Content-Type: application/json", "Accept: application/json"})
-    @RequestLine("GET /ts/latest?keys={points}")
-    JSONObject getLatest(@Param(value = "points") String points);
-
-
-    @Headers({"Content-Type: application/json", "Accept: application/json"})
-    @RequestLine("GET /ts/history/snap?tagName={tagName}&startTs={startTs}&endTs={endTs}&interval={interval}")
-    List<TsPointData> getHistorySnap(@Param(value = "tagName") String tagName, @Param(value = "startTs") long startTs,
-                                     @Param(value = "endTs") long endTs, @Param(value = "interval") Integer interval);
-
-    @Headers({"Content-Type: application/json", "Accept: application/json"})
-    @RequestLine("GET /ts/history/raw?tagName={tagName}&startTs={startTs}&endTs={endTs}")
-    List<TsPointData> getHistoryRaw(@Param(value = "tagName") String tagName, @Param(value = "startTs") long startTs,
-                                    @Param(value = "endTs") long endTs);
-
-    @Headers({"Content-Type: application/json", "Accept: application/json"})
-    @RequestLine("GET /ts/history/section?tagNames={tagNames}&ts={ts}")
-    List<TsPointData> getHistorySection(@Param(value = "tagNames") String tagNames, @Param(value = "ts") long ts);
-
-    @Headers({"Content-Type: application/json", "Accept: application/json"})
-    @RequestLine("GET /alarm/count/query/new2?stationid={stationid}&startdate={startdate}&enddate={enddate}")
-    AjaxResult getEarlyWarning(@Param(value = "stationid") String stationid, @Param(value = "startdate") String startdate,
-                               @Param(value = "enddate") String enddate);
-
-    @Headers({"Content-Type: application/json", "Accept: application/json"})
-    @RequestLine("GET /shutdown/list?stId={stId}&endDate={endDate}&startDate={startDate}")
-    AjaxResult getHith(@Param(value = "stId") String stId, @Param(value = "endDate") String endDate,
-                       @Param(value = "startDate") String startDate);
-
-    @Headers({"Content-Type: application/json", "Accept: application/json"})
-    @RequestLine("GET /alarm/history/page2?pagenum={pagenum}&pagesize={pagesize}&stationid={stationid}&windturbineid={windturbineid}" +
-            "&category1={category1}&category2={category2}&rank={rank}&modelid={modelid}&snapid={snapid}&messagetype={messagetype}" +
-            "&keyword={keyword}&starttime={starttime}&endtime={endtime}")
-    AjaxResult getPage(@Param(value = "pagenum") Integer pagenum, @Param(value = "pagesize") Integer pagesize,
-                       @Param(value = "stationid") String stationid,
-                       @Param(value = "windturbineid") String windturbineid,
-                       @Param(value = "category1") String category1,
-                       @Param(value = "category2") String category2,
-                       @Param(value = "rank") String rank,
-                       @Param(value = "modelid") String modelid,
-                       @Param(value = "snapid") Long snapid,
-                       @Param(value = "messagetype") Integer messagetype,
-                       @Param(value = "keyword") String keyword,
-                       @Param(value = "starttime") String starttime,
-                       @Param(value = "endtime") String endtime);
-}

+ 0 - 38
web/health/src/main/java/com/gyee/frame/common/feign/RemoteServiceBuilder.java

@@ -1,38 +0,0 @@
-package com.gyee.frame.common.feign;
-
-import com.gyee.frame.common.conf.GyeeConfig;
-import feign.Feign;
-import feign.Request;
-import feign.Retryer;
-import feign.jackson.JacksonDecoder;
-import feign.jackson.JacksonEncoder;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-
-@Slf4j
-@Configuration
-public class RemoteServiceBuilder {
-
-    @Bean
-    public IAdapterService ShardingService() {
-        return Feign.builder()
-                .encoder(new JacksonEncoder())
-                .decoder(new JacksonDecoder())
-                .options(new Request.Options(5000, 600000))
-                .retryer(new Retryer.Default(10000, 10000, 3))
-                .target(IAdapterService.class, GyeeConfig.getAdapterUrl());
-    }
-
-    @Bean
-    public IAdapterService earlyService() {
-        return Feign.builder()
-                .encoder(new JacksonEncoder())
-                .decoder(new JacksonDecoder())
-                .options(new Request.Options(5000, 600000))
-                .retryer(new Retryer.Default(10000, 10000, 3))
-                .target(IAdapterService.class, GyeeConfig.getAlarmUrl());
-    }
-
-}

+ 0 - 83
web/health/src/main/java/com/gyee/frame/common/file/ClassUtil.java

@@ -1,83 +0,0 @@
-package com.gyee.frame.common.file;
-
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * @Author:
- * @Date:
- * @Description:关于类的操作的工具类
- */
-public final class ClassUtil {
-
-    private ClassUtil() {
-        throw new Error("工具类不允许实例化!");
-    }
-
-    /**
-     * 获取类属性
-     * @param targetObj 要获取属性的类
-     * @return 含有类属性的集合
-     */
-    public static Field[] getClassAttribute(Object targetObj){
-
-        Class<?> objectClass = targetObj.getClass();
-        return objectClass.getDeclaredFields();
-
-    }
-
-    /**
-     * 获取对象的所有get或set方法
-     * @param targetObj 要获取属性的类
-     * @param methodKeyword get或者set关键字
-     * @return 含有类get或set方法的集合
-     */
-    public static List<Method> getMethod(Object targetObj,String methodKeyword){
-        List<Method> methodList = new ArrayList<>();
-
-        Class<?> objectClass = targetObj.getClass();
-
-        Field[] field = objectClass.getDeclaredFields();
-        for (int i = 0;i<field.length;i++){
-
-            if(!field[i].getName().equals("serialVersionUID"))
-            {
-
-                //获取属性名并组装方法名
-                String fieldName = field[i].getName();
-                String getMethodName = methodKeyword
-                        + fieldName.substring(0, 1).toUpperCase()
-                        + fieldName.substring(1);
-
-                try {
-                    Method method = objectClass.getMethod(getMethodName,new Class[]{});
-                    methodList.add(method);
-                } catch (NoSuchMethodException e) {
-                    e.printStackTrace();
-                }
-
-            }
-        }
-        return methodList;
-    }
-
-    /**
-     * 获取对象的所有get方法
-     * @param targetObj 要获取属性的类
-     * @return 含有类方法的集合
-     */
-    public static List<Method> getMethodGet(Object targetObj){
-        return getMethod(targetObj,"get");
-    }
-
-    /**
-     * 获取对象的所有set方法
-     * @param targetObj 要获取属性的类
-     * @return 含有类方法的集合
-     */
-    public static List<Method> getMethodSet(Object targetObj){
-        return getMethod(targetObj,"set");
-    }
-}

+ 0 - 272
web/health/src/main/java/com/gyee/frame/common/file/ExcelExport.java

@@ -1,272 +0,0 @@
-package com.gyee.frame.common.file;
-
-import com.gyee.frame.util.StringUtils;
-import org.apache.poi.hssf.usermodel.HSSFCellStyle;
-import org.apache.poi.hssf.usermodel.HSSFFont;
-import org.apache.poi.hssf.usermodel.HSSFSheet;
-import org.apache.poi.hssf.usermodel.HSSFWorkbook;
-import org.apache.poi.ss.usermodel.Cell;
-import org.apache.poi.ss.usermodel.CellType;
-import org.apache.poi.ss.usermodel.HorizontalAlignment;
-import org.apache.poi.ss.usermodel.Row;
-import org.apache.poi.ss.util.CellRangeAddress;
-
-import javax.servlet.http.HttpServletResponse;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.lang.reflect.Field;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.List;
-
-/**
- * @Author:
- * @Date:
- * @Description:Excel导出工具类,依赖于ClassUtil工具类
- */
-public final class ExcelExport {
-
-    /**
-     * 将传入的数据导出excel表并下载
-     * @param response 返回的HttpServletResponse
-     * @param importlist 要导出的对象的集合
-     * @param attributeNames 含有每个对象属性在excel表中对应的标题字符串的数组(请按对象中属性排序调整字符串在数组中的位置)
-     * @param heardName 导出文件 标题名称
-     * @param cnt 合并单元格数 (一般标题字符串的数组长度-1)
-     */
-    public static void export(HttpServletResponse response, List<?> importlist, String[] attributeNames,
-                              String heardName, int cnt ) {
-        //获取数据集
-        List<?> datalist = importlist;
-
-        //声明一个工作薄
-        HSSFWorkbook workbook = new HSSFWorkbook();
-        //生成一个表格
-        HSSFSheet sheet = workbook.createSheet();
-        //设置表格默认列宽度为15个字节
-        sheet.setDefaultColumnWidth((short) 18);
-        //用于设置表格字体
-        HSSFCellStyle style = workbook.createCellStyle();
-
-        //获取字段名数组
-        String[] tableAttributeName = attributeNames;
-        //获取对象属性
-        Field[] fields = ClassUtil.getClassAttribute(importlist.get(0));
-        //获取对象get方法
-        List<Method> methodList = ClassUtil.getMethodGet(importlist.get(0));
-
-        //设置标题样式
-        HSSFCellStyle headerStyle = workbook.createCellStyle();
-        HSSFFont headerFont = workbook.createFont();
-        headerFont.setFontHeightInPoints((short) 14);
-        headerFont.setBold(true);
-        headerStyle.setAlignment(HorizontalAlignment.CENTER);
-        headerStyle.setFont(headerFont);
-        CellRangeAddress cra0 = new CellRangeAddress(0, 1, 0, cnt);// 合并单元格
-        sheet.addMergedRegion(cra0);
-        //创建标标题题
-        Row row = sheet.createRow(0);
-        Cell cell1 = row.createCell(0);
-        cell1.setCellValue(heardName);
-        cell1.setCellStyle(headerStyle);
-
-        // 设置字体样式
-        HSSFFont titleFont = workbook.createFont();
-        titleFont.setBold(true);
-        titleFont.setFontHeightInPoints((short) 10);
-
-        style.setFont(titleFont);
-        style.setAlignment(HorizontalAlignment.CENTER);
-        //循环字段名数组,创建标题行
-        row = sheet.createRow(2);
-        for (int j = 0; j< tableAttributeName.length; j++){
-            //创建列
-            Cell cell = row.createCell(j);
-            cell.setCellStyle(style);
-            //设置单元类型为String
-            cell.setCellType(CellType.STRING);
-            cell.setCellValue(transCellType(tableAttributeName[j]));
-        }
-        //创建普通行
-        for (int i = 0;i<datalist.size();i++){
-            //因为第一行已经用于创建标题行,故从第二行开始创建
-            row = sheet.createRow(i+3);
-            //如果是第一行就让其为标题行
-            Object targetObj = datalist.get(i);
-            for (int j = 0;j<fields.length;j++){
-                //创建列
-                Cell cell = row.createCell(j);
-                cell.setCellType(CellType.STRING);
-                //
-                try {
-                    Object value = methodList.get(j).invoke(targetObj, new Object[]{});
-                    cell.setCellValue(transCellType(value));
-                } catch (IllegalAccessException e) {
-                    e.printStackTrace();
-                } catch (InvocationTargetException e) {
-                    e.printStackTrace();
-                }
-            }
-        }
-        response.setContentType("application/octet-stream");
-        //默认Excel名称
-        response.setHeader("Content-Disposition", "attachment;fileName="+"test.xls");
-        try {
-            OutputStream outputStream = response.getOutputStream();
-            workbook.write(outputStream);
-            outputStream.flush();
-            outputStream.close();
-
-//            response.flushBuffer();
-//            workbook.write(response.getOutputStream());
-        } catch (IOException e) {
-            e.printStackTrace();
-        }
-
-    }
-
-
-
-    /**
-     * 将传入的数据导出excel表并下载
-     * @param importlist 要导出的对象的集合
-     * @param attributeNames 含有每个对象属性在excel表中对应的标题字符串的数组(请按对象中属性排序调整字符串在数组中的位置)
-     * @param heardName 导出文件 标题名称
-     * @param cnt 合并单元格数 (一般标题字符串的数组长度-1)
-     * @param filename 文件名称
-     */
-    public static void exportToPath( List<?> importlist, String[] attributeNames,
-                              String heardName, int cnt,String filename ) throws IOException {
-        //获取数据集
-        List<?> datalist = importlist;
-
-        //声明一个工作薄
-        HSSFWorkbook workbook = new HSSFWorkbook();
-        //生成一个表格
-        HSSFSheet sheet = workbook.createSheet();
-        //设置表格默认列宽度为15个字节
-        sheet.setDefaultColumnWidth((short) 18*2);
-        //用于设置表格字体
-        HSSFCellStyle style = workbook.createCellStyle();
-
-        //获取字段名数组
-        String[] tableAttributeName = attributeNames;
-        //获取对象属性
-        Field[] fields = ClassUtil.getClassAttribute(importlist.get(0));
-        //获取对象get方法
-        List<Method> methodList = ClassUtil.getMethodGet(importlist.get(0));
-
-        //设置标题样式
-        HSSFCellStyle headerStyle = workbook.createCellStyle();
-        HSSFFont headerFont = workbook.createFont();
-        headerFont.setFontHeightInPoints((short) 14);
-        headerFont.setBold(true);
-        headerStyle.setAlignment(HorizontalAlignment.CENTER);
-        headerStyle.setFont(headerFont);
-//        CellRangeAddress cra0 = new CellRangeAddress(0, 1, 0, cnt);// 合并单元格
-//        sheet.addMergedRegion(cra0);
-//        //创建标标题题
-//        Row row = sheet.createRow(0);
-//        Cell cell1 = row.createCell(0);
-//        cell1.setCellValue(heardName);
-//        cell1.setCellStyle(headerStyle);
-
-        // 设置字体样式
-        HSSFFont titleFont = workbook.createFont();
-        titleFont.setBold(true);
-        titleFont.setFontHeightInPoints((short) 10);
-
-        style.setFont(titleFont);
-        style.setAlignment(HorizontalAlignment.CENTER);
-        //循环字段名数组,创建标题行
-        Row row = sheet.createRow(0);
-        for (int j = 0; j< tableAttributeName.length; j++){
-            //创建列
-            Cell cell = row.createCell(j);
-            cell.setCellStyle(style);
-            //设置单元类型为String
-            cell.setCellType(CellType.STRING);
-            cell.setCellValue(transCellType(tableAttributeName[j]));
-        }
-
-        int index = 0;
-        //创建普通行
-        for (int i = 0;i<datalist.size();i++){
-            //因为第一行已经用于创建标题行,故从第二行开始创建
-
-
-            if ((i + 1) % 65535 == 0) {
-                sheet = workbook.createSheet("sheet" + (index+1));
-                row = sheet.createRow(0);
-                for (int j = 0; j< tableAttributeName.length; j++){
-                    //创建列
-                    Cell cell = row.createCell(j);
-                    cell.setCellStyle(style);
-                    //设置单元类型为String
-                    cell.setCellType(CellType.STRING);
-                    cell.setCellValue(transCellType(tableAttributeName[j]));
-                }
-                index++;
-            }
-            row = sheet.createRow((i + 1) - (index * 65535));
-
-            //如果是第一行就让其为标题行
-            Object targetObj = datalist.get(i);
-            for (int j = 0;j<fields.length;j++){
-
-                if(!fields[j].getName().equals("serialVersionUID"))
-                {
-                    //创建列
-                    Cell cell = row.createCell(j);
-                    cell.setCellType(CellType.STRING);
-                    //
-                    try {
-                        Object value = methodList.get(j).invoke(targetObj, new Object[]{});
-                        cell.setCellValue(transCellType(value));
-                    } catch (IllegalAccessException e) {
-                        e.printStackTrace();
-                    } catch (InvocationTargetException e) {
-                        e.printStackTrace();
-                    }
-                }
-
-            }
-        }
-
-        if(StringUtils.notEmp(filename))
-        {
-            StringBuilder sb=new StringBuilder("/usr/local/gyee/monitor/");
-            sb.append(filename);
-            sb.append(".xls");
-
-            FileUtils.deleteFile(String.valueOf(sb));
-
-            FileOutputStream fileOutputStream = new FileOutputStream(String.valueOf(sb));
-
-            workbook.write(fileOutputStream);
-            fileOutputStream.close();
-
-        }
-
-    }
-    private static String transCellType(Object value){
-        String str = null;
-        if (value instanceof Date){
-            Date date = (Date) value;
-            SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
-            str = sdf.format(date);
-        }else{
-            str = String.valueOf(value);
-            if (str == "null"){
-                str = "";
-            }
-        }
-
-        return str;
-    }
-
-
-}

+ 0 - 179
web/health/src/main/java/com/gyee/frame/common/file/FileUploadUtils.java

@@ -1,179 +0,0 @@
-package com.gyee.frame.common.file;
-
-import java.io.File;
-import java.io.IOException;
-import org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException;
-import org.apache.shiro.crypto.hash.Md5Hash;
-import org.springframework.util.ClassUtils;
-import org.springframework.web.multipart.MultipartFile;
-import com.gyee.frame.common.conf.FileConfig;
-import com.gyee.frame.common.conf.GyeeConfig;
-import com.gyee.frame.common.exception.file.FileNameLengthLimitExceededException;
-import com.gyee.frame.util.StringUtils;
-
-/**
- * 文件上传工具类
- * @author gyee
- * @date: 2018年9月22日 下午10:33:23
- */
-public class FileUploadUtils {
-
-    private FileUploadUtils(){}
-    
-    /**
-     * spring.servlet.multipart.maxFileSize
-     */
-    public static  long DEFAULT_MAX_SIZE=Long.valueOf(FileConfig.getMaxFileSize())*1024*1024;
-    /**
-     * 默认上传的地址
-     */
-    private static String defaultBaseDir = GyeeConfig.getDefaultBaseDir();
-    
-    /**
-     * 是否上传到static
-     */
-    private static String isstatic= GyeeConfig.getIsstatic();
-    
-    /**
-     * 默认的文件名最大长度
-     */
-    public static final int DEFAULT_FILE_NAME_LENGTH = 100;
-    /**
-     * 默认文件类型jpg
-     */
-    public static final String IMAGE_JPG_EXTENSION = ".jpg";
-
-    private static int counter = 0;
-
-    public static void setDefaultBaseDir(String defaultBaseDir)
-    {
-        FileUploadUtils.defaultBaseDir = defaultBaseDir;
-    }
-
-    public static String getDefaultBaseDir()
-    {
-        return defaultBaseDir;
-    }
-
-    public static String getIsstatic() {
-		return isstatic;
-	}
-
-	public static void setIsstatic(String isstatic) {
-		FileUploadUtils.isstatic = isstatic;
-	}
-	
-	/**
-	 * 静态文件上传后存放的目录
-	 */
-	public static String getRoot_dir() {
-		String url=ClassUtils.getDefaultClassLoader().getResource("").getPath()+ GyeeConfig.getIsroot_dir();
-		return url;
-	}
-
-
-	/**
-     * 以默认配置进行文件上传
-     *
-     * @param file 上传的文件
-     * @return 文件名称
-     * @throws Exception
-     */
-    public static final String upload(MultipartFile file) throws IOException
-    {
-        try
-        {
-        	if("Y".equals(getIsstatic())) {//获取根目录
-        		
-        		 return upload(getRoot_dir(), file);
-        	}else {//自定义目录
-        		 return upload(getDefaultBaseDir(), file);
-        	}
-        }
-        catch (Exception e)
-        {
-            throw new IOException(e);
-        }
-    }
-
-    /**
-     * 文件上传
-     *
-     * @param baseDir 相对应用的基目录
-     * @param file 上传的文件
-     * @param needDatePathAndRandomName 是否需要日期目录和随机文件名前缀
-     * @param extension 上传文件类型
-     * @return 返回上传成功的文件名
-     * @throws FileSizeLimitExceededException 如果超出最大大小
-     * @throws FileNameLengthLimitExceededException 文件名太长
-     * @throws IOException 比如读写文件出错时
-     */
-    public static final String upload(String baseDir, MultipartFile file)
-            throws FileSizeLimitExceededException, IOException, FileNameLengthLimitExceededException
-    {
-    	String fileName=file.getOriginalFilename();
-    	// 获得文件后缀名称
-    	String suffixName = fileName.substring(fileName.lastIndexOf(".")).toLowerCase();
-    	if(StringUtils.isEmpty(suffixName)) {
-    		//如果没有后缀默认后缀
-    		suffixName=FileUploadUtils.IMAGE_JPG_EXTENSION;
-    	}
-    	
-        int fileNamelength = fileName.length();
-        if (fileNamelength > FileUploadUtils.DEFAULT_FILE_NAME_LENGTH)
-        {
-            throw new FileNameLengthLimitExceededException(fileName, fileNamelength,
-                    FileUploadUtils.DEFAULT_FILE_NAME_LENGTH);
-        }
-
-        assertAllowed(file);
-
-        String new_fileName = encodingFilename(fileName, suffixName);
-
-        File desc = getAbsoluteFile(baseDir, baseDir + new_fileName);
-        file.transferTo(desc);
-        return new_fileName;
-    }
-
-    private static final File getAbsoluteFile(String uploadDir, String filename) throws IOException
-    {
-        File desc = new File(File.separator + filename);
-
-        if (!desc.getParentFile().exists())
-        {
-            desc.getParentFile().mkdirs();
-        }
-        if (!desc.exists())
-        {
-            desc.createNewFile();
-        }
-        return desc;
-    }
-
-    /**
-     * 编码文件名
-     */
-    private static final String encodingFilename(String filename, String extension)
-    {
-        filename = filename.replace("_", " ");
-        filename = new Md5Hash(filename + System.nanoTime() + counter++).toHex().toString() + extension;
-        return filename;
-    }
-
-    /**
-     * 文件大小校验
-     *
-     * @param file 上传的文件
-     * @return
-     * @throws FileSizeLimitExceededException 如果超出最大大小
-     */
-    public static final void assertAllowed(MultipartFile file) throws FileSizeLimitExceededException
-    {
-        long size = file.getSize();
-        if (DEFAULT_MAX_SIZE != -1 && size > DEFAULT_MAX_SIZE)
-        {
-            throw new FileSizeLimitExceededException("超过默认大小", size, DEFAULT_MAX_SIZE);
-        }
-    }
-
-}

+ 0 - 110
web/health/src/main/java/com/gyee/frame/common/file/FileUtils.java

@@ -1,110 +0,0 @@
-package com.gyee.frame.common.file;
-
-import org.apache.poi.ss.usermodel.Workbook;
-import org.apache.poi.ss.usermodel.WorkbookFactory;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.util.ClassUtils;
-
-import javax.annotation.Resource;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.io.*;
-
-/**
- * 文件处理工具类
- *
- * @author gyee
- * @date: 2018年9月22日 下午10:33:31
- */
-public class FileUtils {
-
-    // 设置目标文件的映射路径
-    @Value("classpath:static/syz")
-    private Resource syz;
-
-    private FileUtils() {
-    }
-
-    /**
-     * 输出指定文件的byte数组
-     *
-     * @return
-     */
-    public static void writeBytes(String filePath, OutputStream os) throws IOException {
-        FileInputStream fis = null;
-        try {
-            File file = new File(filePath);
-            if (!file.exists()) {
-                throw new FileNotFoundException(filePath);
-            }
-            fis = new FileInputStream(file);
-            byte[] b = new byte[1024];
-            int length;
-            while ((length = fis.read(b)) > 0) {
-                os.write(b, 0, length);
-            }
-        } catch (IOException e) {
-            throw e;
-        } finally {
-            if (os != null) {
-                try {
-                    os.close();
-                } catch (IOException e1) {
-                    e1.printStackTrace();
-                }
-            }
-            if (fis != null) {
-                try {
-                    fis.close();
-                } catch (IOException e1) {
-                    e1.printStackTrace();
-                }
-            }
-        }
-    }
-
-    /**
-     * 删除文件
-     *
-     * @param filePath 文件
-     * @return
-     */
-    public static boolean deleteFile(String filePath) {
-        boolean flag = false;
-        File file = new File(filePath);
-        // 路径为文件且不为空则进行删除
-        if (file.isFile() && file.exists()) {
-            file.delete();
-            flag = true;
-        }
-        return flag;
-    }
-
-    /**
-     * 读取图片地址 输出到页面
-     *
-     * @param request
-     * @param response
-     * @param fileurl
-     * @throws IOException
-     */
-    public static void readIMGTohtml(HttpServletRequest request, HttpServletResponse response, String fileurl) throws IOException {
-        //设置发送到客户端的响应内容类型
-        response.setContentType("image/*");
-        //读取本地图片输入流
-        try (FileInputStream inputStream = new FileInputStream(fileurl); OutputStream out = response.getOutputStream()) {
-            int i = inputStream.available();
-            //byte数组用于存放图片字节数据
-            byte[] buff = new byte[i];
-            inputStream.read(buff);
-            out.write(buff);
-        }
-    }
-
-
-
-
-
-
-
-}

+ 0 - 157
web/health/src/main/java/com/gyee/frame/common/interceptor/MyInterceptor.java

@@ -1,157 +0,0 @@
-package com.gyee.frame.common.interceptor;
-
-import cn.hutool.core.util.StrUtil;
-import com.gyee.frame.common.conf.GyeeConfig;
-import com.gyee.frame.common.exception.demo.DemoModeException;
-import org.springframework.web.servlet.HandlerInterceptor;
-import org.springframework.web.servlet.ModelAndView;
-
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.util.ArrayList;
-import java.util.List;
-/**
- * 自定义拦截器
- * @author fc
- *
- */
-public class MyInterceptor  implements HandlerInterceptor {
-
-	/*************演示模式需要 start*************/
-	/**需要被拦截的post请求url**/
-	public static List<String> posturllist=new ArrayList<String>();
-	/**需要被拦截的get请求url**/
-	public static List<String> geturllist=new ArrayList<String>();
-
-	/**
-	 * 初始化静态块,避免多次创建调用
-	 * 需要拦截的请求集合
-	 */
-	static {
-		//用户POST请求
-		posturllist.add("/UserController/add");
-		posturllist.add("/UserController/remove");
-		posturllist.add("/UserController/edit");
-		posturllist.add("/UserController/editPwd");
-		//自动生成POST请求
-		posturllist.add("/autoCodeController/addGlobal");
-		posturllist.add("/autoCodeController/saveOne");
-		//字典表POST请求
-		posturllist.add("/DictDataController/add");
-		posturllist.add("/DictDataController/remove");
-		posturllist.add("/DictDataController/edit");
-		posturllist.add("/DictTypeController/add");
-		posturllist.add("/DictTypeController/remove");
-		posturllist.add("/DictTypeController/edit");
-		//邮箱POST请求
-		posturllist.add("/EmailController/add");
-		posturllist.add("/EmailController/edit");
-		//文件上传POST请求
-		posturllist.add("/FileController/upload");
-		posturllist.add("/FileController/add");
-		posturllist.add("/FileController/remove");
-		posturllist.add("/FileController/del_file");
-		posturllist.add("/FileController/edit");
-		//日志POST请求
-		posturllist.add("/LogController/remove");
-		//权限POST请求
-		posturllist.add("/PermissionController/add");
-		posturllist.add("/PermissionController/remove");
-		posturllist.add("/PermissionController/edit");
-
-		//角色POST请求
-		posturllist.add("/RoleController/add");
-		posturllist.add("/RoleController/remove");
-		posturllist.add("/RoleController/edit");
-		//公告POST请求
-		posturllist.add("/SysNoticeController/add");
-		posturllist.add("/SysNoticeController/remove");
-		posturllist.add("/SysNoticeController/viewinfo");
-		posturllist.add("/SysNoticeController/edit");
-		//省份POST请求
-		posturllist.add("/SysProvinceController/add");
-		posturllist.add("/SysProvinceController/remove");
-		posturllist.add("/SysProvinceController/edit");
-		//地区POST请求
-		posturllist.add("/SysAreaController/add");
-		posturllist.add("/SysAreaController/remove");
-		posturllist.add("/SysAreaController/edit");
-		//城市POST请求
-		posturllist.add("/SysCityController/add");
-		posturllist.add("/SysCityController/remove");
-		posturllist.add("/SysCityController/edit");
-		//街道POST请求
-		posturllist.add("/SysStreetController/add");
-		posturllist.add("/SysStreetController/remove");
-		posturllist.add("/SysStreetController/edit");
-		//百度编辑器POST请求
-		posturllist.add("/UeditorController/ueditor");
-		posturllist.add("/UeditorController/");
-		posturllist.add("/UeditorController/imgUpload");
-
-	}
-	/*************演示模式需要 end*************/
-	@Override
-	public void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)throws Exception {
-		// //System.out.println(">>>MyInterceptor1>>>>>>>在整个请求结束之后被调用,也就是在DispatcherServlet 渲染了对应的视图之后执行(主要是用于进行资源清理工作)");
-	}
-
-	@Override
-	public void postHandle(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, ModelAndView arg3)throws Exception {
-		// //System.out.println(">>>MyInterceptor1>>>>>>>请求处理之后进行调用,但是在视图被渲染之前(Controller方法调用之后)");
-	}
-
-	@Override
-	public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object arg2) throws Exception {
-		//String url2=request.getScheme()+"://"+ request.getServerName();
-		////System.out.println("xxxxxxxxx==="+"http://localhost:8081/");
-		////System.out.println(">>>MyInterceptor1>>>>>>>在请求处理之前进行调用(Controller方法调用之前)");
-		//设置前端的全局 地址,如果前端网页错乱请修改这儿
-
-		// by Wang Jiawen 2020-01-07 临时补丁  调试需要暂时取消shiro大管家的登入限制
-//		TsysUser user = new TsysUser("1","admin","admin","管理员");
-//		Subject currentUser = SecurityUtils.getSubject();
-//		UsernamePasswordToken token =new UsernamePasswordToken("admin",user.getPassword());
-//		token.setRememberMe(true);
-//		currentUser.login(token);
-		//结束
-
-
-		request.setAttribute("rootPath", request.getContextPath());
-		if(GyeeConfig.getDemoEnabled().equals("true")) {
-			Boolean b = ifurl(request, response);
-			if(b) {
-				throw new DemoModeException();
-			}
-		}
-		return true;// 只有返回true才会继续向下执行,返回false取消当前请求
-	}
-
-	/**
-	 * 判断是否需要拦截的用于展示演示模式
-	 * @param request
-	 * @param response
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月11日 下午5:17:30
-	 */
-	public Boolean ifurl(HttpServletRequest request, HttpServletResponse response) {
-		//当前请求
-		String requesturl=request.getRequestURI();
-		if(request.getMethod().equals("POST")) {
-			for (String postrul : posturllist) {
-				if(StrUtil.containsAnyIgnoreCase(requesturl, postrul)) {
-					return true;
-				}
-			}
-		}else {
-			for (String geturl : geturllist) {
-				if(StrUtil.containsAnyIgnoreCase(requesturl, geturl)) {
-					return true;
-				}
-			}
-		}
-
-		return false;
-	}
-}

+ 0 - 108
web/health/src/main/java/com/gyee/frame/common/interceptor/MyWebAppConfigurer.java

@@ -1,108 +0,0 @@
-package com.gyee.frame.common.interceptor;
-
-import com.gyee.frame.common.conf.GyeeConfig;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.web.servlet.config.annotation.*;
-
-/**
- * 拦截器
-* @ClassName: MyWebAppConfigurer
-* @author gyee
-* @date 2018年6月3日
-*
- */
-@Configuration
-public class MyWebAppConfigurer  extends  WebMvcConfigurationSupport  {
-	
-	private static Logger logger=LoggerFactory.getLogger(WebMvcConfigurationSupport.class);
-	/**
-     * 默认上传的地址
-     */
-    private  String defaultBaseDir = GyeeConfig.getDefaultBaseDir();
-    
-    /**
-     * 静态文件夹后目录
-     */
-    private  String isrootDir= GyeeConfig.getIsroot_dir();
-    
-    /**
-     * 是否上传到static
-     */
-    private   String isstatic= GyeeConfig.getIsstatic();
-	
-	
-	/** 解决跨域问题 **/
-	@Override
-	public void addCorsMappings(CorsRegistry registry){
-
-
-        registry.addMapping("/**")
-			// 设置允许跨域请求的域名
-			.allowedOrigins("*")
-			// 是否允许证书
-			.allowCredentials(true)
-			// 设置允许的方法
-			.allowedMethods("GET", "POST", "DELETE", "PUT")
-			// 设置允许的header属性
-			.allowedHeaders("*")
-				// 跨域允许时间
-			.maxAge(3600);
-			super.addCorsMappings(registry);
-
-	}
-	
-	/** 添加拦截器 **/
-	@Override
-	protected void addInterceptors(InterceptorRegistry registry){
-		registry.addInterceptor(new MyInterceptor());
-		super.addInterceptors(registry);
-	}
-	
-	/** 这里配置视图解析器 **/
-	@Override
-	protected void configureViewResolvers(ViewResolverRegistry registry){
-		super.configureViewResolvers(registry);
-	}
-	
-	/** 配置内容裁决的一些选项 **/
-	@Override
-	protected void configureContentNegotiation(ContentNegotiationConfigurer configurer){
-		super.configureContentNegotiation(configurer);
-	}
-	
-	/** 视图跳转控制器 **/
-	@Override
-	protected void addViewControllers(ViewControllerRegistry registry) {
-		
-		super.addViewControllers(registry);
-	}
-	
-	
-	/** 静态资源处理 **/
-	@Override
-    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
-		//配置虚拟路径为项目得static下面
-        registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
-        if(!"Y".equals(isstatic)) {
-        	 //配置上传路径为D盘
-            registry.addResourceHandler("/static/file_upload/**").addResourceLocations("file:"+defaultBaseDir);
-            logger.info("初始化文件上传路径为项目【"+defaultBaseDir+"】路径");
-        }else {
-        	logger.info("初始化文件上传路径为项目【"+isrootDir+"】路径");
-        }
-       
-    }
-	/** 默认静态资源处理器 **/
-	
-	protected void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
-		//super.configureDefaultServletHandling(configurer);
-		//configurer.enable("stati");
-		configurer.enable();
-	}
-	
-	
-	
-	
-}

+ 0 - 31
web/health/src/main/java/com/gyee/frame/common/log/Log.java

@@ -1,31 +0,0 @@
-package com.gyee.frame.common.log;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * 自定义操作日志记录注解
- * @author gyee
- * @date: 2018年9月30日 下午3:36:05
- */
-@Target({ ElementType.PARAMETER, ElementType.METHOD })
-@Retention(RetentionPolicy.RUNTIME)
-@Documented
-public @interface Log
-{
-    /** 模块 */
-    String title() default "";
-
-    /** 功能 */
-    String action() default "";
-
-    /** 渠道 */
-    String channel() default "1";//1后台
-
-    /** 是否保存请求的参数 */
-    boolean isSaveRequestData() default true;
-
-}

+ 0 - 397
web/health/src/main/java/com/gyee/frame/common/spring/ConstantTR.java

@@ -1,397 +0,0 @@
-package com.gyee.frame.common.spring;
-
-/**
- * 
- * 
- * 项目名称:nxfd 类名称:ContantXk 类描述: 创建人:石林 创建时间:2014-3-4 上午10:07:03 修改人:shilinno1
- * 修改时间:2014-3-4 上午10:07:03 修改备注:
- * 
- * @version
- * 
- */
-public class ConstantTR {
-
-	public static final String QSZSWDL = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0136"; // 全省上网电量
-	public static final String AQTS = "HB_GD_QYG_JS_XX_XX_XXX_CI0182"; // 全省安全天数
-	public static final String QSZZGL = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0135"; // 全省总功率
-	public static final String QSZRFDL = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0088"; // 全省日累计发电量
-	public static final String QSZYFDL = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0146"; // 全省月累计发电量
-	public static final String QSZNFDL = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0037"; // 全省年累计发电量
-
-	public static final String FCRFDL = "JSFW.NX_GD_FDC_XX_XX_XXX_XXX_CI0088"; // 风场日累计发电量
-	public static final String FCYFDL = "JSFW.NX_GD_FDC_XX_XX_XXX_XXX_CI0146"; // 风场月累计发电量
-	public static final String FCNFDL = "JSFW.NX_GD_FDC_XX_XX_XXX_XXX_CI0037"; // 风场年累计发电量
-	public static final String GFRFDL = "JSFW.NX_GD_GDC_XX_XX_XXX_XXX_CI0088"; // 光伏日累计发电量
-	public static final String GFYFDL = "JSFW.NX_GD_GDC_XX_XX_XXX_XXX_CI0146"; // 光伏月累计发电量
-	public static final String GFNFDL = "JSFW.NX_GD_GDC_XX_XX_XXX_XXX_CI0037"; // 光伏年累计发电量
-	public static final String JPEYHT = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0216"; // 减排二氧化碳
-	public static final String JYBM = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0217"; // 节约标煤
-	public static final String JPEYHL = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0218"; // 减排二氧化硫
-	public static final String JYS = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0219"; // 节约水
-	public static final String FCSWDL = "JSFW.NX_GD_FDC_XX_XX_XXX_XXX_CI0136"; // 风场上网电量
-	public static final String FCZGL = "JSFW.NX_GD_FDC_XX_XX_XXX_XXX_CI0135"; // 风场总功率
-	public static final String FCFS = "JSFW.NX_GD_FDC_XX_XX_XXX_XXX_CI0134"; // 风场风速
-	public static final String GFSWDL = "JSFW.NX_GD_GDC_XX_XX_XXX_XXX_CI0136"; // 光伏上网电量
-	public static final String GFZGL = "JSFW.NX_GD_GDC_XX_XX_XXX_XXX_CI0135"; // 光伏总功率
-	public static final String FCQFDL = "JSFW.NX_GD_FDC_XX_XX_XXX_XXX_CI0110"; // 风电日欠发损失电
-
-	
-	
-	/******************************************** 麻黄山风电场 *****************************************/
-	public static final String JSFW_MHSFJZD ="MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0215"; //麻黄山风机是否中断
-	public static final String JSFW_MHSDQZD ="MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0216";//麻黄山电气是否中断
-	public static final String JSFW_MHSCFTZD ="MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0218";//麻黄山测风塔是否中断
-	public static final String JSFW_MHSDJLZD ="MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0217";//麻黄山电计量是否中断
-	public static final String JSFW_MHSAGCZD ="MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0219";//麻黄山AGC是否中断
-	
-	
-	
-	
-	
-	
-	public static final String JSFW_MHRFDLB = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0088"; // 麻黄山日发电量
-	public static final String JSFW_MHYFDLB = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0146"; // 麻黄山月发电量
-	public static final String JSFW_MHNFDLB = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0037"; // 麻黄山年发电量
-	public static final String JSFW_MHSWDLB = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0136"; // 麻黄山上网电量
-	public static final String JSFW_MHSSZGL = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0135"; // 麻黄山总功率
-	public static final String JSFW_MHSSFS = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0134"; // 麻黄山风速
-	public static final String JSFW_MHRQFSS = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0110"; // 麻黄山日欠发损失电量
-	public static final String MHSFGL_AI000305 = "MHSFGL.NX_GD_MHSF_YC_P1_L1_001_FGLTEM"; // 麻黄山测风塔温度
-	public static final String MHSFGL_AI000306 = "MHSFGL.NX_GD_MHSF_YC_P1_L1_001_FGLHUM"; // 麻黄山测风塔湿度
-	public static final String MHSFGL_AI000307 = "MHSFGL.NX_GD_MHSF_YC_P1_L1_001_FGLPRE"; // 麻黄山测风塔压强
-	public static final String MHSDQ_DI000006 = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0006"; // 111断路器位置
-	public static final String MHSDQ_DI000141 = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0141"; // 301断路器合闸位置
-	public static final String MHSDQ_DI000363 = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0363"; // [风场Ⅰ线9611CS]断路器位置
-	public static final String MHSDQ_DI000423 = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0423"; // [风场Ⅱ线9611CS]断路器位置
-	public static final String MHSDQ_DI000483 = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0483"; // [风场Ⅲ线9611CS]断路器位置
-
-	public static final String MHSDQ_101DLQ = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0006"; // 101断路器位置
-	public static final String MHSDQ_102DLQ = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0006"; // 102断路器位置
-	public static final String MHSDQ_302DLQ = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0141"; // 302断路器合闸位置
-	public static final String MHSDQ_321DLQ = "MHSDQ.NX_GD_MHSF_DQ_P1_L1_001_DI0985"; // 321断路器合闸位置
-
-	public static final String MHSFGL_AI000314 = "MHSFGL.NX_GD_MHSF_YC_P1_L1_001_FGLS70";// 麻黄山70m风速
-	public static final String MHSFGL_AI000315 = "MHSFGL.NX_GD_MHSF_YC_P1_L1_001_FGLD70";// 麻黄山70m风向
-	/******************************************** 麻黄山风电场 *****************************************/
-
-	/******************************************** 石板泉风电场 *****************************************/
-	public static final String JSFW_SBQFJZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0215"; //石板泉风机是否中断
-	public static final String JSFW_SBQDQZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0216";//石板泉电气是否中断
-	public static final String JSFW_SBQCFTZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0218";//石板泉测风塔是否中断
-	public static final String JSFW_SBQDJLZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0217";//石板泉电计量是否中断
-	public static final String JSFW_SBQAGCZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0219";//石板泉AGC是否中断
-
-	
-	
-	
-	
-	
-	
-	public static final String JSFW_SBRFDLB = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0088"; // 石板泉日发电量
-	public static final String JSFW_SBYFDLB = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0146"; // 石板泉月发电量
-	public static final String JSFW_SBNFDLB = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0037"; // 石板泉年发电量
-	public static final String JSFW_SBSWDLB = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0136"; // 石板泉上网电量
-	public static final String JSFW_SBSSZGL = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0135"; // 石板泉总功率
-	public static final String JSFW_SBSSFS = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0134"; // 石板泉风速
-	public static final String JSFW_SBRQFSS = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0110"; // 石板泉日欠发损失电量
-	public static final String SBQFGL_AI000305 = "SBQFJ.NX_GD_SBQF_FJ_P4_L9_100_AI0165"; // 石板泉测风塔温度
-	
-//	public static final String SBQFGL_AI000305 = "SBQFGL.NX_GD_SBQF_YC_P1_L1_001_FGLTEM"; // 石板泉测风塔温度
-
-	public static final String SBQFGL_AI000319 = "SBQFGL.NX_GD_SBQF_YC_P1_L1_001_FGLHUM"; // 石板泉测风塔湿度
-	public static final String SBQFGL_AI000320 = "SBQFGL.NX_GD_SBQF_YC_P1_L1_001_FGLPRE"; // 石板泉测风塔压强
-
-	public static final String SBQDQ_DI000001 = "SBQXLDQ.NX_GD_SBQF_DQ_P1_L1_001_DI0001"; // 1#进线路测控装置断路器111
-	public static final String SBQDQ_DI000161 = "SBQXLDQ.NX_GD_SBQF_DQ_P1_L1_001_DI0161"; // 1号主变测控装置高压侧断路器101
-	public static final String SBQDQ_DI000175 = "SBQXLDQ.NX_GD_SBQF_DQ_P1_L1_001_DI0175"; // 1号主变测控装置低压侧断路器301
-	public static final String SBQDQ_DI000966 = "SBQXLDQ.NX_GD_SBQF_DQ_P1_L1_001_DI0966"; // 35kV1A出线保护断路器312
-	public static final String SBQDQ_DI001030 = "SBQXLDQ.NX_GD_SBQF_DQ_P1_L1_001_DI1030"; // 35kV1B出线保护断路器313
-	public static final String SBQDQ_DI001158 = "SBQXLDQ.NX_GD_SBQF_DQ_P1_L1_001_DI1158"; // 35kV1C出线保护断路器314
-
-	public static final String SBQDQ_DI000081 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI0081"; // 2#进线路测控装置断路器121合闸
-	public static final String SBQDQ_DI000241 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI0241"; // 2号主变测控装置高压侧断路器102合闸
-	public static final String SBQDQ_DI000255 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI0255"; // 2号主变测控装置低压侧断路器302合位
-	public static final String SBQDQ_DI001419 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI1419"; // 35kV2A出线保护321断路器合位
-	public static final String SBQDQ_DI001483 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI1483"; // 35kV2B出线保护322断路器合位
-	public static final String SBQDQ_DI001611 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI1611"; // 35kV2C出线保护323断路器合位
-
-	public static final String SBQDQ_DI002536 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI2569"; // 35kV1A出线保护断路器331
-	public static final String SBQDQ_DI002600 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI2633"; // 35kV1B出线保护断路器332
-	public static final String SBQDQ_DI002915 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI2915"; // 2#进线路测控装置断路器151合闸
-	public static final String SBQDQ_DI000425 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI0425"; // 2号主变测控装置高压侧断路器105合闸
-	// public static final String SBQDQ_DI000255="SBQDQ_DI000255";
-	// //2号主变测控装置低压侧断路器305合位
-	public static final String SBQDQ_DI003272 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI3305"; // 35kV2A出线保护351断路器合位
-	public static final String SBQDQ_DI003336 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI3369"; // 35kV2B出线保护352断路器合位
-	public static final String SBQDQ_DI003400 = "SBQNWDQ.NX_GD_SBQF_DQ_P1_L1_001_DI3433"; // 35kV2C出线保护353断路器合位
-
-	public static final String SBQFGL_AI000327 = "SBQFGL.NX_GD_SBQF_YC_P1_L1_001_FGLS70";// 石板泉70m风速
-	public static final String SBQFGL_AI000328 = "SBQFGL.NX_GD_SBQF_YC_P1_L1_001_FGLD70";// 石板泉70m风向
-	/******************************************* 石板泉风电场 *****************************************/
-
-	/******************************************** 青山风电场 *****************************************/
-	public static final String JSFW_QSFJZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0215"; //石板泉风机是否中断
-	public static final String JSFW_QSDQZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0216";//石板泉电气是否中断
-	public static final String JSFW_QSCFTZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0218";//石板泉测风塔是否中断
-	public static final String JSFW_QSDJLZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0217";//石板泉电计量是否中断
-	public static final String JSFW_QSAGCZD ="SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0219";//石板泉AGC是否中断
-
-	
-	
-	
-	
-	
-	
-	
-	public static final String QSRFDL = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0088"; // 青山日发电量
-	public static final String QSYFDL = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0146"; // 青山月发电量
-	public static final String QSNFDL = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0037"; // 青山年发电量
-	public static final String QSSWDL = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0136"; // 青山上网电量
-	public static final String QSZGL = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0135"; // 青山总功率
-	public static final String QSFS = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0134"; // 青山风速
-	public static final String QSQFDL = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0110"; // 青山日欠发损失电量
-	public static final String QSWD = "QSFGL.NX_GD_QSF_YC_P1_L1_001_CFT019"; // 青山测风塔温度
-	// public static final String QSWD = "QSFGL_AI000323"; // 青山测风塔湿度
-	public static final String QSFGL_AI000324 = "QSFGL.NX_GD_QSF_YC_P1_L1_001_CFT020"; // 青山测风塔压强
-	public static final String QSPJFS = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0134"; // 青山平均风速
-
-	public static final String QSDQ_DI000377 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI0377"; // 110kV线路测控隔刀111-1分位
-	public static final String QSDQ_DI000530 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI0530"; // 1#主变测控断路器101分
-	public static final String QSDQ_DI000858 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI0858"; // 2#主变测控断路器102
-	public static final String QSDQ_DI000193 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI0193"; // 35kV公用测控1#主变35KV手车分
-	public static final String QSDQ_DI000195 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI0195"; // 35kV公用测控2#主变35KV手车分
-	public static final String QSDQ_DI001186 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI1186"; // 35kVI段集线线路1A311断路器
-	public static final String QSDQ_DI001232 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI1232"; // 35kVI段集线线路1B312断路器
-	public static final String QSDQ_DI001278 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI1278"; // 35kVI段集线线路1C313断路器
-	public static final String QSDQ_DI001416 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI1416"; // 35kV分段300断路器
-	public static final String QSDQ_DI001462 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI1462"; // 35kVII段集线线路2A323断路器
-	public static final String QSDQ_DI001508 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI1508"; // 35kVII段集线线路2B324断路器
-	public static final String QSDQ_DI001554 = "QSDQ.NX_GD_QSF_DQ_P1_L1_001_DI1554"; // 35kVII段集线线路2C325断路器
-
-	public static final String SLDQ_DI000103 = "SLDQ.NX_GD_QSF_DQ_P1_L1_001_DI0071";
-	public static final String SLDQ_DI000303 = "SLDQ.NX_GD_QSF_DQ_P1_L1_001_DI0123";
-	public static final String SLDQ_DI000331 = "SLDQ.NX_GD_QSF_DQ_P1_L1_001_DI1615";
-	public static final String SLDQ_DI000332 = "SLDQ.NX_GD_QSF_DQ_P1_L1_001_DI1701";
-
-	public static final String QSFGL_AI000313 = "QSFGL.NX_GD_QSF_YC_P1_L1_001_CFT009";// 青山70m风速
-	public static final String QSFGL_AI000314 = "QSFGL.NX_GD_QSF_YC_P1_L1_001_CFT010";// 青山70m风向
-	/******************************************** 青山风电场 *****************************************/
-
-	/******************************************** 牛首山风电场 *****************************************/
-	public static final String NSSRFDL = "NSSFCJSFW.NX_GD_NSSF_XX_XX_XXX_XXX_CI0088"; // 牛首山日发电量
-	public static final String NSSYFDL = "NSSFCJSFW.NX_GD_NSSF_XX_XX_XXX_XXX_CI0146"; // 牛首山月发电量
-	public static final String NSSNFDL = "NSSFCJSFW.NX_GD_NSSF_XX_XX_XXX_XXX_CI0037"; // 牛首山年发电量
-	public static final String NSSSWDL = "NSSFCJSFW.NX_GD_NSSF_XX_XX_XXX_XXX_CI0136"; // 牛首山上网电量
-	public static final String NSSZGL = "NSSFCJSFW.NX_GD_NSSF_XX_XX_XXX_XXX_CI0135"; // 牛首山总功率
-	public static final String NSSFS = "NSSFCJSFW.NX_GD_NSSF_XX_XX_XXX_XXX_CI0134"; // 牛首山风速
-	public static final String NSSQFDL = "NSSFCJSFW.NX_GD_NSSF_XX_XX_XXX_XXX_CI0110"; // 牛首山日欠发损失电量
-	//public static final String NSSWD = "NSSFGL.NX_GD_NSSF_YC_P1_L1_001_FGLTEM"; // 牛首山测风塔温度
-	public static final String NSSWD = "NSSFJ.NX_GD_NSSF_FJ_P1_L2_013_AI0056"; // 牛首山测风塔温度
-	
-	public static final String NSSFGL_AI000306 = "NSSFGL.NX_GD_NSSF_YC_P1_L1_001_FGLHUM"; // 牛首山测风塔湿度
-	public static final String NSSFGL_AI000307 = "NSSFGL.NX_GD_NSSF_YC_P1_L1_001_FGLPRE"; // 牛首山测风塔压强
-	public static final String NSSPJFS = "NSSFCJSFW.NX_GD_NSSF_XX_XX_XXX_XXX_CI0134"; // 牛首山平均风速
-
-	public static final String NSSZ111 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0003"; // 首风II甲线111开关位置
-	public static final String NSSZ101 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0019"; // 101开关位置
-	public static final String NSSZ102 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0034"; // 102开关位置
-	public static final String NSSZ301 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0025"; // 301开关位置
-	public static final String NSSZ302 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0040"; // 302开关位置
-	public static final String NSSZ312 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0070"; // 集电线路一312开关位置
-	public static final String NSSZ313 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0076"; // 集电线路二313开关位置
-	public static final String NSSZ314 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0082"; // 集电线路三314开关位置
-	public static final String NSSZ321 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0098"; // 集电线路四321开关位置
-	public static final String NSSZ322 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0104"; // 集电线路五322开关位置
-	public static final String NSSZ323 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0110"; // 集电线路六323开关位置
-	public static final String NSSZ121 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0011"; // 首风II乙线121开关位置
-	public static final String NSSZ103 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0049"; // 103开关位置
-	public static final String NSSZ303 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0055"; // 303开关位置
-	public static final String NSSZ351 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0126"; // 集电线路七351开关位置
-	public static final String NSSZ353 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0132"; // 集电线路八353开关位置
-	public static final String NSSZ354 = "NSSDQN.NX_GD_NSSF_DQ_P1_L1_001_DI0138"; // 集电线路九354开关位置
-
-	public static final String NSSDQ_AI000703 = "NSSFGL.NX_GD_NSSF_YC_P1_L1_001_FGLS70";// 牛首山70m风速
-	public static final String NSSDQ_AI000704 = "NSSFGL.NX_GD_NSSF_YC_P1_L1_001_FGLD70";// 牛首山70m风向
-	/******************************************** 牛首山风电场 *****************************************/
-
-	/******************************************** 大武口风电场 *****************************************/
-	public static final String DWKRFDL = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0088"; // 大武口日发电量
-	public static final String DWKYFDL = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0146"; // 大武口月发电量
-	public static final String DWKNFDL = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0037"; // 大武口年发电量
-	public static final String DWKSWDL = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0136"; // 大武口上网电量
-	public static final String DWKZGL = "DWKDQ.NX_GD_DWKG_DQ_P1_L1_001_AI0002"; // 大武口总功率
-	public static final String DWKFS = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0134";// 大武口日照强度;
-	// public static final String DWKFS =
-	// "DWKGF.NX_GD_DWKG_GF_P1_L2_010_AI0672";// "JSFW_DWSSFS";
-	// //
-	// 大武口日照强度
-	//public static final String DWKWD = "DWKGGL.NX_GD_DWKG_YC_P1_L1_001_QXZ004"; // 大武口测风塔温度
-	public static final String DWKWD = "DWKGF.NX_GD_DWKG_GF_P1_L2_010_AI0663"; // 大武口测风塔温度
-	
-	public static final String DWKPJFS = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0134"; // 大武口平均风速
-
-	public static final String DWKZ310 = "DWKDQ.NX_GD_DWKG_DQ_P1_L1_001_DI0024"; // 35kV出线柜310开关位置
-	public static final String DWKZ314 = "DWKDQ.NX_GD_DWKG_DQ_P1_L1_001_DI0027"; // 35kV#1光伏进线柜314开关位置
-	public static final String DWKZ315 = "DWKDQ.NX_GD_DWKG_DQ_P1_L1_001_DI0028"; // 35kV#2光伏进线柜315开关位置
-	/******************************************** 大武口风电场 *****************************************/
-
-	/******************************************** 平罗电场 *****************************************/
-	public static final String PLRFDL = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0088"; // 平罗日发电量
-	public static final String PLYFDL = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0146"; // 平罗月发电量
-	public static final String PLNFDL = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0037"; // 平罗年发电量
-	public static final String PLSWDL = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0136"; // 平罗上网电量
-	public static final String PLZGL = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0135"; // 平罗总功率
-	public static final String PLFS = "PLGGL.NX_GD_PLG_YC_P1_L1_001_QXZ0001"; // 平罗日照强度
-	public static final String PLWD = "PLGGL.NX_GD_PLG_YC_P1_L1_001_QXZ004"; // 平罗测风塔温度
-	public static final String PLPJFS = "PLGGL.NX_GD_PLG_YC_P1_L1_001_QXZ0001"; // 平罗平均风速
-
-	// 平罗1
-	public static final String PLZ1310 = "PLSJ1.NX_GD_PLG_DQ_P1_L1_001_DI0001"; // 35kV出线柜310开关位置
-	public static final String PLZ1313 = "PLSJ1.NX_GD_PLG_DQ_P1_L1_001_DI0005"; // I期313开关断路器合位
-	public static final String PLZ1314 = "PLSJ1.NX_GD_PLG_DQ_P1_L1_001_DI0007"; // I期314开关断路器合位
-	public static final String PLZ1315 = "PLSJ1.NX_GD_PLG_DQ_P1_L1_001_DI0009"; // I期315开关断路器合位
-	public static final String PLZ1316 = "PLSJ1.NX_GD_PLG_DQ_P1_L1_001_DI0011"; // I期316开关断路器合位
-	public static final String PLZ1317 = "PLSJ1.NX_GD_PLG_DQ_P1_L1_001_DI0013"; // I期317开关断路器合位
-	// 平罗2
-	public static final String PLZ2310 = "PLSJ2.NX_GD_PLG_DD_P1_L1_001_DI0001"; // 20#逆变器电网交流过压
-	public static final String PLZ2322 = "PLSJ2.NX_GD_PLG_DD_P1_L1_001_DI0017"; // 20#逆变器防雷器故障
-	public static final String PLZ2323 = "PLSJ2.NX_GD_PLG_DD_P1_L1_001_DI0019"; // 20#逆变器防反放电保护
-	/******************************************** 平罗电场 *****************************************/
-
-	/******************************************** 马场湖风电场 *****************************************/
-
-	public static final String MCHRFDL = "JSFW_MCRFDLB"; // 马场湖日发电量
-	public static final String MCHYFDL = "JSFW_MCYFDLB"; // 马场湖月发电量
-	public static final String MCHNFDL = "JSFW_MCNFDLB"; // 马场湖年发电量
-	public static final String MCHSWDL = "JSFW_MCSWDLB"; // 马场湖上网电量
-	public static final String MCHZGL = "JSFW_MCSSZGL"; // 马场湖总功率
-	public static final String MCHFS = "JSFW_MCSSFSX"; // 马场湖日照强度
-	public static final String MCHWD = "MCHGGL_AI000308"; // 马场湖测风塔温度
-	public static final String MCHPJFS = "JSFW_MCSSFS"; // 马场湖平均风速
-
-	public static final String MCHZ511 = "MCHDQ_DI110749"; // 马场湖光伏开关站xj-断路器位置
-	public static final String MCHZ510 = "MCHDQ_DI110027"; // 马场湖光伏开关站10ah-3
-	// 1#进线柜-断路器位置
-	public static final String MCHZ512 = "MCHDQ_DI110317"; // 马场湖光伏开关站10ah-4
-	// 2#进线-断路器位置
-	public static final String MCHZ513 = "MCHDQ_DI110197"; // 马场湖光伏开关站10ah-5
-	// 3#进线-断路器位置
-	public static final String MCHZ514 = "MCHDQ_DI110080"; // 马场湖光伏开关站10ah-14
-	// 电容器-断路器位置
-	public static final String MCHZ515 = "MCHDQ_DI110137"; // 马场湖光伏开关站10ah-7
-	// 5#进线-断路器位置
-	public static final String MCHZ516 = "MCHDQ_DI110377"; // 马场湖光伏开关站10ah-8
-	// 6#进线-断路器位置
-	public static final String MCHZ517 = "MCHDQ_DI110437"; // 马场湖光伏开关站10ah-9
-	// 7#进线-断路器位置
-	public static final String MCHZ518 = "MCHDQ_DI110497"; // 马场湖光伏开关站10ah-10
-	// 8#进线-断路器位置
-	public static final String MCHZ519 = "MCHDQ_DI110557"; // 马场湖光伏开关站10ah-11
-	// 9#进线-断路器位置
-	public static final String MCHZ520 = "MCHDQ_DI110617"; // 马场湖光伏开关站10ah-12
-	// 10#进线-断路器位置
-	/******************************************** 马场湖风电场 *****************************************/
-
-	/******************************************** 宣和风电场 *****************************************/
-	public static final String XHRFDL = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0088"; // 宣和日发电量
-	public static final String XHYFDL = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0146"; // 宣和月发电量
-	public static final String XHNFDL = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0037"; // 宣和年发电量
-	public static final String XHSWDL = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0136"; // 宣和上网电量
-	public static final String XHZGL = "XHDQ.NX_GD_XHG_DQ_P1_L1_001_AI0002"; // 宣和总功率
-	public static final String XHFS = "XHGGL.NX_GD_XHG_YC_P1_L1_001_QXZ001"; // 宣和日照强度
-																				// XHDQ.NX_GD_XHG_DQ_P1_L1_001_AI0192
-	// public static final String XHFS =
-	// "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0134"; // 宣和日照强度
-	public static final String XHWD = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0134"; // 宣和测风塔温度
-	public static final String XHPJFS = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0134"; // 宣和平均风速
-
-	public static final String XHZ311 = "XHDQ.NX_GD_XHG_DQ_P1_L1_001_DI0001"; // 35kV草光I线开关位置
-	public static final String XHZ313 = "XHDQ.NX_GD_XHG_DQ_P1_L1_001_DI0025"; // 35kV1#进线313开关位置
-	public static final String XHZ314 = "XHDQ.NX_GD_XHG_DQ_P1_L1_001_DI0027"; // 35kV2#进线314开关位置
-	public static final String XHZ316 = "XHDQ.NX_GD_XHG_DQ_P1_L1_001_DI0031"; // 35kV4#进线316开关位置
-	public static final String XHZ315 = "XHDQ.NX_GD_XHG_DQ_P1_L1_001_DI0029"; // 35kV3#进线315开关位置
-	/******************************************** 宣和风电场 *****************************************/
-
-	/******************************************** 海子井风电场 *****************************************/
-	public static final String HZJWD = "HZJGDCJSFW.NX_GD_HZJG_XX_XX_XXX_XXX_CI0134"; // 宣和测风塔温度
-	public static final String HZJPJFS = "HZJGDCJSFW.NX_GD_HZJG_XX_XX_XXX_XXX_CI0134"; // 宣和平均风速
-	/******************************************** 海子井风电场 *****************************************/
-
-	/******************************************** 香山风电场 *****************************************/
-	public static final String XSRFDL = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0088"; // 香山日发电量
-	public static final String XSYFDL = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0146"; // 香山月发电量
-	public static final String XSNFDL = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0037"; // 香山年发电量
-	public static final String XSSWDL = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0136"; // 香山上网电量
-	public static final String XSZGL = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0135"; // 香山总功率
-	public static final String XSFS = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0134"; // 香山风速
-	public static final String XSQFDL = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0110"; // 香山日欠发损失电量
-
-	public static final String XSWD = "XSFGL.NX_GD_XSF_YC_P1_L1_001_FGLTEM"; // 香山测风塔温度
-	public static final String XSFGL_AI000007 = "XSFGL.NX_GD_XSF_YC_P1_L1_001_FGLHUM"; // 香山测风塔湿度
-	public static final String XSFGL_AI000008 = "XSFGL.NX_GD_XSF_YC_P1_L1_001_FGLPRE"; // 香山测风塔压强
-	public static final String XSPJFS = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0134"; // 香山平均风速
-
-	public static final String XSDQ_DI000034 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI0034"; // #111断路器
-	public static final String XSDQ_DI000169 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI0169"; // 101断路器
-	public static final String XSDQ_DI000308 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI0308"; // 102断路器
-	public static final String XSDQ_DI000192 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI0192"; // 301断路器
-	public static final String XSDQ_DI000331 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI0331"; // 302断路器
-	// 香山电气点没有,采用类似点,目前不一定准确
-	public static final String XSDQ_DI000850 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI1368"; // 311断路器
-	public static final String XSDQ_DI000915 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI1629"; // 312断路器
-	public static final String XSDQ_DI001210 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI1501"; // 323断路器
-	public static final String XSDQ_DI001145 = "XSDQ.NX_GD_XSF_DQ_P1_L1_001_DI1501"; // 322断路器
-
-	public static final String XSFGL_AI000003 = "XSFGL.NX_GD_XSF_YC_P1_L1_001_FGLS70";// 香山70m风速
-	public static final String XSFGL_AI000005 = "XSFGL.NX_GD_XSF_YC_P1_L1_001_FGLD70";// 香山70m风向
-	/******************************************** 香山风电场 *****************************************/
-
-	public static final String DWKGDCJSFW_CI0195 = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0195"; // 风机设备在线状态
-	public static final String DWKGDCJSFW_CI0196 = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0196"; // 升压站在线状态
-	public static final String DWKGDCJSFW_CI0197 = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0197"; // 电计量在线状态
-	public static final String DWKGDCJSFW_CI0198 = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0198"; // 测风塔在线状态
-	public static final String DWKGDCJSFW_CI0199 = "DWKGDCJSFW.NX_GD_DWKG_XX_XX_XXX_XXX_CI0199"; // agc在线状态
-
-	public static final String MHSFCJSFW_CI0215 = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0215"; // 风机设备在线状态
-	public static final String MHSFCJSFW_CI0216 = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0216"; // 升压站在线状态
-	public static final String MHSFCJSFW_CI0217 = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0217"; // 电计量在线状态
-	public static final String MHSFCJSFW_CI0218 = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0218"; // 测风塔在线状态
-	public static final String MHSFCJSFW_CI0219 = "MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0219"; // agc在线状态
-
-	public static final String NSSFCJSFW_CI0215 = "NSSFCJSFW_NX_GD_NSSF_XX_XX_XXX_XXX_CI0215"; // 风机设备在线状态
-	public static final String NSSFCJSFW_CI0216 = "NSSFCJSFW_NX_GD_NSSF_XX_XX_XXX_XXX_CI0216"; // 升压站在线状态
-	public static final String NSSFCJSFW_CI0217 = "NSSFCJSFW_NX_GD_NSSF_XX_XX_XXX_XXX_CI0217"; // 电计量在线状态
-	public static final String NSSFCJSFW_CI0218 = "NSSFCJSFW_NX_GD_NSSF_XX_XX_XXX_XXX_CI0218"; // 测风塔在线状态
-	public static final String NSSFCJSFW_CI0219 = "NSSFCJSFW_NX_GD_NSSF_XX_XX_XXX_XXX_CI0219"; // agc在线状态
-
-	public static final String PLGDCJSFW_CI0195 = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0195"; // 风机设备在线状态
-	public static final String PLGDCJSFW_CI0196 = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0196"; // 升压站在线状态
-	public static final String PLGDCJSFW_CI0197 = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0197"; // 电计量在线状态
-	public static final String PLGDCJSFW_CI0198 = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0198"; // 测风塔在线状态
-	public static final String PLGDCJSFW_CI0199 = "PLGDCJSFW.NX_GD_PLG_XX_XX_XXX_XXX_CI0199"; // agc在线状态
-
-	public static final String QSFCJSFW_CI0215 = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0215"; // 风机设备在线状态
-	public static final String QSFCJSFW_CI0216 = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0216"; // 升压站在线状态
-	public static final String QSFCJSFW_CI0217 = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0217"; // 电计量在线状态
-	public static final String QSFCJSFW_CI0218 = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0218"; // 测风塔在线状态
-	public static final String QSFCJSFW_CI0219 = "QSFCJSFW.NX_GD_QSF_XX_XX_XXX_XXX_CI0219"; // agc在线状态
-
-	public static final String SBQFCJSFW_CI0215 = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0215"; // 风机设备在线状态
-	public static final String SBQFCJSFW_CI0216 = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0216"; // 升压站在线状态
-	public static final String SBQFCJSFW_CI0217 = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0217"; // 电计量在线状态
-	public static final String SBQFCJSFW_CI0218 = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0218"; // 测风塔在线状态
-	public static final String SBQFCJSFW_CI0219 = "SBQFCJSFW.NX_GD_SBQF_XX_XX_XXX_XXX_CI0219"; // agc在线状态
-
-	public static final String XHGDCJSFW_CI0195 = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0195"; // 风机设备在线状态
-	public static final String XHGDCJSFW_CI0196 = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0196"; // 升压站在线状态
-	public static final String XHGDCJSFW_CI0197 = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0197"; // 电计量在线状态
-	public static final String XHGDCJSFW_CI0198 = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0198"; // 测风塔在线状态
-	public static final String XHGDCJSFW_CI0199 = "XHGDCJSFW.NX_GD_XHG_XX_XX_XXX_XXX_CI0199"; // agc在线状态
-
-	public static final String XSFCJSFW_CI0215 = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0215"; // 风机设备在线状态
-	public static final String XSFCJSFW_CI0216 = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0216"; // 升压站在线状态
-	public static final String XSFCJSFW_CI0217 = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0217"; // 电计量在线状态
-	public static final String XSFCJSFW_CI0218 = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0218"; // 测风塔在线状态
-	public static final String XSFCJSFW_CI0219 = "XSFCJSFW.NX_GD_XSF_XX_XX_XXX_XXX_CI0219"; // agc在线状态
-
-}

+ 0 - 377
web/health/src/main/java/com/gyee/frame/common/spring/InitialRedis.java

@@ -1,377 +0,0 @@
-//package com.gyee.frame.common.spring;
-//
-//import com.alibaba.fastjson.JSON;
-//import com.gyee.frame.common.cache.IGlobalCache;
-//import com.gyee.frame.model.auto.*;
-//import com.gyee.frame.model.custom.PointData;
-//import com.gyee.frame.service.WindPowerstationTestingPoint2Service;
-//import com.gyee.frame.service.WindTurbineTestingPointAiService;
-//import com.gyee.frame.service.WindturbinepowercurvefittingService;
-//import com.gyee.frame.util.DateUtils;
-//import com.gyee.frame.util.IRealTimeDataBaseUtil;
-//import com.gyee.frame.util.RealTimeDataBaseFactory;
-//
-//import java.text.DecimalFormat;
-//import java.util.*;
-//
-//
-//public  class InitialRedis {
-//
-//    public static Map<String, Map<Double, Windturbinepowercurvefitting>> wpcmap = new HashMap<String, Map<Double, Windturbinepowercurvefitting>>();
-//
-//
-//    IRealTimeDataBaseUtil realApiUtil = RealTimeDataBaseFactory.createRealTimeDataBase();
-//
-//    public  void intialWindturbinepowercurvefitting() throws Exception {
-//
-//
-//        WindturbinepowercurvefittingService windturbinepowercurvefittingService= SpringUtils.getBean("windturbinepowercurvefittingService");
-//        IGlobalCache globalCache= SpringUtils.getBean("globalCache");
-//
-//        WindturbinepowercurvefittingExample windturbinepowercurvefittingExample = new WindturbinepowercurvefittingExample();
-//        windturbinepowercurvefittingExample.setOrderByClause("WINDTURBINEID ASC,speed ASC");
-//        List<Windturbinepowercurvefitting> wpclist = windturbinepowercurvefittingService.selectByExample(windturbinepowercurvefittingExample);
-//
-//        if (!wpclist.isEmpty()) {
-//            for (Windturbinepowercurvefitting wc : wpclist) {
-//                if (wpcmap.containsKey(wc.getWindturbineid())) {
-//                    Map<Double, Windturbinepowercurvefitting> map = wpcmap.get(wc.getWindturbineid());
-//                    map.put(wc.getSpeed(), wc);
-//                } else {
-//                    Map<Double, Windturbinepowercurvefitting> map = new HashMap<Double, Windturbinepowercurvefitting>();
-//                    map.put(wc.getSpeed(), wc);
-//                    wpcmap.put(wc.getWindturbineid(), map);
-//                }
-//            }
-//        }
-//
-//        globalCache.set("wpcmap", JSON.toJSONString(wpcmap));
-//    }
-//
-//
-//    public  void intialWpScatter() throws Exception {
-//
-//
-//
-//        WindPowerstationTestingPoint2Service windPowerstationTestingPoint2Service= SpringUtils.getBean("windPowerstationTestingPoint2Service");
-//        WindTurbineTestingPointAiService windTurbineTestingPointAiService= SpringUtils.getBean("windTurbineTestingPointAiService");
-//        IGlobalCache globalCache= SpringUtils.getBean("globalCache");
-//
-//
-//        Calendar cal = Calendar.getInstance();
-//        cal.set(Calendar.HOUR_OF_DAY, 0);
-//        cal.set(Calendar.MINUTE, 0);
-//        cal.set(Calendar.SECOND, 0);
-//
-//        int month=cal.get(Calendar.MONTH)+1;
-//
-//
-//        cal.set(Calendar.MONTH, 0);
-//
-//        for(int j=0;j<month;j++)
-//        {
-//            List<List<Double>> vos = new ArrayList<List<Double>>();
-//            cal.set(Calendar.DAY_OF_MONTH, cal.getActualMinimum(Calendar.DAY_OF_MONTH));
-//            Date beginDate = cal.getTime();
-//            Date endDate =null;
-//            if(month-1==cal.get(Calendar.MONTH))
-//            {
-//                cal = Calendar.getInstance();
-//               //cal.set(Calendar.DAY_OF_MONTH, cal.getActualMaximum(Calendar.DAY_OF_MONTH));
-//                endDate = cal.getTime();
-//            }else
-//            {
-//                cal.add(Calendar.MONTH,1);;
-//                endDate = cal.getTime();
-//            }
-//
-//
-//            for(Windpowerstation wp:InitialRunner.wpls)
-//            {
-//                String wpId=wp.getId();
-//                Windpowerstationpointnew gl = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, ContantXk.TPOINT_WP_SJGL);
-//                Windpowerstationpointnew fs = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, ContantXk.SSPJFS);
-//
-//                int daynum = DateUtils.daysDiff(beginDate, endDate);
-//                long pried = 600 ;
-//                long count = 6 * 24 * daynum;
-//
-//                DecimalFormat dcmFmt = new DecimalFormat("0.00");
-//                List<PointData> gls = realApiUtil.getHistoryDatasSnap(gl, beginDate.getTime() / 1000, endDate.getTime() / 1000, count, pried);
-//
-//                List<PointData> fss = realApiUtil.getHistoryDatasSnap(fs, beginDate.getTime() / 1000, endDate.getTime() / 1000, count, pried);
-//
-//
-//                if (!gls.isEmpty() && !fss.isEmpty()) {
-//                    for (int i = 0; i < fss.size(); i++) {
-//
-//                        List<Double> ds = new ArrayList<Double>();
-//
-//                        double f = fss.get(i).getPointValueInDouble();
-//                        ds.add(Double.valueOf(dcmFmt.format(f)));
-//                        f = gls.get(i).getPointValueInDouble();
-//                        ds.add(Double.valueOf(dcmFmt.format(f)));
-//                        vos.add(ds);
-//                    }
-//                }
-//
-//               // cal.add(Calendar.MONTH,1);
-//                StringBuilder sb=new StringBuilder();
-//                sb.append("scatter_").append(wpId).append("_").append(j+1);
-//                globalCache.set(String.valueOf(sb), JSON.toJSONString(vos));
-//                System.out.println(String.valueOf(sb.append("完成")));
-//            }
-//        }
-//
-//
-//
-//    }
-//
-//
-//
-//    public  void intialPjScatter() throws Exception {
-//
-//
-//
-//        WindPowerstationTestingPoint2Service windPowerstationTestingPoint2Service= SpringUtils.getBean("windPowerstationTestingPoint2Service");
-//        WindTurbineTestingPointAiService windTurbineTestingPointAiService= SpringUtils.getBean("windTurbineTestingPointAiService");
-//        IGlobalCache globalCache= SpringUtils.getBean("globalCache");
-//
-//
-//        Calendar cal = Calendar.getInstance();
-//        cal.set(Calendar.HOUR_OF_DAY, 0);
-//        cal.set(Calendar.MINUTE, 0);
-//        cal.set(Calendar.SECOND, 0);
-//
-//        int month=cal.get(Calendar.MONTH)+1;
-//
-//
-//        cal.set(Calendar.MONTH, 0);
-//
-//        for(int j=0;j<month;j++)
-//        {
-//            List<List<Double>> vos = new ArrayList<List<Double>>();
-//            cal.set(Calendar.DAY_OF_MONTH, cal.getActualMinimum(Calendar.DAY_OF_MONTH));
-//            Date beginDate = cal.getTime();
-//            Date endDate =null;
-//            if(month-1==cal.get(Calendar.MONTH))
-//            {
-//                cal = Calendar.getInstance();
-//                //cal.set(Calendar.DAY_OF_MONTH, cal.getActualMaximum(Calendar.DAY_OF_MONTH));
-//                endDate = cal.getTime();
-//            }else
-//            {
-//                cal.add(Calendar.MONTH,1);;
-//                endDate = cal.getTime();
-//            }
-//
-//
-//            for(Project pj:InitialRunner.pjls)
-//            {
-//                String wpId=pj.getId();
-//                Windpowerstationpointnew gl = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, ContantXk.TPOINT_WP_SJGL);
-//                Windpowerstationpointnew fs = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, ContantXk.SSPJFS);
-//
-//                int daynum = DateUtils.daysDiff(beginDate, endDate);
-//                long pried = 600 ;
-//                long count = 6 * 24 * daynum;
-//
-//                DecimalFormat dcmFmt = new DecimalFormat("0.00");
-//                List<PointData> gls = realApiUtil.getHistoryDatasSnap(gl, beginDate.getTime() / 1000, endDate.getTime() / 1000, count, pried);
-//
-//                List<PointData> fss = realApiUtil.getHistoryDatasSnap(fs, beginDate.getTime() / 1000, endDate.getTime() / 1000, count, pried);
-//
-//
-//                if (!gls.isEmpty() && !fss.isEmpty()) {
-//                    for (int i = 0; i < fss.size(); i++) {
-//
-//                        List<Double> ds = new ArrayList<Double>();
-//
-//                        double f = fss.get(i).getPointValueInDouble();
-//                        ds.add(Double.valueOf(dcmFmt.format(f)));
-//                        f = gls.get(i).getPointValueInDouble();
-//                        ds.add(Double.valueOf(dcmFmt.format(f)));
-//                        vos.add(ds);
-//                    }
-//                }
-//
-//                // cal.add(Calendar.MONTH,1);
-//                StringBuilder sb=new StringBuilder();
-//                sb.append("scatter_").append(wpId).append("_").append(j+1);
-//                globalCache.set(String.valueOf(sb), JSON.toJSONString(vos));
-//                System.out.println(String.valueOf(sb.append("完成")));
-//            }
-//        }
-//
-//
-//
-//    }
-//
-//
-//
-//    public  void intialLnScatter() throws Exception {
-//
-//
-//
-//        WindPowerstationTestingPoint2Service windPowerstationTestingPoint2Service= SpringUtils.getBean("windPowerstationTestingPoint2Service");
-//        WindTurbineTestingPointAiService windTurbineTestingPointAiService= SpringUtils.getBean("windTurbineTestingPointAiService");
-//        IGlobalCache globalCache= SpringUtils.getBean("globalCache");
-//
-//
-//        Calendar cal = Calendar.getInstance();
-//        cal.set(Calendar.HOUR_OF_DAY, 0);
-//        cal.set(Calendar.MINUTE, 0);
-//        cal.set(Calendar.SECOND, 0);
-//
-//        int month=cal.get(Calendar.MONTH)+1;
-//
-//
-//        cal.set(Calendar.MONTH, 0);
-//
-//        for(int j=0;j<month;j++)
-//        {
-//            List<List<Double>> vos = new ArrayList<List<Double>>();
-//            cal.set(Calendar.DAY_OF_MONTH, cal.getActualMinimum(Calendar.DAY_OF_MONTH));
-//            Date beginDate = cal.getTime();
-//            Date endDate =null;
-//            if(month-1==cal.get(Calendar.MONTH))
-//            {
-//                cal = Calendar.getInstance();
-//                //cal.set(Calendar.DAY_OF_MONTH, cal.getActualMaximum(Calendar.DAY_OF_MONTH));
-//                endDate = cal.getTime();
-//            }else
-//            {
-//                cal.add(Calendar.MONTH,1);;
-//                endDate = cal.getTime();
-//            }
-//
-//
-//            for(Line wp:InitialRunner.linels)
-//            {
-//                String wpId=wp.getId();
-//                Windpowerstationpointnew gl = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, ContantXk.TPOINT_WP_SJGL);
-//                Windpowerstationpointnew fs = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, ContantXk.SSPJFS);
-//
-//                int daynum = DateUtils.daysDiff(beginDate, endDate);
-//                long pried = 600 ;
-//                long count = 6 * 24 * daynum;
-//
-//                DecimalFormat dcmFmt = new DecimalFormat("0.00");
-//                List<PointData> gls = realApiUtil.getHistoryDatasSnap(gl, beginDate.getTime() / 1000, endDate.getTime() / 1000, count, pried);
-//
-//                List<PointData> fss = realApiUtil.getHistoryDatasSnap(fs, beginDate.getTime() / 1000, endDate.getTime() / 1000, count, pried);
-//
-//
-//                if (!gls.isEmpty() && !fss.isEmpty()) {
-//                    for (int i = 0; i < fss.size(); i++) {
-//
-//                        List<Double> ds = new ArrayList<Double>();
-//
-//                        double f = fss.get(i).getPointValueInDouble();
-//                        ds.add(Double.valueOf(dcmFmt.format(f)));
-//                        f = gls.get(i).getPointValueInDouble();
-//                        ds.add(Double.valueOf(dcmFmt.format(f)));
-//                        vos.add(ds);
-//                    }
-//                }
-//
-//                // cal.add(Calendar.MONTH,1);
-//                StringBuilder sb=new StringBuilder();
-//                sb.append("scatter_").append(wpId).append("_").append(j+1);
-//                globalCache.set(String.valueOf(sb), JSON.toJSONString(vos));
-//                System.out.println(String.valueOf(sb.append("完成")));
-//            }
-//        }
-//
-//
-//
-//    }
-//
-//
-//    public  void intialWtScatter() throws Exception {
-//
-//
-//        WindTurbineTestingPointAiService windTurbineTestingPointAiService= SpringUtils.getBean("windTurbineTestingPointAiService");
-//        IGlobalCache globalCache= SpringUtils.getBean("globalCache");
-//
-//
-//        Calendar cal = Calendar.getInstance();
-//        cal.set(Calendar.HOUR_OF_DAY, 0);
-//        cal.set(Calendar.MINUTE, 0);
-//        cal.set(Calendar.SECOND, 0);
-//
-//        int month=cal.get(Calendar.MONTH)+1;
-//
-//
-//        cal.set(Calendar.MONTH, 0);
-//
-//
-//            List<List<Double>> vos = new ArrayList<List<Double>>();
-//            cal.set(Calendar.DAY_OF_MONTH, cal.getActualMinimum(Calendar.DAY_OF_MONTH));
-//            Date beginDate = cal.getTime();
-//            Date endDate =null;
-//            if(month-1==cal.get(Calendar.MONTH))
-//            {
-//                cal = Calendar.getInstance();
-//                //cal.set(Calendar.DAY_OF_MONTH, cal.getActualMaximum(Calendar.DAY_OF_MONTH));
-//                endDate = cal.getTime();
-//            }else
-//            {
-//                cal.add(Calendar.MONTH,1);;
-//                endDate = cal.getTime();
-//            }
-//
-//
-//            for(Windturbine wt:InitialRunner.wtls)
-//            {
-//                String wpId=wt.getId();
-//                Windturbinetestingpointnew gl = windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wpId, ContantXk.CJ_SSGL);
-//                Windturbinetestingpointnew fs = windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wpId, ContantXk.CJ_SSFS);
-//
-//                int daynum = DateUtils.daysDiff(beginDate, endDate);
-//                long pried = 600 ;
-//                long count = 6 * 24 * daynum;
-//
-//                DecimalFormat dcmFmt = new DecimalFormat("0.00");
-//                List<PointData> gls = realApiUtil.getHistoryDatasSnap(gl, beginDate.getTime() / 1000, endDate.getTime() / 1000, count, pried);
-//
-//                List<PointData> fss = realApiUtil.getHistoryDatasSnap(fs, beginDate.getTime() / 1000, endDate.getTime() / 1000, count, pried);
-//
-//
-//                if (!gls.isEmpty() && !fss.isEmpty()) {
-//                    for (int i = 0; i < fss.size(); i++) {
-//
-//                        List<Double> ds = new ArrayList<Double>();
-//
-//                        double f = fss.get(i).getPointValueInDouble();
-//                        ds.add(Double.valueOf(dcmFmt.format(f)));
-//                        f = gls.get(i).getPointValueInDouble();
-//                        ds.add(Double.valueOf(dcmFmt.format(f)));
-//                        vos.add(ds);
-//                    }
-//                }
-//
-//                // cal.add(Calendar.MONTH,1);
-//                StringBuilder sb=new StringBuilder();
-//                sb.append("scatter_").append(wpId).append("_").append(month);
-//                globalCache.set(String.valueOf(sb), JSON.toJSONString(vos));
-//                System.out.println(String.valueOf(sb.append("完成")));
-//            }
-//
-//
-//
-//
-//    }
-//
-//    public static void main(String[]args) throws Exception {
-//
-////        SpringApplication.run(SpringbootStart.class, args);
-////
-////        InitialRedis initialRedis=new InitialRedis();
-////        //初始化风机拟合功率
-////      // initialRedis.intialWindturbinepowercurvefitting();
-////
-////        //初始化场站没有散点图
-////        initialRedis.intialWpScatter();
-//    }
-//}

+ 0 - 586
web/health/src/main/java/com/gyee/frame/common/spring/InitialRunner.java

@@ -1,586 +0,0 @@
-package com.gyee.frame.common.spring;
-
-
-import com.alibaba.fastjson.JSONObject;
-import com.alibaba.fastjson.TypeReference;
-import com.gyee.frame.common.cache.RedisService;
-import com.gyee.frame.model.auto.*;
-import com.gyee.frame.service.auto.*;
-import com.gyee.frame.util.StringUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.boot.CommandLineRunner;
-import org.springframework.stereotype.Component;
-
-import javax.annotation.Resource;
-import java.util.*;
-import java.util.stream.Collectors;
-
-/**
- * @ClassName : CacheContext
- * @Author : xieshengjie
- * @Date: 2021/5/18 9:35
- * @Description : 缓存
- */
-@Component
-public class InitialRunner implements CommandLineRunner {
-    Logger logger = LoggerFactory.getLogger(InitialRunner.class);
-
-    private final String QS = "0";
-
-    @Resource
-    private IProBasicEquipmentService proBasicEquipmentService;
-    @Resource
-    private IProBasicLineService proBasicLineService;
-    @Resource
-    private IProBasicProjectService proBasicProjectService;
-
-    @Resource
-    private IProBasicPowerstationService proBasicWindpowerstationService;
-    @Resource
-    private IProBasicMeterPointService proBasicMeterPointService;
-    @Resource
-    private IProEconEquipmentmodelService proEconEquipmentmodelService;
-
-    @Resource
-    private IProEconWtPowerCurveFittingService proEconWtPowerCurveFittingService;
-    @Resource
-    private RedisService redisService;
-    @Resource
-    private IProBasicModelPowerService proBasicModelPowerService;
-    @Resource
-    private IProBasicSubStationService proBasicSubStationService;
-    @Resource
-    private IProBasicWeatherStationService proBasicWeatherStationService;
-    @Resource
-    private IProBasicSquareService proBasicSquareService;
-    @Resource
-    private IProBasicCompanyService proBasicCompanyService;
-    @Resource
-    private IProBasicRegionService proBasicRegionService;
-    @Resource
-    private IProBasicEnergyGroupService proBasicEnergyGroupService;
-
-
-    @Resource
-    private IProBasicPowerstationPointService proBasicPowerstationPointService;
-
-    public static List<ProBasicEquipment> wtls = new ArrayList<>();
-    public static List<ProBasicProject> pjls = new ArrayList<>();
-    public static List<ProBasicLine> lnls = new ArrayList<>();
-    public static List<ProBasicSubStation> subwpls = new ArrayList<>();
-    public static List<ProBasicWeatherStation> weawpls = new ArrayList<>();
-    public static List<ProBasicSquare> sqls = new ArrayList<>();
-    public static List<ProBasicPowerstation> wpls = new ArrayList<>();
-    public static List<ProBasicPowerstation> wplsf = new ArrayList<>();
-    public static List<ProBasicPowerstation> wplsG = new ArrayList<>(); //光电集合
-    public static List<ProBasicPowerstation> zwpls = new ArrayList<>();
-    public static List<ProBasicCompany> cpls = new ArrayList<>();
-    public static List<ProBasicRegion> rgls = new ArrayList<>();
-    public static List<ProBasicEnergyGroup> gpls = new ArrayList<>();
-    public static List<ProBasicPowerstationPoint> powerpointls = new ArrayList<>();
-    public static List<ProBasicEquipmentPoint> Equipmentpointls = new ArrayList<>();
-    public static Map<String, ProBasicProject> pjmap = new HashMap<>();
-    public static Map<String, ProBasicLine> lnmap = new HashMap<>();
-    public static Map<String, ProBasicRegion> rgmap = new HashMap<>();
-    public static Map<String, ProBasicCompany> cpmap = new HashMap<>();
-    public static Map<String, ProBasicEnergyGroup> gpmap = new HashMap<>();
-
-    public static Map<String, List<ProBasicPowerstation>> cpwpmap = new HashMap<>();
-    public static Map<String, List<ProBasicPowerstation>> wpmapls = new HashMap<>();
-    public static Map<String, List<ProBasicPowerstation>> stationls = new HashMap<>();
-
-    public static Map<String, List<ProBasicCompany>> rgcpmap = new HashMap<>();
-    public static Map<String, ProBasicSquare> sqmap = new HashMap<>();
-    public static Map<String, ProBasicPowerstation> wpmap = new HashMap<>();
-    public static List<ProBasicMeterPoint> meterpoints = new ArrayList<>();
-    public static Map<String, ProBasicMeterPoint> meterpointMap = new HashMap<>();
-    public static Map<String, List<ProBasicProject>> wppromap = new HashMap<>();
-    public static Map<String, List<ProBasicProject>> projmap = new HashMap<>();
-    public static Map<String, List<ProBasicLine>> prolinemap = new HashMap<>();
-    public static Map<String, List<ProBasicEquipment>> wpwtmap = new HashMap<>();
-    public static Map<String, List<ProBasicEquipment>> pjwtmap = new HashMap<>();
-    public static Map<String, List<ProBasicEquipment>> lnwtmap = new HashMap<>();
-    public static Map<String, List<ProBasicEquipment>> cmwtlsmap = new HashMap<>();
-    public static Map<String, List<ProBasicEquipment>> rgwtlsmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicEquipment>> cmwtmap = new HashMap<>();
-    public static Map<String, List<ProBasicEquipment>> sqwtmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap = new HashMap<>();// 风电机测点AI表
-    public static Map<String, Map<String, ProBasicEquipmentPoint>> wtpointmap = new HashMap<>();//风机测点
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> linepointmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> lnPointmap = new HashMap<>();//线路测点
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> propointmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> pjPointmap = new HashMap<>(); //期次测点
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> wppointmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> pointwpmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> subwppointmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> weatherwppointmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> companypointmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> regionpointmap = new HashMap<>();
-    public static Map<String, Map<String, ProBasicPowerstationPoint>> grouppointmap = new HashMap<>();
-
-    public static Map<String, Map<Double, Double>> zbzglMap = new HashMap<>();
-    public static Map<String, ProEconEquipmentmodel> modelMap = new HashMap<>();
-    public static Map<String, Map<Double, Double>> zzsglMap = new HashMap<>();
-    public static Map<String, Double> modelpower = new HashMap<>();
-
-    public static Map<String, String> wtstandardmap = new HashMap<>();
-    public static Map<String, ProBasicEquipment> wtmap = new HashMap<>();
-
-    public static Map<String, Map<Double, ProBasicModelPower>> modelpowermap = new TreeMap<>();
-
-    public static List<ProBasicModelPower> mpls = new ArrayList<>();
-
-    public static List<ProEconEquipmentmodel> equipmentmodels = new ArrayList<>();
-
-    public static Map<String, List<ProBasicEquipment>> subWtsMap = new HashMap<>();
-    public static List<ProBasicModelPowerRd> theoreticalPowerList = new ArrayList<>();
-    public static Map<String, Map<Double, ProBasicModelPowerRd>> theoreticalPowerMap = new HashMap<>(); //理论,保证功率
-    public static Map<String, Map<Double, ProEconWtPowerCurveFitting>> curveFittingPowerMap = new HashMap<>(); //自算,最优功率
-    public static Map<String, List<ProBasicStatusPoint>> statusMap = new HashMap<>();
-
-    public static Map<String, Map<Double, ProEconWtPowerCurveFitting>> wpcmap = new HashMap<String, Map<Double, ProEconWtPowerCurveFitting>>();
-
-    @Override
-    public void run(String... args) throws Exception {
-        logger.info("缓存开始------------------------------------------------------------");
-
-        equipmentmodels = proEconEquipmentmodelService.list();
-        equipmentmodels.stream().forEach(e -> {
-            modelMap.put(e.getId(), e);
-        });
-        mpls = proBasicModelPowerService.list();
-        mpls.sort(Comparator.comparing(ProBasicModelPower::getSpeed));
-        if (!mpls.isEmpty()) {
-
-            for (ProBasicModelPower mp : mpls) {
-                if (modelpowermap.containsKey(mp.getModelId())) {
-                    Map<Double, ProBasicModelPower> tempmap = modelpowermap.get(mp.getModelId());
-                    tempmap.put(mp.getSpeed(), mp);
-
-                } else {
-                    Map<Double, ProBasicModelPower> tempmap = new HashMap<>();
-                    tempmap.put(mp.getSpeed(), mp);
-                    modelpowermap.put(mp.getModelId(), tempmap);
-                }
-            }
-        }
-        sqls = proBasicSquareService.list().stream().filter(i -> i.getIsAble() == 1).collect(Collectors.toList());
-        if (!sqls.isEmpty()) {
-            for (ProBasicSquare sq : sqls) {
-                sqmap.put(sq.getId(), sq);
-            }
-        }
-
-        cpls = proBasicCompanyService.list().stream().filter(i -> i.getIsAble().equals(1)).collect(Collectors.toList());
-        if (!cpls.isEmpty()) {
-            for (ProBasicCompany sq : cpls) {
-                cpmap.put(sq.getId(), sq);
-
-                if (redisService.hasKey(sq.getId() + "0")) {
-                    String cp0String = redisService.get(sq.getId() + "0");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp0String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    companypointmap.put(sq.getId() + "0", stringWindpowerstationpointnewMap);
-                }
-                if (redisService.hasKey(sq.getId() + "-1")) {
-                    String cp1String = redisService.get(sq.getId() + "-1");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp1String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    companypointmap.put(sq.getId() + "-1", stringWindpowerstationpointnewMap);
-                }
-                if (redisService.hasKey(sq.getId() + "-2")) {
-                    String cp2String = redisService.get(sq.getId() + "-2");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp2String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    companypointmap.put(sq.getId() + "-2", stringWindpowerstationpointnewMap);
-                }
-
-
-            }
-
-        }
-
-
-        rgls = proBasicRegionService.list().stream().filter(i -> i.getIsAble() == 1).collect(Collectors.toList());
-
-
-        if (!rgls.isEmpty()) {
-            for (ProBasicRegion sq : rgls) {
-                rgmap.put(sq.getId(), sq);
-
-                if (redisService.hasKey(sq.getId() + "0")) {
-                    String cp0String = redisService.get(sq.getId() + "0");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp0String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    regionpointmap.put(sq.getId() + "0", stringWindpowerstationpointnewMap);
-                }
-                if (redisService.hasKey(sq.getId() + "-1")) {
-                    String cp1String = redisService.get(sq.getId() + "-1");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp1String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    regionpointmap.put(sq.getId() + "-1", stringWindpowerstationpointnewMap);
-                }
-                if (redisService.hasKey(sq.getId() + "-2")) {
-                    String cp2String = redisService.get(sq.getId() + "-2");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp2String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    regionpointmap.put(sq.getId() + "-2", stringWindpowerstationpointnewMap);
-                }
-            }
-        }
-
-        List<ProBasicEnergyGroup> energyGroups = proBasicEnergyGroupService.list();
-        gpls = energyGroups.stream().filter(e -> e.getIsAble() == 1 && e.getId().endsWith("FGS")).collect(Collectors.toList());
-
-        if (!gpls.isEmpty()) {
-            for (ProBasicEnergyGroup gp : gpls) {
-                gpmap.put(gp.getId(), gp);
-
-                if (redisService.hasKey(gp.getId() + "0")) {
-                    String cp0String = redisService.get(gp.getId() + "0");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp0String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    grouppointmap.put(gp.getId() + "0", stringWindpowerstationpointnewMap);
-                }
-                if (redisService.hasKey(gp.getId() + "-1")) {
-                    String cp1String = redisService.get(gp.getId() + "-1");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp1String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    grouppointmap.put(gp.getId() + "-1", stringWindpowerstationpointnewMap);
-                }
-                if (redisService.hasKey(gp.getId() + "-2")) {
-                    String cp2String = redisService.get(gp.getId() + "-2");
-                    Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(cp2String, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-                    });
-                    grouppointmap.put(gp.getId() + "-2", stringWindpowerstationpointnewMap);
-                }
-            }
-        }
-
-
-        for (ProBasicCompany cp : cpls) {
-            if (rgcpmap.containsKey(cp.getRegionId())) {
-                rgcpmap.get(cp.getRegionId()).add(cp);
-            } else {
-                List<ProBasicCompany> wps = new ArrayList<>();
-                wps.add(cp);
-                rgcpmap.put(cp.getRegionId(), wps);
-            }
-        }
-
-        for (ProBasicPowerstation wp : wpls) {
-            if (cpwpmap.containsKey(wp.getCompanyId())) {
-                cpwpmap.get(wp.getCompanyId()).add(wp);
-            } else {
-                List<ProBasicPowerstation> wps = new ArrayList<>();
-                wps.add(wp);
-                cpwpmap.put(wp.getCompanyId(), wps);
-            }
-        }
-
-
-        wtls = proBasicEquipmentService.list().stream().filter(i -> i.getIsable() == 1).collect(Collectors.toList());
-        logger.info(wtls.size() + "");
-        wtls.forEach(wt -> {
-            if (modelMap.containsKey(wt.getModelId())) {
-                ProEconEquipmentmodel equipmentmodel = modelMap.get(wt.getModelId());
-                modelpower.put(wt.getId(), equipmentmodel.getPowerProduction().doubleValue());
-            }
-
-
-            wtmap.put(wt.getId(), wt);
-            //标杆风机初始化
-            wtstandardmap.put(wt.getId(), wt.getId());
-            String wtString = redisService.get(wt.getId());
-            Map<String, ProBasicEquipmentPoint> stringWindturbinetestingpointnewMap = JSONObject.parseObject(wtString, new TypeReference<Map<String, ProBasicEquipmentPoint>>() {
-            });
-            wtpAimap.put(wt.getId(), stringWindturbinetestingpointnewMap);
-
-
-            if (wpwtmap.containsKey(wt.getWindpowerstationId())) {
-                wpwtmap.get(wt.getWindpowerstationId()).add(wt);
-            } else {
-                List<ProBasicEquipment> wps = new ArrayList<>();
-                wps.add(wt);
-                wpwtmap.put(wt.getWindpowerstationId(), wps);
-            }
-
-            if (pjwtmap.containsKey(wt.getProjectId())) {
-                pjwtmap.get(wt.getProjectId()).add(wt);
-            } else {
-                List<ProBasicEquipment> pjs = new ArrayList<>();
-                pjs.add(wt);
-                pjwtmap.put(wt.getProjectId(), pjs);
-            }
-            if (lnwtmap.containsKey(wt.getLineId())) {
-                lnwtmap.get(wt.getLineId()).add(wt);
-            } else {
-                List<ProBasicEquipment> lnls = new ArrayList<>();
-                lnls.add(wt);
-                lnwtmap.put(wt.getLineId(), lnls);
-            }
-            if (cmwtlsmap.containsKey(wt.getCompanyId())) {
-                cmwtlsmap.get(wt.getCompanyId()).add(wt);
-            } else {
-                List<ProBasicEquipment> cmls = new ArrayList<>();
-                cmls.add(wt);
-                cmwtlsmap.put(wt.getCompanyId(), cmls);
-            }
-            if (rgwtlsmap.containsKey(wt.getRegionId())) {
-                rgwtlsmap.get(wt.getRegionId()).add(wt);
-            } else {
-                List<ProBasicEquipment> rgls = new ArrayList<>();
-                rgls.add(wt);
-                rgwtlsmap.put(wt.getRegionId(), rgls);
-            }
-
-            if (sqwtmap.containsKey(wt.getSquareId())) {
-                sqwtmap.get(wt.getSquareId()).add(wt);
-            } else {
-                List<ProBasicEquipment> lnls = new ArrayList<>();
-                lnls.add(wt);
-                sqwtmap.put(wt.getSquareId(), lnls);
-            }
-
-            if (cmwtmap.containsKey(wt.getCompanyId())) {
-                cmwtmap.get(wt.getCompanyId()).put(wt.getId(), wt);
-            } else {
-                Map<String, ProBasicEquipment> map = new HashMap<>();
-                map.put(wt.getId(), wt);
-                cmwtmap.put(wt.getCompanyId(), map);
-            }
-        });
-
-        //初始化标杆风机
-        for (ProBasicEquipment wt : wtls) {
-            if (wpwtmap.containsKey(wt.getLineId())) {
-                List<ProBasicEquipment> wts = wpwtmap.get(wt.getLineId());
-                for (ProBasicEquipment w : wts) {
-                    if (StringUtils.notEmp(w.getIsStandard()) && w.getIsStandard() != 0) {
-                        wtstandardmap.put(wt.getId(), w.getId());
-                        break;
-                    }
-                }
-            }
-            if (pjwtmap.containsKey(wt.getLineId())) {
-                List<ProBasicEquipment> wts = pjwtmap.get(wt.getLineId());
-                for (ProBasicEquipment w : wts) {
-                    if (StringUtils.notEmp(w.getIsStandard()) && w.getIsStandard() != 0) {
-                        wtstandardmap.put(wt.getId(), w.getId());
-                        break;
-                    }
-                }
-            }
-            if (lnwtmap.containsKey(wt.getLineId())) {
-                List<ProBasicEquipment> wts = lnwtmap.get(wt.getLineId());
-                for (ProBasicEquipment w : wts) {
-                    if (StringUtils.notEmp(w.getIsStandard()) && w.getIsStandard() != 0) {
-                        wtstandardmap.put(wt.getId(), w.getId());
-                        break;
-                    }
-                }
-            }
-        }
-
-
-        pjls = proBasicProjectService.list().stream().filter(i -> i.getIsAble() == 1).collect(Collectors.toList());
-        pjls.stream().forEach(p -> {
-            pjmap.put(p.getId(), p);
-            if (wppromap.containsKey(p.getWindpowerstationId())) {
-                wppromap.get(p.getWindpowerstationId()).add(p);
-            } else {
-                List<ProBasicProject> prolist = new ArrayList<>();
-                prolist.add(p);
-                wppromap.put(p.getWindpowerstationId(), prolist);
-            }
-            String pjString = redisService.get(p.getId());
-            Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(pjString, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-            });
-            propointmap.put(p.getId(), stringWindpowerstationpointnewMap);
-
-        });
-        projmap = pjls.stream().collect(Collectors.groupingBy(ProBasicProject::getWindpowerstationId));
-
-        subwpls = proBasicSubStationService.list().stream().filter(i -> i.getIsAble() == 1).collect(Collectors.toList());
-        subwpls.stream().forEach(sub -> {
-
-            String subString = redisService.get(sub.getId());
-            Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(subString, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-            });
-            subwppointmap.put(sub.getId(), stringWindpowerstationpointnewMap);
-
-//            List<ProBasicEquipment> collect = wtls.stream().filter(wt -> wt.getSubstationId().equals(sub.getId())).collect(Collectors.toList());
-//            subWtsMap.put(sub.getId(),collect);
-
-        });
-
-        weawpls = proBasicWeatherStationService.list().stream().filter(i -> i.getIsAble() == 1).collect(Collectors.toList());
-        weawpls.stream().forEach(weather -> {
-
-            String subString = redisService.get(weather.getId());
-            Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(subString, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-            });
-            weatherwppointmap.put(weather.getId(), stringWindpowerstationpointnewMap);
-
-
-        });
-        //线路
-        lnls = proBasicLineService.list().stream().filter(i -> StringUtils.isNotNull(pjmap.get(i.getProjectId())) && i.getIsAble() == 1).collect(Collectors.toList());
-        lnls.stream().forEach(l -> {
-            lnmap.put(l.getId(), l);
-            if (prolinemap.containsKey(l.getProjectId())) {
-                prolinemap.get(l.getProjectId()).add(l);
-            } else {
-                List<ProBasicLine> lineList = new ArrayList<>();
-                lineList.add(l);
-                prolinemap.put(l.getProjectId(), lineList);
-            }
-            String lnString = redisService.get(l.getId());
-            Map<String, ProBasicPowerstationPoint> stringWindpowerstationpointnewMap = JSONObject.parseObject(lnString, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-            });
-            linepointmap.put(l.getId(), stringWindpowerstationpointnewMap);
-        });
-
-
-        zwpls = proBasicWindpowerstationService.list().stream().filter(i -> i.getIsAble() == 1).collect(Collectors.toList());
-        ;
-        wpls = proBasicWindpowerstationService.list().stream().filter(i -> i.getIsAble() == 1).collect(Collectors.toList());
-        ;
-        for (ProBasicPowerstation wp : wpls) {
-            if (cpwpmap.containsKey(wp.getCompanyId())) {
-                cpwpmap.get(wp.getCompanyId()).add(wp);
-            } else {
-                List<ProBasicPowerstation> wps = new ArrayList<>();
-                wps.add(wp);
-                cpwpmap.put(wp.getCompanyId(), wps);
-            }
-        }
-        meterpoints = proBasicMeterPointService.list().stream().filter(i -> i.getIsAble() == 1).collect(Collectors.toList());
-        meterpoints.stream().forEach(meterpoint -> {
-            meterpointMap.put(meterpoint.getId(), meterpoint);
-        });
-
-
-        wpls.stream().forEach(wp -> {
-
-            wpmap.put(wp.getId(), wp);
-            String wpString = redisService.get(wp.getId());
-            Map<String, ProBasicPowerstationPoint> stringMapMap = JSONObject.parseObject(wpString, new TypeReference<Map<String, ProBasicPowerstationPoint>>() {
-            });
-            wppointmap.put(wp.getId(), stringMapMap);
-        });
-
-        if (!wpls.isEmpty()) {
-            for (ProBasicPowerstation wp : wpls) {
-                if (wp.getId().endsWith("FDC_STA")) {
-                    wplsf.add(wp);
-                }
-                if (wp.getId().endsWith("GDC_STA")) {
-                    wplsG.add(wp);
-                }
-
-                if (wpmapls.containsKey(wp.getId())) {
-                    List<ProBasicPowerstation> ls = wpmapls.get(wp.getId());
-                    ls.add(wp);
-                    wpmapls.put(wp.getId(), ls);
-                } else {
-                    List<ProBasicPowerstation> ls = new ArrayList<>();
-                    ls.add(wp);
-                    wpmapls.put(wp.getId(), ls);
-                }
-
-
-//                if(wp.getWindType().equals(-1) && wp.getWindType().equals(-2)){
-//                    List<ProBasicPowerstation> ls = stationls.get(wp.getWindType());
-//                    stationls.put(wp.getWindType()+QS,ls);
-//                }
-
-
-                wpmap.put(wp.getId(), wp);
-            }
-        }
-
-
-        Map<String, ProBasicPowerstationPoint> items = null;
-        powerpointls = proBasicPowerstationPointService.list().stream().filter(i -> i.getId() != null).collect(Collectors.toList());
-        if (powerpointls != null && !powerpointls.isEmpty()) {
-            for (int i = 0; i < powerpointls.size(); i++) {
-
-                if (pjmap.containsKey(powerpointls.get(i).getWindpowerstationId())) {
-                    ProBasicPowerstationPoint point = powerpointls.get(i);
-                    if (pjPointmap.containsKey(point.getWindpowerstationId())) {
-                        items = pjPointmap.get(point.getWindpowerstationId());
-                        items.put(point.getUniformCode(), point);
-                    } else {
-                        items = new HashMap<String, ProBasicPowerstationPoint>();
-                        pjPointmap.put(point.getWindpowerstationId(), items);
-                        items.put(point.getUniformCode(), point);
-                    }
-                } else if (lnmap.containsKey(powerpointls.get(i).getWindpowerstationId())) {
-                    ProBasicPowerstationPoint point = powerpointls.get(i);
-                    if (lnPointmap.containsKey(point.getWindpowerstationId())) {
-                        items = lnPointmap.get(point.getWindpowerstationId());
-                        items.put(point.getUniformCode(), point);
-                    } else {
-                        items = new HashMap<String, ProBasicPowerstationPoint>();
-                        lnPointmap.put(point.getWindpowerstationId(), items);
-                        items.put(point.getUniformCode(), point);
-                    }
-                } else {
-                    ProBasicPowerstationPoint point = powerpointls.get(i);
-                    if (pointwpmap.containsKey(point.getWindpowerstationId())) {
-                        items = pointwpmap.get(point.getWindpowerstationId());
-                        items.put(point.getUniformCode(), point);
-                    } else {
-                        items = new HashMap<String, ProBasicPowerstationPoint>();
-                        pointwpmap.put(point.getWindpowerstationId(), items);
-                        items.put(point.getUniformCode(), point);
-                    }
-                }
-            }
-        }
-
-
-        String llglString = redisService.get("ZLLGL");
-        theoreticalPowerMap = JSONObject.parseObject(llglString, new TypeReference<Map<String, Map<Double, ProBasicModelPowerRd>>>() {
-        });
-
-        llglString = redisService.get("ZLLGLLS");
-        theoreticalPowerList = JSONObject.parseObject(llglString, new TypeReference<List<ProBasicModelPowerRd>>() {
-        });
-
-        String sszzt = redisService.get("SSZZT");
-        statusMap = JSONObject.parseObject(sszzt, new TypeReference<Map<String, List<ProBasicStatusPoint>>>() {
-        });
-
-
-        List<ProEconWtPowerCurveFitting> wpclist = proEconWtPowerCurveFittingService.list();
-
-
-        if (!wpclist.isEmpty()) {
-            for (ProEconWtPowerCurveFitting wc : wpclist) {
-
-                if (curveFittingPowerMap.containsKey(wc.getWindturbineId())) {
-                    curveFittingPowerMap.get(wc.getWindturbineId()).put(wc.getSpeed(), wc);
-                } else {
-                    Map<Double, ProEconWtPowerCurveFitting> powerMap = new HashMap<>();
-                    powerMap.put(wc.getSpeed(), wc);
-                    curveFittingPowerMap.put(wc.getWindturbineId(), powerMap);
-                }
-
-                if (wpcmap.containsKey(wc.getWindturbineId())) {
-                    Map<Double, ProEconWtPowerCurveFitting> map = wpcmap.get(wc.getWindturbineId());
-                    map.put(wc.getSpeed(), wc);
-                } else {
-                    Map<Double, ProEconWtPowerCurveFitting> map = new HashMap<Double, ProEconWtPowerCurveFitting>();
-                    map.put(wc.getSpeed(), wc);
-                    wpcmap.put(wc.getWindturbineId(), map);
-                }
-            }
-        }
-
-
-        logger.info("缓存结束------------------------------------------------------------");
-    }
-}

+ 0 - 116
web/health/src/main/java/com/gyee/frame/common/spring/SpringUtils.java

@@ -1,116 +0,0 @@
-package com.gyee.frame.common.spring;
-
-import org.springframework.aop.framework.AopContext;
-import org.springframework.beans.BeansException;
-import org.springframework.beans.factory.NoSuchBeanDefinitionException;
-import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
-import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
-import org.springframework.stereotype.Component;
-
-/**
-* spring工具类 方便在非spring管理环境中获取bean
-* @ClassName: SpringUtils
-* @author gyee
-* @date 2019-09-11 11:28
-*
- */
-@Component
-public final class SpringUtils implements BeanFactoryPostProcessor
-{
-    /** Spring应用上下文环境 */
-    private static ConfigurableListableBeanFactory beanFactory;
-
-    @Override
-    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
-    {
-        SpringUtils.beanFactory = beanFactory;
-    }
-
-    /**
-     * 获取对象
-     *
-     * @param name
-     * @return Object 一个以所给名字注册的bean的实例
-     * @throws org.springframework.beans.BeansException
-     *
-     */
-    @SuppressWarnings("unchecked")
-    public static <T> T getBean(String name) throws BeansException
-    {
-        return (T) beanFactory.getBean(name);
-    }
-
-    /**
-     * 获取类型为requiredType的对象
-     *
-     * @param clz
-     * @return
-     * @throws org.springframework.beans.BeansException
-     *
-     */
-    public static <T> T getBean(Class<T> clz) throws BeansException
-    {
-        T result = (T) beanFactory.getBean(clz);
-        return result;
-    }
-
-    /**
-     * 如果BeanFactory包含一个与所给名称匹配的bean定义,则返回true
-     *
-     * @param name
-     * @return boolean
-     */
-    public static boolean containsBean(String name)
-    {
-        return beanFactory.containsBean(name);
-    }
-
-    /**
-     * 判断以给定名字注册的bean定义是一个singleton还是一个prototype。 如果与给定名字相应的bean定义没有被找到,将会抛出一个异常(NoSuchBeanDefinitionException)
-     *
-     * @param name
-     * @return boolean
-     * @throws org.springframework.beans.factory.NoSuchBeanDefinitionException
-     *
-     */
-    public static boolean isSingleton(String name) throws NoSuchBeanDefinitionException
-    {
-        return beanFactory.isSingleton(name);
-    }
-
-    /**
-     * @param name
-     * @return Class 注册对象的类型
-     * @throws org.springframework.beans.factory.NoSuchBeanDefinitionException
-     *
-     */
-    public static Class<?> getType(String name) throws NoSuchBeanDefinitionException
-    {
-        return beanFactory.getType(name);
-    }
-
-    /**
-     * 如果给定的bean名字在bean定义中有别名,则返回这些别名
-     *
-     * @param name
-     * @return
-     * @throws org.springframework.beans.factory.NoSuchBeanDefinitionException
-     *
-     */
-    public static String[] getAliases(String name) throws NoSuchBeanDefinitionException
-    {
-        return beanFactory.getAliases(name);
-    }
-
-    /**
-     * 获取aop代理对象
-     * 
-     * @param invoker
-     * @return
-     */
-    @SuppressWarnings("unchecked")
-    public static <T> T getAopProxy(T invoker)
-    {
-        return (T) AopContext.currentProxy();
-    }
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/common/spring/WpEnum.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.common.spring;
-
-public  enum  WpEnum {
-
-    MHS_FDC("MHS_FDC"),
-    NSS_FDC("NSS_FDC"),
-    QS_FDC("QS_FDC"),
-    SBQ_FDC("SBQ_FDC"),
-    XS_FDC("XS_FDC"),
-    DWK_GDC("DWK_GDC"),
-    PL_GDC("PL_GDC"),
-    XH_GDC("XH_GDC"),
-    MCH_GDC("MCH_GDC"),
-    HZJ_GDC("HZJ_GDC");
-
-    public String id;
-    WpEnum(final  String c) {
-        id = c;
-    }
-}

+ 0 - 89
web/health/src/main/java/com/gyee/frame/common/support/CharsetKit.java

@@ -1,89 +0,0 @@
-package com.gyee.frame.common.support;
-
-import com.gyee.frame.util.StringUtils;
-
-import java.nio.charset.Charset;
-import java.nio.charset.StandardCharsets;
-
-/**
- * 字符集工具类
- * 
- * @author fc
- *
- */
-public class CharsetKit
-{
-    /** ISO-8859-1 */
-    public static final String ISO_8859_1 = "ISO-8859-1";
-    /** UTF-8 */
-    public static final String UTF_8 = "UTF-8";
-    /** GBK */
-    public static final String GBK = "GBK";
-
-    /** ISO-8859-1 */
-    public static final Charset CHARSET_ISO_8859_1 = Charset.forName(ISO_8859_1);
-    /** UTF-8 */
-    public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8);
-    /** GBK */
-    public static final Charset CHARSET_GBK = Charset.forName(GBK);
-
-    /**
-     * 转换为Charset对象
-     * 
-     * @param charset 字符集,为空则返回默认字符集
-     * @return Charset
-     */
-    public static Charset charset(String charset)
-    {
-        return StringUtils.isEmpty(charset) ? Charset.defaultCharset() : Charset.forName(charset);
-    }
-
-    /**
-     * 转换字符串的字符集编码
-     * 
-     * @param source 字符串
-     * @param srcCharset 源字符集,默认ISO-8859-1
-     * @param destCharset 目标字符集,默认UTF-8
-     * @return 转换后的字符集
-     */
-    public static String convert(String source, String srcCharset, String destCharset)
-    {
-        return convert(source, Charset.forName(srcCharset), Charset.forName(destCharset));
-    }
-
-    /**
-     * 转换字符串的字符集编码
-     * 
-     * @param source 字符串
-     * @param srcCharset 源字符集,默认ISO-8859-1
-     * @param destCharset 目标字符集,默认UTF-8
-     * @return 转换后的字符集
-     */
-    public static String convert(String source, Charset srcCharset, Charset destCharset)
-    {
-        if (null == srcCharset)
-        {
-            srcCharset = StandardCharsets.ISO_8859_1;
-        }
-
-        if (null == destCharset)
-        {
-            srcCharset = StandardCharsets.UTF_8;
-        }
-
-        if (StringUtils.isEmpty(source) || srcCharset.equals(destCharset))
-        {
-            return source;
-        }
-        return new String(source.getBytes(srcCharset), destCharset);
-    }
-
-    /**
-     * @return 系统字符集编码
-     */
-    public static String systemCharset()
-    {
-        return Charset.defaultCharset().name();
-    }
-
-}

文件差异内容过多而无法显示
+ 0 - 1057
web/health/src/main/java/com/gyee/frame/common/support/Convert.java


+ 0 - 240
web/health/src/main/java/com/gyee/frame/common/support/ConvertUtil.java

@@ -1,240 +0,0 @@
-package com.gyee.frame.common.support;
-
-import java.math.BigDecimal;
-import java.util.Arrays;
-import java.util.List;
-import com.gyee.frame.util.StringUtils;
-
-import cn.hutool.core.util.StrUtil;
-
-/**
- * 类型转换器
- * 
- * @author fc
- * 
- */
-public class ConvertUtil {
-
-	/**
-	 * 转换为字符串<br>
-	 * 如果给定的值为null,或者转换失败,返回默认值<br>
-	 * 转换失败不会报错
-	 * 
-	 * @param value 被转换的值
-	 * @param defaultValue 转换错误时的默认值
-	 * @return 结果
-	 */
-	public static String toStr(Object value, String defaultValue) {
-		if (null == value) {
-			return defaultValue;
-		}
-		if (value instanceof String) {
-			return (String) value;
-		}
-		return value.toString();
-	}
-
-	/**
-	 * 转换为Integer数组<br>
-	 * @param split 被转换的值
-	 * @return 结果
-	 */
-	public static Integer[] toIntArray(String str) {
-		return toIntArray(",", str);
-	}
-
-	/**
-	 * 转换为Integer数组<br>
-	 * @param split 分隔符
-	 * @param split 被转换的值
-	 * @return 结果
-	 */
-	public static Integer[] toIntArray(String split, String str) {
-		if (StrUtil.isEmpty(str)) {
-			return new Integer[] {};
-		}
-		String[] strings = str.split(split);
-		final Integer[] ints = new Integer[strings.length];
-		for (int i = 0; i < strings.length; i++) {
-			final Integer v = toInt(strings[i], 0);
-			ints[i] = v;
-		}
-		return ints;
-	}
-
-	/**
-	 * 转换为int<br>
-	 * 如果给定的值为空,或者转换失败,返回默认值<br>
-	 * 转换失败不会报错
-	 * @param value 被转换的值
-	 * @param defaultValue 转换错误时的默认值
-	 * @return 结果
-	 */
-	public static Integer toInt(Object value, Integer defaultValue) {
-		if (value == null) {
-			return defaultValue;
-		}
-		if (value instanceof Integer) {
-			return (Integer) value;
-		}
-		if (value instanceof Number) {
-			return ((Number) value).intValue();
-		}
-		final String valueStr = toStr(value, null);
-		if (StringUtils.isEmpty(valueStr)) {
-			return defaultValue;
-		}
-		try {
-			return Integer.parseInt(valueStr.trim());
-		} catch (Exception e) {
-			return defaultValue;
-		}
-	}
-
-	/**
-	 * 转换为List<String>数组<br>
-	 * @param split 被转换的值
-	 * @return 结果
-	 */
-	public static List<String> toListStrArray(String str) {
-		String[] stringArray = toStrArray(str);
-		List<String> stringB = Arrays.asList(stringArray);
-		return stringB;
-	}
-
-	/**
-	 * 转换为String数组<br> 
-	 * @param split 被转换的值
-	 * @return 结果
-	 */
-	public static String[] toStrArray(String str) {
-		return toStrArray(",", str);
-	}
-
-	/**
-	 * 转换为String数组<br>
-	 * 
-	 * @param split 分隔符
-	 * @param split 被转换的值
-	 * @return 结果
-	 */
-	public static String[] toStrArray(String split, String str) {
-		return str.split(split);
-	}
-	/**
-     * 转换为Long数组<br>
-     * 
-     * @param split 被转换的值
-     * @return 结果
-     */
-    public static Long[] toLongArray(String str)
-    {
-        return toLongArray(",", str);
-    }
-    /**
-     * 转换为Long数组<br>
-     * 
-     * @param isIgnoreConvertError 是否忽略转换错误,忽略则给值null
-     * @param values 被转换的值
-     * @return 结果
-     */
-    public static Long[] toLongArray(String split, String str)
-    {
-        if (StringUtils.isEmpty(str))
-        {
-            return new Long[] {};
-        }
-        String[] arr = str.split(split);
-        final Long[] longs = new Long[arr.length];
-        for (int i = 0; i < arr.length; i++)
-        {
-            final Long v = toLong(arr[i], null);
-            longs[i] = v;
-        }
-        return longs;
-    }
-    /**
-     * 转换为long<br>
-     * 如果给定的值为空,或者转换失败,返回默认值<br>
-     * 转换失败不会报错
-     * 
-     * @param value 被转换的值
-     * @param defaultValue 转换错误时的默认值
-     * @return 结果
-     */
-    public static Long toLong(Object value, Long defaultValue)
-    {
-        if (value == null)
-        {
-            return defaultValue;
-        }
-        if (value instanceof Long)
-        {
-            return (Long) value;
-        }
-        if (value instanceof Number)
-        {
-            return ((Number) value).longValue();
-        }
-        final String valueStr = toStr(value, null);
-        if (StringUtils.isEmpty(valueStr))
-        {
-            return defaultValue;
-        }
-        try
-        {
-            // 支持科学计数法
-            return new BigDecimal(valueStr.trim()).longValue();
-        }
-        catch (Exception e)
-        {
-            return defaultValue;
-        }
-    }
-    
-    /**
-     * 转换为BigDecimal<br>
-     * 如果给定的值为空,或者转换失败,返回默认值<br>
-     * 转换失败不会报错
-     * 
-     * @param value 被转换的值
-     * @param defaultValue 转换错误时的默认值
-     * @return 结果
-     */
-    public static BigDecimal toBigDecimal(Object value, BigDecimal defaultValue)
-    {
-        if (value == null)
-        {
-            return defaultValue;
-        }
-        if (value instanceof BigDecimal)
-        {
-            return (BigDecimal) value;
-        }
-        if (value instanceof Long)
-        {
-            return new BigDecimal((Long) value);
-        }
-        if (value instanceof Double)
-        {
-            return new BigDecimal((Double) value);
-        }
-        if (value instanceof Integer)
-        {
-            return new BigDecimal((Integer) value);
-        }
-        final String valueStr = toStr(value, null);
-        if (StringUtils.isEmpty(valueStr))
-        {
-            return defaultValue;
-        }
-        try
-        {
-            return new BigDecimal(valueStr);
-        }
-        catch (Exception e)
-        {
-            return defaultValue;
-        }
-    }
-}

+ 0 - 77
web/health/src/main/java/com/gyee/frame/common/support/KaptchaTextCreator.java

@@ -1,77 +0,0 @@
-package com.gyee.frame.common.support;
-
-import java.security.SecureRandom;
-import java.util.Random;
-import com.google.code.kaptcha.text.impl.DefaultTextCreator;
-
-/**
- * 验证码实现类
- * @author cs
- */
-public class KaptchaTextCreator extends DefaultTextCreator
-{
-
-    private static final String[] CNUMBERS = {"0","1","2","3","4","5","6","7","8","9","10"};
-
-    @Override
-    public String getText()
-    {
-        Integer result = 0;
-        Random random = new SecureRandom();
-        int x = random.nextInt(10);
-        int y = random.nextInt(10);
-        StringBuilder suChinese = new StringBuilder();
-        int randomoperands = (int) Math.round(Math.random() * 2);
-        if (randomoperands == 0)
-        {
-            result = x * y;
-            suChinese.append(CNUMBERS[x]);
-            suChinese.append("*");
-            suChinese.append(CNUMBERS[y]);
-        }
-        else if (randomoperands == 1)
-        {
-            if (!(x == 0) && y % x == 0)
-            {
-                result = y / x;
-                suChinese.append(CNUMBERS[y]);
-                suChinese.append("/");
-                suChinese.append(CNUMBERS[x]);
-            }
-            else
-            {
-                result = x + y;
-                suChinese.append(CNUMBERS[x]);
-                suChinese.append("+");
-                suChinese.append(CNUMBERS[y]);
-            }
-        }
-        else if (randomoperands == 2)
-        {
-            if (x >= y)
-            {
-                result = x - y;
-                suChinese.append(CNUMBERS[x]);
-                suChinese.append("-");
-                suChinese.append(CNUMBERS[y]);
-            }
-            else
-            {
-                result = y - x;
-                suChinese.append(CNUMBERS[y]);
-                suChinese.append("-");
-                suChinese.append(CNUMBERS[x]);
-            }
-        }
-        else
-        {
-            result = x + y;
-            suChinese.append(CNUMBERS[x]);
-            suChinese.append("+");
-            suChinese.append(CNUMBERS[y]);
-        }
-        suChinese.append("=?@" + result);
-        return suChinese.toString();
-    }
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/HealthReportMainController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 健康报告主表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-05-07
- */
-@RestController
-@RequestMapping("//health-report-main")
-public class HealthReportMainController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/HealthReportTargetController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 健康报告指标 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-05-07
- */
-@RestController
-@RequestMapping("//health-report-target")
-public class HealthReportTargetController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconEarlyWarningMainController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 预警统计主表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-early-warning-main")
-public class ProEconEarlyWarningMainController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconEarlyWarningSubController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 预警统计子表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-early-warning-sub")
-public class ProEconEarlyWarningSubController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconFailureStatisticMainController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 故障统计主表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-failure-statistic-main")
-public class ProEconFailureStatisticMainController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconFailureStatisticsSubController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 故障统计子表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-failure-statistics-sub")
-public class ProEconFailureStatisticsSubController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconHealthSystemController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 健康模型主表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-health-system")
-public class ProEconHealthSystemController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconHealthSystemSubController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 健康模型子表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-health-system-sub")
-public class ProEconHealthSystemSubController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconPartPowerstatticMainController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 部件功率健康统计主表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-part-powerstattic-main")
-public class ProEconPartPowerstatticMainController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconPartStatisticsMainController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 部件健康统计主表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-part-statistics-main")
-public class ProEconPartStatisticsMainController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconPartStatisticsSubController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 部件健康统计子表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-part-statistics-sub")
-public class ProEconPartStatisticsSubController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconPartTemperatureMainController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 部件温度统计 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-part-temperature-main")
-public class ProEconPartTemperatureMainController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconPartTemperatureSubController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 部件温度统计子表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-part-temperature-sub")
-public class ProEconPartTemperatureSubController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconPartWarnCountController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 部件报警主表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-27
- */
-@RestController
-@RequestMapping("//pro-econ-part-warn-count")
-public class ProEconPartWarnCountController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconPartWarnCountSubController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 部件报警子表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-27
- */
-@RestController
-@RequestMapping("//pro-econ-part-warn-count-sub")
-public class ProEconPartWarnCountSubController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconPartpowerStatticsSubController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 部件功率健康统计子表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-partpower-stattics-sub")
-public class ProEconPartpowerStatticsSubController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconRecommenMainController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 健康追踪主表 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-recommen-main")
-public class ProEconRecommenMainController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconStateJudgmentDayController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 健康状态日记录 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-state-judgment-day")
-public class ProEconStateJudgmentDayController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconStateJudgmentRealController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 健康状态实时记录 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-24
- */
-@RestController
-@RequestMapping("//pro-econ-state-judgment-real")
-public class ProEconStateJudgmentRealController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconWeatherFdController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 气象预测-日 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-23
- */
-@RestController
-@RequestMapping("//pro-econ-weather-fd")
-public class ProEconWeatherFdController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconWeatherFhController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 气象预测-小时 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-23
- */
-@RestController
-@RequestMapping("//pro-econ-weather-fh")
-public class ProEconWeatherFhController {
-
-}

+ 0 - 20
web/health/src/main/java/com/gyee/frame/controller/ProEconWindturbineWarnCountController.java

@@ -1,20 +0,0 @@
-package com.gyee.frame.controller;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * <p>
- * 风机部件报警统计 前端控制器
- * </p>
- *
- * @author shilin
- * @since 2023-04-27
- */
-@RestController
-@RequestMapping("//pro-econ-windturbine-warn-count")
-public class ProEconWindturbineWarnCountController {
-
-}

+ 0 - 121
web/health/src/main/java/com/gyee/frame/controller/health/HealthMainController.java

@@ -1,121 +0,0 @@
-package com.gyee.frame.controller.health;
-
-import com.gyee.frame.common.conf.AjaxStatus;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.service.health.HealthMainService;
-import com.gyee.frame.util.StringUtils;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiImplicitParam;
-import io.swagger.annotations.ApiImplicitParams;
-import io.swagger.annotations.ApiOperation;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-import javax.annotation.Resource;
-import java.util.HashMap;
-import java.util.Map;
-
-@Controller
-@RequestMapping("/healthmain")
-@Api(value = "健康管理主页面" ,tags =  "健康管理主页面")
-public class HealthMainController {
-
-    @Resource
-    private HealthMainService healthMainService;
-
-
-    @GetMapping("/findAllChart")
-    @ResponseBody
-    @ApiOperation(value = "获得健康状态情况图表", notes = "获得健康状态情况图表")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wpId", value = "风场编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "num", value = "结果数量", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "type", value = "类型", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult findAllChart(String wpId, String num, String type) throws Exception {
-
-
-        Map<String, Object[]>  map = new HashMap<>();
-
-        if(StringUtils.notEmp(wpId) && StringUtils.notEmp(num) && StringUtils.notEmp(type))
-        {
-            map = healthMainService.findAllChart(wpId,Integer.valueOf(num), Integer.valueOf(type));
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-    @GetMapping("/findAllMap")
-    @ResponseBody
-    @ApiOperation(value = "获得全省健康状态基础数据", notes = "获得全省健康状态基础数据")
-    @ApiImplicitParams({
-           })
-    public AjaxResult findAllMap() throws Exception {
-
-
-        Map<String, Object>  map = new HashMap<>();
-
-        map = healthMainService.findAllMap();
-
-        if (null!=map && !map.isEmpty()) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-    @GetMapping("/findWpMap")
-    @ResponseBody
-    @ApiOperation(value = "获得场站健康状态基础数据", notes = "获得场站健康状态基础数据")
-    @ApiImplicitParams({
-    })
-    public AjaxResult findWpMap(String wpId) throws Exception {
-
-
-        Map<String, Object>  map = new HashMap<>();
-
-
-        if(StringUtils.notEmp(wpId))
-        {
-            map = healthMainService.findWpMap(wpId);
-        }
-
-
-        if (null!=map && !map.isEmpty()) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-
-    @GetMapping("/findHealthMatrixMap")
-    @ResponseBody
-    @ApiOperation(value = "获得健康矩阵", notes = "获得健康矩阵")
-    @ApiImplicitParams({
-    })
-    public AjaxResult findHealthMatrixMap() throws Exception {
-
-
-        Map<String, Object>  map = new HashMap<>();
-
-
-        map = healthMainService.findHealthMatrixMap();
-
-
-        if (null!=map && !map.isEmpty()) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-}

+ 0 - 145
web/health/src/main/java/com/gyee/frame/controller/health/HealthOperationController.java

@@ -1,145 +0,0 @@
-package com.gyee.frame.controller.health;
-
-import com.gyee.frame.common.conf.AjaxStatus;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.custom.SimpleVo;
-import com.gyee.frame.service.auto.IProEconShutdownEventService;
-import com.gyee.frame.service.auto.IProEconWarningService;
-import com.gyee.frame.service.health.HealthOperationService;
-import com.gyee.frame.util.StringUtils;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiImplicitParam;
-import io.swagger.annotations.ApiImplicitParams;
-import io.swagger.annotations.ApiOperation;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-@Controller
-@RequestMapping("/healthoperation")
-@Api(value = "健康管理主页面" ,tags =  "健康管理主页面")
-public class HealthOperationController {
-
-    @Resource
-    private HealthOperationService healthOperationService;
-    @Resource
-    private IProEconShutdownEventService proEconShutdownEventService;
-
-    @Resource
-    private IProEconWarningService proEconWarningService;
-
-
-
-    @GetMapping("/countWpwarn")
-    @ResponseBody
-    @ApiOperation(value = "近7天报警事件统计 type 1风场2项目", notes = "近7天报警事件统计 ype 1风场2项目")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "type", value = "类型", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult countWpwarn(String type) throws Exception {
-
-
-        List<SimpleVo> vos = new ArrayList<>();
-
-        if(StringUtils.notEmp(type))
-        {
-            if(type.equals("1"))
-            {
-                vos = proEconWarningService.countWpwarnByWp();
-            }else  if(type.equals("2"))
-            {
-                vos = proEconWarningService.countWpwarnByPj();
-            }
-
-        }
-
-        if (null!=vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-    @GetMapping("/countStop")
-    @ResponseBody
-    @ApiOperation(value = "近7天停机事件统计 type 1风场2项目", notes = "近7天停机事件统计 ype 1风场2项目")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "type", value = "类型", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult countStop(String type) throws Exception {
-
-
-        List<SimpleVo> vos = new ArrayList<>();
-
-        if(StringUtils.notEmp(type))
-        {
-            if(type.equals("1"))
-            {
-                vos = proEconShutdownEventService.countStopByWp();
-            }else  if(type.equals("2"))
-            {
-                vos = proEconShutdownEventService.countStopByPj();
-            }
-
-        }
-
-        if (null!=vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-    @GetMapping("/countWpOrProStatus")
-    @ResponseBody
-    @ApiOperation(value = "健康状态占比图表 type 1风场2项目", notes = "健康状态占比图表 type 1风场2项目")
-    @ApiImplicitParams({
-                @ApiImplicitParam(name = "type", value = "类型", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult countWpOrProStatus(String type) throws Exception {
-
-
-        Map<String, Object>  map = new HashMap<>();
-
-        if(StringUtils.notEmp(type))
-        {
-            map = healthOperationService.countWpOrProStatus(type);
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-    @GetMapping("/findWpOrProStatusForHistory")
-    @ResponseBody
-    @ApiOperation(value = "健康状态曲线图表 type 1风场2项目 status 1良好2注意", notes = "健康状态曲线图表 type 1风场2项目 status 1良好2注意")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "type", value = "类型", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "status", value = "状态", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult findWpOrProStatusForHistory(String type, String status) throws Exception {
-
-
-        Map<String, Object>  map = new HashMap<>();
-
-        if(StringUtils.notEmp(type) && StringUtils.notEmp(status))
-        {
-            map = healthOperationService.findWpOrProStatusForHistory(type,status);
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-}

+ 0 - 220
web/health/src/main/java/com/gyee/frame/controller/health/HealthReportController.java

@@ -1,220 +0,0 @@
-package com.gyee.frame.controller.health;
-
-import com.gyee.frame.common.conf.AjaxStatus;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.ProEconHealthReportMain;
-import com.gyee.frame.model.auto.ProEconHealthReportTarget;
-import com.gyee.frame.model.vo.*;
-import com.gyee.frame.service.health.HealthReportService;
-import com.gyee.frame.util.DateUtils;
-import com.gyee.frame.util.StringUtils;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiImplicitParam;
-import io.swagger.annotations.ApiImplicitParams;
-import io.swagger.annotations.ApiOperation;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-import javax.annotation.Resource;
-import java.util.*;
-
-@Controller
-@RequestMapping("/healthreport")
-@Api(value = "健康管理主页面", tags = "健康管理主页面")
-public class HealthReportController {
-
-    @Resource
-    private HealthReportService healthReportService;
-
-    @GetMapping("/getconHealthReportTargetMap")
-    @ResponseBody
-    @ApiOperation(value = "获得健康报告主表信息", notes = "获得健康报告主表信息")
-    @ApiImplicitParams({
-
-            @ApiImplicitParam(name = "wtId", value = "设备编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "recordDate", value = "日期", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult getEconHealthReportMain(Date recordDate, String wtId) throws Exception {
-
-
-        ProEconHealthReportMain vos = new ProEconHealthReportMain();
-
-        if (StringUtils.notEmp(recordDate) && StringUtils.notEmp(wtId)) {
-            vos = healthReportService.getEconHealthReportMain(DateUtils.parseDate(recordDate), wtId);
-
-        }
-        if (null != vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-    @GetMapping("/getconHealthReportTargetMap")
-    @ResponseBody
-    @ApiOperation(value = "获得健康报告指标列表信息", notes = "获得健康报告指标列表信息")
-    @ApiImplicitParams({
-
-            @ApiImplicitParam(name = "wtId", value = "设备编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "recordDate", value = "日期", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult getconHealthReportTargetMap(Date recordDate, String wtId) throws Exception {
-
-
-        Map<String, List<ProEconHealthReportTarget>> vos = new HashMap<>();
-
-        if (StringUtils.notEmp(recordDate) && StringUtils.notEmp(wtId)) {
-            vos = healthReportService.getconHealthReportTargetMap(DateUtils.parseDate(recordDate), wtId);
-
-        }
-        if (null != vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-
-    @GetMapping("/getStateJudgment")
-    @ResponseBody
-    @ApiOperation(value = "获得推荐检修信息", notes = "获得推荐检修信息")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "设备编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "recordDate", value = "日期", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult getStateJudgment(Date recordDate, String wtId) throws Exception {
-
-
-        StateJudgmentVo vos = new StateJudgmentVo();
-
-        if (StringUtils.notEmp(recordDate) && StringUtils.notEmp(wtId)) {
-            vos = healthReportService.getStateJudgment(DateUtils.parseDate(recordDate), wtId);
-
-        }
-        if (null != vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-    @GetMapping("/getHealthNumVoList")
-    @ResponseBody
-    @ApiOperation(value = "获得健康状态不良数据统计", notes = "获得健康状态不良数据统计")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "设备编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "recordDate", value = "日期", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult getHealthNumVoList(Date recordDate, String wtId) throws Exception {
-
-
-        List<HealthNumVo> vos = new ArrayList<>();
-
-        if (StringUtils.notEmp(recordDate) && StringUtils.notEmp(wtId)) {
-            vos = healthReportService.getHealthNumVoList(DateUtils.parseDate(recordDate), wtId);
-
-        }
-        if (null != vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-
-    @GetMapping("/getEquipmentInfoDayTopVoList")
-    @ResponseBody
-    @ApiOperation(value = "获得等级评估结果", notes = "获得等级评估结果")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "设备编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "recordDate", value = "日期", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult getEquipmentInfoDayTopVoList(Date recordDate, String wtId) throws Exception {
-
-
-        List<EquipmentInfoDayTopVo> vos = new ArrayList<>();
-
-        if (StringUtils.notEmp(recordDate) && StringUtils.notEmp(wtId)) {
-            vos = healthReportService.getEquipmentInfoDayTopVoList(DateUtils.parseDate(recordDate), wtId);
-
-        }
-        if (null != vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-    @GetMapping("/getHealthDataVlueVo")
-    @ResponseBody
-    @ApiOperation(value = "获得部件健康得分曲线", notes = "获得部件健康得分曲线")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "设备编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "recordDate", value = "日期", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "type", value = "类型(clx 齿轮箱,fdj 发电机,bj 变桨,zz 主轴)", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult getHealthDataVlueVo(Date recordDate, String wtId, String type) throws Exception {
-
-
-        List<DataVlueVo> vos = new ArrayList<>();
-
-        if (StringUtils.notEmp(recordDate) && StringUtils.notEmp(wtId)) {
-            vos = healthReportService.getHealthDataVlueVo(DateUtils.parseDate(recordDate), wtId,type);
-
-        }
-        if (null != vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-    @GetMapping("/getAlarmcountVoList")
-    @ResponseBody
-    @ApiOperation(value = "获得报警部件次数统计", notes = "获得报警部件次数统计")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "设备编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "recordDate", value = "日期", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult getAlarmcountVoList(Date recordDate, String wtId) throws Exception {
-
-
-        List<AlarmcountResultVo> vos = new ArrayList<>();
-
-        if (StringUtils.notEmp(recordDate) && StringUtils.notEmp(wtId)) {
-            vos = healthReportService.getAlarmcountVoList(DateUtils.parseDate(recordDate), wtId);
-
-        }
-        if (null != vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-    @GetMapping("/getHealthReportQxpc")
-    @ResponseBody
-    @ApiOperation(value = "获得曲线偏差率列表", notes = "获得曲线偏差率列表")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "设备编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "recordDate", value = "日期", required = true, dataType = "string", paramType = "query")})
-    public AjaxResult getHealthReportQxpc(Date recordDate, String wtId) throws Exception {
-
-
-        List<DataVlueVo> vos = new ArrayList<>();
-
-        if (StringUtils.notEmp(recordDate) && StringUtils.notEmp(wtId)) {
-            vos = healthReportService.getHealthReportQxpc(DateUtils.parseDate(recordDate), wtId);
-
-        }
-        if (null != vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-}

+ 0 - 499
web/health/src/main/java/com/gyee/frame/controller/health/HealthSubController.java

@@ -1,499 +0,0 @@
-package com.gyee.frame.controller.health;
-
-import com.gyee.frame.common.conf.AjaxStatus;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.ProEconShutdownEvent;
-import com.gyee.frame.model.custom.*;
-import com.gyee.frame.service.health.HealthSubService;
-import com.gyee.frame.service.weather.WeatherDay5Service;
-import com.gyee.frame.util.DateUtils;
-import com.gyee.frame.util.StringUtils;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiImplicitParam;
-import io.swagger.annotations.ApiImplicitParams;
-import io.swagger.annotations.ApiOperation;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-import javax.annotation.Resource;
-import java.util.*;
-
-@Controller
-@RequestMapping("/healthsub")
-@Api(value = "健康管理风机页面" ,tags =  "健康管理风机页面")
-public class HealthSubController {
-
-    @Resource
-    private HealthSubService healthSubService;
-
-    @Resource
-    private WeatherDay5Service weatherDay5Service;
-
-
-
-    @GetMapping("/findWtHealthInfo")
-    @ResponseBody
-    @ApiOperation(value = "获取健康管理风机信息", notes = "获取健康管理风机信息")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult findWtHealthInfo(String wtId) throws Exception {
-
-
-        Map<String, Object>  map = new HashMap<>();
-
-        if(StringUtils.notEmp(wtId))
-        {
-
-
-            Calendar cal = Calendar.getInstance();
-
-            Date recodedate = DateUtils.truncate(cal.getTime());
-            //获取故障类型和风机健康得分
-            Map<String,String>  stoptypemap = healthSubService.findWtInfo(wtId);
-            //获取健康管理风机部件基础信息
-            Map<String, Map<String, Object>>  partmap = healthSubService.findPartHealthInfo(wtId);
-            //故障数据统计
-            List<GzfxVo>  gzls = healthSubService.initalGzjfx(wtId,recodedate);
-            //预警数据统计
-            List<YjfxVo>  yjls = healthSubService.initalYjfx(wtId,recodedate);
-            //部件运行数据
-            List<YxfxVo>  bjyxls = healthSubService.initalYxfx(wtId,recodedate);
-            //获得日、月等级评估
-            List<XnfxVo>  djpgls = healthSubService.initalXnfx(wtId,cal);
-            //当日停机
-            List<ShutdowneventVo>  stopls = healthSubService.initalShutdown(wtId);
-            //各个区间曲线偏差率
-            List<QxpcVo>  qxpcls = healthSubService.findQxpcList(wtId);
-            //温度范围
-            List<YxfxVo>  wdls = healthSubService.findWdList(wtId);
-            //获得健康评价列表
-            List<ValueVo>  jkls = healthSubService.findJudgmentList(wtId);
-
-
-            map.put("stoptypemap",stoptypemap);
-            map.put("partmap",partmap);
-            map.put("gzls",gzls);
-            map.put("yjls",yjls);
-            map.put("bjyxls",bjyxls);
-            map.put("djpgls",djpgls);
-            map.put("stopls",stopls);
-            map.put("qxpcls",qxpcls);
-            map.put("wdls",wdls);
-            map.put("jkls",jkls);
-
-
-
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-    @GetMapping("/findWtHealthInfo1")
-    @ResponseBody
-    @ApiOperation(value = "获取健康管理风机信息", notes = "获取健康管理风机信息")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult findWtHealthInfo1(String wtId) throws Exception {
-
-
-        Map<String, Object>  map = new HashMap<>();
-
-        if(StringUtils.notEmp(wtId))
-        {
-
-
-            Calendar cal = Calendar.getInstance();
-
-            Date recodedate = DateUtils.truncate(cal.getTime());
-//            //获取故障类型和风机健康得分
-//            Map<String,String>  stoptypemap = healthSubService.findWtInfo(wtId);
-//            //获取健康管理风机部件基础信息
-//            Map<String, Map<String, Object>>  partmap = healthSubService.findPartHealthInfo(wtId);
-//            //故障数据统计
-//            List<GzfxVo>  gzls = healthSubService.initalGzjfx(wtId,recodedate);
-//            //预警数据统计
-//            List<YjfxVo>  yjls = healthSubService.initalYjfx(wtId,recodedate);
-//            //部件运行数据
-//            List<YxfxVo>  bjyxls = healthSubService.initalYxfx(wtId,recodedate);
-//            //获得日、月等级评估
-//            List<XnfxVo>  djpgls = healthSubService.initalXnfx(wtId,cal);
-//            //当日停机
-//            List<ShutdowneventVo>  stopls = healthSubService.initalShutdown(wtId);
-//            //各个区间曲线偏差率
-//            List<QxpcVo>  qxpcls = healthSubService.findQxpcList(wtId);
-//            //温度范围
-//            List<YxfxVo>  wdls = healthSubService.findWdList(wtId);
-//            //获得健康评价列表
-//            List<ValueVo>  jkls = healthSubService.findJudgmentList(wtId);
-//
-//
-//            map.put("stoptypemap",stoptypemap);
-//            map.put("partmap",partmap);
-//            map.put("gzls",gzls);
-//            map.put("yjls",yjls);
-//            map.put("bjyxls",bjyxls);
-//            map.put("djpgls",djpgls);
-//            map.put("stopls",stopls);
-//            map.put("qxpcls",qxpcls);
-//            map.put("wdls",wdls);
-//            map.put("jkls",jkls);
-
-            //获取故障类型和风机健康得分
-            Map<String,String>  stoptypemap = healthSubService.findWtInfo(wtId);
-            //获取健康管理风机部件基础信息
-            Map<String, Map<String, Object>>  partmap = healthSubService.findPartHealthInfo(wtId);
-            //故障数据统计
-            List<GzfxVo>  gzls = healthSubService.initalGzjfx(wtId,recodedate);
-            //预警数据统计
-            List<YjfxVo>  yjls = healthSubService.initalYjfx(wtId,recodedate);
-
-
-            map.put("stoptypemap",stoptypemap);
-            map.put("partmap",partmap);
-            map.put("gzls",gzls);
-            map.put("yjls",yjls);
-
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-/********************************************************************************************************/
-
-
-@GetMapping("/findWtHealthInfo2")
-@ResponseBody
-@ApiOperation(value = "获取健康管理风机信息", notes = "获取健康管理风机信息")
-@ApiImplicitParams({
-        @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-})
-public AjaxResult findWtHealthInfo2(String wtId) throws Exception {
-
-
-    Map<String, Object>  map = new HashMap<>();
-
-    if(StringUtils.notEmp(wtId))
-    {
-
-
-        Calendar cal = Calendar.getInstance();
-
-        Date recodedate = DateUtils.truncate(cal.getTime());
-
-        //部件运行数据
-        List<YxfxVo>  bjyxls = healthSubService.initalYxfx(wtId,recodedate);
-        //获得日、月等级评估
-        List<XnfxVo>  djpgls = healthSubService.initalXnfx(wtId,cal);
-        //当日停机
-        List<ShutdowneventVo>  stopls = healthSubService.initalShutdown(wtId);
-
-
-        map.put("bjyxls",bjyxls);
-        map.put("djpgls",djpgls);
-        map.put("stopls",stopls);
-
-    }
-
-    if (null!=map) {
-        return AjaxResult.successData(AjaxStatus.success.code, map);
-    } else {
-        return AjaxResult.successData(AjaxStatus.error.code, map);
-    }
-
-}
-
-    /********************************************************************************************************/
-
-    @GetMapping("/findWtHealthInfo3")
-    @ResponseBody
-    @ApiOperation(value = "获取健康管理风机信息", notes = "获取健康管理风机信息")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult findWtHealthInfo3(String wtId) throws Exception {
-
-
-        Map<String, Object>  map = new HashMap<>();
-
-        if(StringUtils.notEmp(wtId))
-        {
-
-
-            Calendar cal = Calendar.getInstance();
-
-            Date recodedate = DateUtils.truncate(cal.getTime());
-
-            //各个区间曲线偏差率
-            List<QxpcVo>  qxpcls = healthSubService.findQxpcList(wtId);
-            //温度范围
-            List<YxfxVo>  wdls = healthSubService.findWdList(wtId);
-            //获得健康评价列表
-            List<ValueVo>  jkls = healthSubService.findJudgmentList(wtId);
-
-
-            map.put("qxpcls",qxpcls);
-            map.put("wdls",wdls);
-            map.put("jkls",jkls);
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-    /********************************************************************************************************/
-
-    @GetMapping("/gadaytop5")
-    @ResponseBody
-    @ApiOperation(value = "获得等级评估前5数据", notes = "获得等级评估前5数据")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult gadaytop5(String wtId) throws Exception {
-
-
-        Map<String, Object> map = new HashMap<>();
-
-        if(StringUtils.notEmp(wtId))
-        {
-
-            map = healthSubService.gadaytop5(wtId);
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-
-    @GetMapping("/queryStopTop10")
-    @ResponseBody
-    @ApiOperation(value = "获取最新的十次停机事件", notes = "获取最新的十次停机事件")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult queryStopTop10(String wtId) throws Exception {
-
-
-        List<ProEconShutdownEvent> vos = new ArrayList<>();
-
-        if(StringUtils.notEmp(wtId))
-        {
-
-            vos = healthSubService.queryStopTop10(wtId);
-        }
-
-        if (null!=vos) {
-            return AjaxResult.successData(AjaxStatus.success.code, vos);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vos);
-        }
-
-    }
-
-
-    @GetMapping("/getWtMttrandMtbfByBj")
-    @ResponseBody
-    @ApiOperation(value = "获取风机部件MTTR和MTBF  数组 0健康状态、1部件名称 2 7天健康状态 3 故障进度 4 mtbf 5 mttr 6损失电量", notes = "获取风机部件MTTR和MTBF 数组 0健康状态、1部件名称 2 7天健康状态 3 故障进度 4 mtbf 5 mttr 6损失电量")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult getWtMttrandMtbfByBj(String wtId) throws Exception {
-
-
-        Map<String, Object> map = new HashMap<String, Object>();
-
-        if(StringUtils.notEmp(wtId))
-        {
-
-            map = healthSubService.getWtMttrandMtbfByBj(wtId);
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-    @GetMapping("/getWeatherRealDay5Info")
-    @ResponseBody
-    @ApiOperation(value = "获取近5天气象数据", notes = "获取近5天气象数据")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wpId", value = "风场编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult getWeatherRealDay5Info(String wpId) throws Exception {
-
-
-        Map<String, Object> map = new HashMap<String, Object>();
-
-        if(StringUtils.notEmp(wpId))
-        {
-
-            map = weatherDay5Service.getWeatherRealDay5Info(wpId);
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-
-
-    @GetMapping("/findPowerChar")
-    @ResponseBody
-    @ApiOperation(value = "获得实际功率和理论功率曲线", notes = "获得实际功率和理论功率曲线")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult findPowerChar(String wtId) throws Exception {
-
-
-        Map<String, Object[]> map = new HashMap<>();
-
-        if(StringUtils.notEmp(wtId))
-        {
-
-            map = healthSubService.findPowerChar(wtId);
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-/**************************************************************************************************************************************************/
-
-    @GetMapping("/hsFjValueIndex")
-    @ResponseBody
-    @ApiOperation(value = "获取部件图表", notes = "获取部件图表")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult hsFjValueIndex(String wtId) throws Exception {
-
-
-        ActivityVo vo = new ActivityVo();
-
-        if(StringUtils.notEmp(wtId))
-        {
-            Calendar cal = Calendar.getInstance();
-
-            cal.set(Calendar.HOUR_OF_DAY, 0);
-            cal.set(Calendar.MINUTE, 0);
-            cal.set(Calendar.SECOND, 0);
-
-
-            Date endDate = cal.getTime();
-
-            cal.add(Calendar.DAY_OF_MONTH, -1);
-            Date beginDate = cal.getTime();
-            vo = healthSubService.hsFjValueIndex(wtId,beginDate,endDate);
-        }
-
-        if (null!=vo) {
-            return AjaxResult.successData(AjaxStatus.success.code, vo);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vo);
-        }
-
-    }
-
-
-    @GetMapping("/findWtHisValueForBj")
-    @ResponseBody
-    @ApiOperation(value = "获取风机部件健康曲线图表", notes = "获取风机部件健康曲线图表")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult findWtHisValueForBj(String wtId) throws Exception {
-
-
-        Map<String,Object> map = new HashMap();
-
-
-        if(StringUtils.notEmp(wtId))
-        {
-
-            map = healthSubService.findWtHisValueForBj(wtId);
-        }
-
-        if (null!=map) {
-            return AjaxResult.successData(AjaxStatus.success.code, map);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, map);
-        }
-
-    }
-
-
-    @GetMapping("/hsFjValueIndexByPart")
-    @ResponseBody
-    @ApiOperation(value = "获取风机健康部件曲线图", notes = "获取风机健康部件曲线图")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
-            @ApiImplicitParam(name = "type", value = "部件类型", required = true, dataType = "string", paramType = "query")
-    })
-    public AjaxResult hsFjValueIndexByPart(String wtId,String type) throws Exception {
-
-        Map<String, Object> result = new HashMap<String, Object>();
-        ActivityVo vo=new ActivityVo();
-
-        if(StringUtils.notEmp(wtId) && StringUtils.notEmp(type))
-        {
-            if (type.equals("1")) {
-                vo = healthSubService.getWTChart(wtId);
-            } else if (type.equals("2")) {
-                vo = healthSubService.getClxChart(wtId);
-            } else if (type.equals("3")) {
-                vo = healthSubService.getFdjChart(wtId);
-            } else if (type.equals("4")) {
-                vo = healthSubService.getKzysChart(wtId);
-            } else if (type.equals("5")) {
-                vo = healthSubService.getJcxtChart(wtId);
-            }
-
-            result.put(wtId, healthSubService.getrealValue(wtId, type));
-        }
-
-
-        result.put("activity", vo);
-
-        if (null!=vo) {
-            return AjaxResult.successData(AjaxStatus.success.code, vo);
-        } else {
-            return AjaxResult.successData(AjaxStatus.error.code, vo);
-        }
-
-    }
-
-
-
-
-}

+ 0 - 43
web/health/src/main/java/com/gyee/frame/mapper/auto/AlarmcountMapper.java

@@ -1,43 +0,0 @@
-package com.gyee.frame.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.frame.model.auto.Alarmcount;
-import com.gyee.frame.model.vo.AlarmcountVo;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.Date;
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-21
- */
-public interface AlarmcountMapper extends BaseMapper<Alarmcount> {
-
-    @Select(" select * from alarmcount where time is not null and snapid=#{snapid} and  alarmdate>=#{beginDate} and alarmdate<=#{endDate}   ")
-    public List<Alarmcount> findAlarmcount(@Param(value = "snapid") Long snapid,@Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
-
-
-    @Select(" select s.alerttext as alertText,p.name as name ,s.windturbineid as wtId ,a.count as counts,a.time as times " +
-            "    from   (select snapid,sum(count) as count,sum(time) as time from alarmcount" +
-            "    where alarmdate>=#{beginDate} and  alarmdate<=#{endDate} group by snapid )" +
-            "    a,alarmsnap s,windturbine_parts p where s.id=a.snapid and s.category3=p.id" +
-            " and s.windturbineid=#{wtId}  ")
-    public List<AlarmcountVo> findAlarmCountByWt(@Param(value = "wtId") String wtId, @Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
-
-
-    @Select(" select s.alerttext as alertText,p.name as name ,w.modelid as modelId ,a.count as counts,a.time as times " +
-            "    from   (select snapid,sum(count) as count,sum(time) as time from alarmcount" +
-            "    where alarmdate>=#{beginDate} and  alarmdate<=#{endDate} group by snapid )" +
-            "    a,alarmsnap s,windturbine_parts p,windturbine w where s.id=a.snapid and s.category3=p.id" +
-            "  and w.id=s.windturbineid and  s.modelid =w.modelid and w.modelid=#{wtId}  ")
-    public List<AlarmcountVo> findAlarmCountByModelId(@Param(value = "modelId") String modelId, @Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
-
-
-   
-}

+ 0 - 23
web/health/src/main/java/com/gyee/frame/mapper/auto/AlarmsnapMapper.java

@@ -1,23 +0,0 @@
-package com.gyee.frame.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.frame.model.auto.Alarmsnap;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-21
- */
-public interface AlarmsnapMapper extends BaseMapper<Alarmsnap> {
-
-    @Select(" select * from alarmsnap where alertvalue=#{alertvalue}  and windturbineid=#{wtid} ")
-    List<Alarmsnap> getAlarmsnapList(  @Param(value = "wtid")String wtid,@Param(value = "alertvalue") Long alertvalue);
-
-}

+ 0 - 28
web/health/src/main/java/com/gyee/frame/mapper/auto/Alertrule2Mapper.java

@@ -1,28 +0,0 @@
-package com.gyee.frame.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.frame.model.auto.Alertrule2;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-21
- */
-public interface Alertrule2Mapper extends BaseMapper<Alertrule2> {
-
-
-    @Select(" select * from alertrule2 where station=#{station} and modelid=#{modelid} ")
-    List<Alertrule2> findAlertRuleList(@Param(value = "station") String station, @Param(value = "modelid")String modelid);
-
-
-    @Select(" select * from alertrule2 where station=#{station} and modelid=#{modelid} and name=#{name} ")
-    List<Alertrule2> getAlertRuleIdByName(@Param(value = "station") String station, @Param(value = "modelid")String modelid, @Param(value = "name")String name);
-
-}

+ 0 - 24
web/health/src/main/java/com/gyee/frame/mapper/auto/AlertrulefailureMapper.java

@@ -1,24 +0,0 @@
-package com.gyee.frame.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.frame.model.auto.Alertrulefailure;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-21
- */
-public interface AlertrulefailureMapper extends BaseMapper<Alertrulefailure> {
-
-
-    @Select(" select * from public.alertrulefailure f " +
-            "where name=#{name} and model= #{model} order by name")
-    public List<Alertrulefailure> getPartByAlertrule(@Param(value = "name") String name,@Param(value = "model") String model);
-}

+ 0 - 23
web/health/src/main/java/com/gyee/frame/mapper/auto/AlertrulefailuresubMapper.java

@@ -1,23 +0,0 @@
-package com.gyee.frame.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.frame.model.auto.Alertrulefailuresub;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-21
- */
-public interface AlertrulefailuresubMapper extends BaseMapper<Alertrulefailuresub> {
-
-    @Select(" select altype from alertrulefailuresub where tid=#{tid}  ")
-    public List<String> getPartByAlertruleid(@Param(value = "tid") String tid);
-
-}

+ 0 - 0
web/health/src/main/java/com/gyee/frame/mapper/auto/AlertrulesubMapper.java


部分文件因为文件数量过多而无法显示