Browse Source

移除老版本河北监视项目

shilin 3 years ago
parent
commit
db481ee8ed
100 changed files with 0 additions and 14380 deletions
  1. 0 950
      web/monitor-web-hb/doc/springbootv2.sql
  2. BIN
      web/monitor-web-hb/lib/ueditor-1.1.2.jar
  3. 0 535
      web/monitor-web-hb/pom.xml
  4. 0 26
      web/monitor-web-hb/src/main/java/com/gyee/SpringbootStart.java
  5. 0 19
      web/monitor-web-hb/src/main/java/com/gyee/SpringbootWebInitializer.java
  6. 0 77
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/async/config/AsyncConfig.java
  7. 0 76
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/async/config/ThreadPoolConfig.java
  8. 0 133
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/async/controller/AsyncController.java
  9. 0 57
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/async/service/AsyncService.java
  10. 0 63
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/async/service/impl/AsyncServiceImpl.java
  11. 0 41
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/async/util/SmsUtil.java
  12. 0 166
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/base/BaseController.java
  13. 0 34
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/base/BaseService.java
  14. 0 268
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/base/PageInfo.java
  15. 0 419
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/cache/AppRedisCacheManager.java
  16. 0 46
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/cache/ApplicationContextHolder.java
  17. 0 383
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/cache/IGlobalCache.java
  18. 0 72
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/cache/MybatisRedisCache.java
  19. 0 105
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/cache/RedisConfig.java
  20. 0 31
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/cache/RedisUtils.java
  21. 0 13
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/AjaxStatus.java
  22. 0 25
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/ExportConfig.java
  23. 0 30
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/FileConfig.java
  24. 0 85
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/KaptchaConfig.java
  25. 0 99
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/MybatisConfig.java
  26. 0 34
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/PageHelperConf.java
  27. 0 83
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/Swagger.java
  28. 0 79
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/TemperatureConfig.java
  29. 0 56
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/ThreadPoolTaskConfig.java
  30. 0 218
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/V2Config.java
  31. 0 27
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/ZmConfig.java
  32. 0 45
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/monitor/LeaderConfig.java
  33. 0 45
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/monitor/StatusConfig.java
  34. 0 21
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/dataSources/DataSource.java
  35. 0 77
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/dataSources/DataSourceAspect.java
  36. 0 50
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/dataSources/DataSourceContextHolder.java
  37. 0 13
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/dataSources/DataSourceType.java
  38. 0 27
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/dataSources/DynamicDataSource.java
  39. 0 104
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/domain/AjaxResult.java
  40. 0 80
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/druid/RemoveDruidAdConfig.java
  41. 0 141
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/exception/GlobalExceptionResolver.java
  42. 0 65
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/exception/QiNiuException.java
  43. 0 17
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/exception/demo/DemoModeException.java
  44. 0 55
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/exception/enums/QiNiuErrorEnum.java
  45. 0 41
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/exception/file/FileNameLengthLimitExceededException.java
  46. 0 73
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/exception/file/InvalidExtensionException.java
  47. 0 37
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/feign/IAdapterService.java
  48. 0 30
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/feign/RemoteServiceBuilder.java
  49. 0 83
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/file/ClassUtil.java
  50. 0 272
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/file/ExcelExport.java
  51. 0 179
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/file/FileUploadUtils.java
  52. 0 110
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/file/FileUtils.java
  53. 0 174
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/interceptor/MyInterceptor.java
  54. 0 108
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/interceptor/MyWebAppConfigurer.java
  55. 0 31
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/log/Log.java
  56. 0 186
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/log/LogAspect.java
  57. 0 100
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/AbstractQuartzJob.java
  58. 0 29
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/QuartzConfig.java
  59. 0 23
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/QuartzDisallowConcurrentExecution.java
  60. 0 22
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/QuartzJobExecution.java
  61. 0 410
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/QuartzSchedulerUtil.java
  62. 0 66
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/ScheduleConstants.java
  63. 0 191
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/utils/JobInvokeUtil.java
  64. 0 590
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/spring/Constant.java
  65. 0 397
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/spring/ConstantTR.java
  66. 0 377
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/spring/InitialRedis.java
  67. 0 497
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/spring/InitialRunner.java
  68. 0 116
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/spring/SpringUtils.java
  69. 0 20
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/spring/WpEnum.java
  70. 0 89
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/support/CharsetKit.java
  71. 0 1057
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/support/Convert.java
  72. 0 240
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/support/ConvertUtil.java
  73. 0 77
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/support/KaptchaTextCreator.java
  74. 0 148
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/ClientInboundChannelInterceptor.java
  75. 0 65
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/WebSocketCache.java
  76. 0 241
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/WebSocketConfig.java
  77. 0 68
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/WebSocketLoginOutEvent.java
  78. 0 30
      web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/WebsocketMessageService.java
  79. 0 501
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/AdminController.java
  80. 0 43
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/FanStatusQueryExportController/FanStatusQueryExportController.java
  81. 0 67
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/IndexController.java
  82. 0 92
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/StandardPointTable/StandardPointTableController.java
  83. 0 32
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/ApiController.java
  84. 0 46
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/ApiController2.java
  85. 0 212
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/AutoCodeController.java
  86. 0 142
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/CaptchaController.java
  87. 0 181
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/DictDataController.java
  88. 0 170
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/DictTypeController.java
  89. 0 175
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/EmailController.java
  90. 0 251
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/FileController.java
  91. 0 38
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/JsonController.java
  92. 0 91
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/LogController.java
  93. 0 268
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/PermissionController.java
  94. 0 261
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/PermissionVueController.java
  95. 0 111
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/ProvinceLinkageController.java
  96. 0 42
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/QuartzController.java
  97. 0 199
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/QuartzJobController.java
  98. 0 116
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/QuartzJobLogController.java
  99. 0 175
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/RoleController.java
  100. 0 0
      web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/RoleVueController.java

+ 0 - 950
web/monitor-web-hb/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;

BIN
web/monitor-web-hb/lib/ueditor-1.1.2.jar


+ 0 - 535
web/monitor-web-hb/pom.xml

@@ -1,535 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <parent>
-        <artifactId>web</artifactId>
-        <groupId>com.gyee</groupId>
-        <version>1.0-SNAPSHOT</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>monitor-web-hb</artifactId>
-
-    <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>
-    </properties>
-
-    <!-- https://mvnrepository.com/ 查找jar网站 -->
-    <dependencies>
-        <!-- SpringBoot Web容器 -->
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-web</artifactId>
-        </dependency>
-        <!-- SpringBoot集成mybatis框架 -->
-        <dependency>
-            <groupId>org.mybatis.spring.boot</groupId>
-            <artifactId>mybatis-spring-boot-starter</artifactId>
-            <version>1.3.2</version>
-        </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>
-
-        <!-- https://mvnrepository.com/artifact/io.github.swagger2markup/swagger2markup -->
-
-        <dependency>
-            <groupId>io.swagger</groupId>
-            <artifactId>swagger-core</artifactId>
-            <version>1.6.2</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>
-        <!-- 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>
-        </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>
-        </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>
-            <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>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>
-        </dependency>
-
-        <dependency>
-            <groupId>org.springframework.integration</groupId>
-            <artifactId>spring-integration-ip</artifactId>
-        </dependency>
-        <!--quartz依赖-->
-        <dependency>
-            <groupId>org.quartz-scheduler</groupId>
-            <artifactId>quartz</artifactId>
-        </dependency>
-        <!-- 七牛云 -->
-        <dependency>
-            <groupId>com.qiniu</groupId>
-            <artifactId>qiniu-java-sdk</artifactId>
-            <version>[7.2.0, 7.2.99]</version>
-        </dependency>
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>fastjson</artifactId>
-            <version>1.2.17</version>
-        </dependency>
-        <dependency>
-            <groupId>org.projectlombok</groupId>
-            <artifactId>lombok</artifactId>
-            <version>1.18.12</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tomcat</groupId>
-            <artifactId>tomcat-juli</artifactId>
-            <version>${tomcat.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tomcat.embed</groupId>
-            <artifactId>tomcat-embed-core</artifactId>
-            <version>${tomcat.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tomcat.embed</groupId>
-            <artifactId>tomcat-embed-el</artifactId>
-            <version>${tomcat.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tomcat.embed</groupId>
-            <artifactId>tomcat-embed-websocket</artifactId>
-            <version>${tomcat.version}</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>
-        </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>
-        </dependency>
-
-        <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>
-        </dependency>
-        <!--http请求-->
-        <!--sentinel数据持久化-->
-        <dependency>
-            <groupId>com.alibaba.csp</groupId>
-            <artifactId>sentinel-datasource-nacos</artifactId>
-        </dependency>
-
-        <!--sentinel-datasource-extension数据源扩展-->
-        <dependency>
-            <groupId>com.alibaba.csp</groupId>
-            <artifactId>sentinel-datasource-extension</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.alibaba.cloud</groupId>
-            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.hibernate</groupId>
-            <artifactId>hibernate-validator</artifactId>
-            <version>6.0.18.Final</version>
-        </dependency>
-        <!--spring-cloud-starter-alibaba-sentinel-->
-        <dependency>
-            <groupId>com.alibaba.cloud</groupId>
-            <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
-        </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>
-
-    <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>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>repackage</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <mainClass>com.gyee.SpringbootStart</mainClass>
-                </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 - 26
web/monitor-web-hb/src/main/java/com/gyee/SpringbootStart.java

@@ -1,26 +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);
-
-
-    }
-}

+ 0 - 19
web/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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 - 166
web/monitor-web-hb/src/main/java/com/gyee/frame/common/base/BaseController.java

@@ -1,166 +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 com.gyee.frame.service.*;
-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 javax.annotation.Resource;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-/**
- * web层通用数据处理
-* @ClassName: BaseController
-* @author gyee
-* @date 2018年8月18日
-*
- */
-@Controller
-public class BaseController
-{
-	//系统用户
-	@Resource
-	public SysUserService sysUserService; 
-	
-	//系统角色
-	@Resource
-	public SysRoleService sysRoleService; 
-	
-	//权限
-	@Resource
-	public SysPermissionService sysPermissionService;
-
-    //VUE系统用户
-    @Resource
-    public VueUserService vueUserService;
-    //VUE系统角色
-    @Resource
-    public VueRoleService vueRoleService;
-
-    //VUE权限
-    @Resource
-    public VuePermissionService vuePermissionService;
-	//文件上传
-	@Resource
-	public SysFileService sysFileService;
-	
-	//文件存储
-	@Resource
-	public SysDatasService sysDatasService;
-	
-	//文件存储管理表
-	@Resource
-	public SysFileDatasService sysFileDatasService;
-	
-	//日志操作
-	@Resource
-	public SysOperLogService sysOperLogService;
-	//公告
-	@Resource
-	public SysNoticeService sysNoticeService;
-
-    /**
-     * 将前台传递过来的日期格式的字符串,自动转化为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/monitor-web-hb/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/monitor-web-hb/src/main/java/com/gyee/frame/common/base/PageInfo.java

@@ -1,268 +0,0 @@
-package com.gyee.frame.common.base;
-
-import java.io.Serializable;
-import java.util.List;
-
-import com.github.pagehelper.Page;
-
-@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 int startRow;
-    //当前页面最后一个元素在数据库中的行号
-    private int 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 int getStartRow() {
-        return startRow;
-    }
-
-    public int 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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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 - 31
web/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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 - 85
web/monitor-web-hb/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/monitor-web-hb/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 - 34
web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/PageHelperConf.java

@@ -1,34 +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.github.pagehelper.PageHelper;
-
-/**
-* 分页插件配置类
-* @ClassName: PageHelperConf
-* @Description: 这里用一句话描述这个类的作用
-* @author gyee
-* @date 2018年6月3日
-*
- */
-@Configuration
-public class PageHelperConf {
-
-    /**
-     * 分页插件处理
-     * @return
-     */
-    @Bean
-    public PageHelper pageHelper() {
-        PageHelper pageHelper = new PageHelper();
-        Properties properties = new Properties();
-        properties.setProperty("offsetAsPageNum", "true");
-        properties.setProperty("rowBoundsWithCount", "true");
-        properties.setProperty("reasonable", "true");
-        properties.setProperty("dialect", "mysql");    //配置mysql数据库的方言
-        pageHelper.setProperties(properties);
-        return pageHelper;
-    }
-}

+ 0 - 83
web/monitor-web-hb/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 V2Config v2Config;
-
-	@Bean
-	public Docket createRestApi() {
-		return new Docket(DocumentationType.SWAGGER_2)
-				.host(v2Config.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("版本号:"+v2Config.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/monitor-web-hb/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/monitor-web-hb/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 - 218
web/monitor-web-hb/src/main/java/com/gyee/frame/common/conf/V2Config.java

@@ -1,218 +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 V2Config
-{
-    /** 项目名称 */
-    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;
-    /** 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;
-
-    public static Map<String, Double> getHbmaps() {
-        return hbmaps;
-    }
-
-    public  void setHbmaps(Map<String, Double> hbmaps) {
-        V2Config.hbmaps = hbmaps;
-    }
-
-    public static String getWeatherurl() {
-        return weatherurl;
-    }
-
-    public  void setWeatherurl(String weatherurl) {
-        V2Config.weatherurl = weatherurl;
-    }
-
-    public static String getWeatherqygs() {
-        return weatherqygs;
-    }
-
-    public  void setWeatherqygs(String weatherqygs) {
-        V2Config.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) {
-		V2Config.defaultBaseDir = defaultBaseDir;
-	}
-
-	public static String getIsstatic() {
-		return isstatic;
-	}
-
-	public  void setIsstatic(String isstatic) {
-
-        V2Config.isstatic = isstatic;
-	}
-
-	public static String getIsroot_dir() {
-		return isroot_dir;
-	}
-
-	public void setIsroot_dir(String isroot_dir) {
-
-        V2Config.isroot_dir = isroot_dir;
-	}
-
-	public static String getEmail_smtp() {
-		return email_smtp;
-	}
-
-	public void setEmail_smtp(String email_smtp) {
-		V2Config.email_smtp = email_smtp;
-	}
-
-	public static String getEmail_port() {
-		return email_port;
-	}
-
-	public void setEmail_port(String email_port) {
-		V2Config.email_port = email_port;
-	}
-
-	public static String getEmail_account() {
-		return email_account;
-	}
-
-	public void setEmail_account(String email_account) {
-		V2Config.email_account = email_account;
-	}
-
-	public static String getEmail_password() {
-		return email_password;
-	}
-
-	public void setEmail_password(String email_password) {
-		V2Config.email_password = email_password;
-	}
-
-	public static String getDemoEnabled() {
-		return demoEnabled;
-	}
-
-	public void setDemoEnabled(String demoEnabled) {
-		V2Config.demoEnabled = demoEnabled;
-	}
-
-	public static Boolean getRollVerification() {
-		return rollVerification;
-	}
-
-	public void setRollVerification(Boolean rollVerification) {
-		V2Config.rollVerification = rollVerification;
-	}
-
-
-
-
-    public static String getRealtimedataBase() {
-        return realtimedataBase;
-    }
-
-    public  void setRealtimedataBase(String realtimedataBase) {
-        V2Config.realtimedataBase = realtimedataBase;
-    }
-    public static String getBaseurl() {
-        return baseurl;
-    }
-
-    public  void setBaseurl(String baseurl) {
-        V2Config.baseurl = baseurl;
-    }
-}

+ 0 - 27
web/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/src/main/java/com/gyee/frame/common/exception/GlobalExceptionResolver.java

@@ -1,141 +0,0 @@
-package com.gyee.frame.common.exception;
-
-import javax.servlet.http.HttpServletRequest;
-
-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 com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.common.exception.demo.DemoModeException;
-import com.gyee.frame.util.ServletUtils;
-import org.thymeleaf.exceptions.TemplateInputException;
-
-/**
- * 全局异常处理
- * @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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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 - 37
web/monitor-web-hb/src/main/java/com/gyee/frame/common/feign/IAdapterService.java

@@ -1,37 +0,0 @@
-package com.gyee.frame.common.feign;
-
-import com.alibaba.fastjson.JSONObject;
-import com.gyee.frame.model.custom.export.TsPointData;
-import com.gyee.frame.util.golden.timeseries.TsData;
-import feign.Headers;
-import feign.Param;
-import feign.RequestLine;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestParam;
-
-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);
-
-}

+ 0 - 30
web/monitor-web-hb/src/main/java/com/gyee/frame/common/feign/RemoteServiceBuilder.java

@@ -1,30 +0,0 @@
-package com.gyee.frame.common.feign;
-
-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.beans.factory.annotation.Value;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-
-@Slf4j
-@Configuration
-public class RemoteServiceBuilder {
-
-    @Value("${goldenUrl:http://10.155.32.4:8011}")
-    private String shardingUrlString;
-
-    @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, shardingUrlString);
-    }
-}

+ 0 - 83
web/monitor-web-hb/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/monitor-web-hb/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("D:\\");
-            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/monitor-web-hb/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.V2Config;
-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 = V2Config.getDefaultBaseDir();
-    
-    /**
-     * 是否上传到static
-     */
-    private static String isstatic=V2Config.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()+V2Config.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/monitor-web-hb/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 - 174
web/monitor-web-hb/src/main/java/com/gyee/frame/common/interceptor/MyInterceptor.java

@@ -1,174 +0,0 @@
-package com.gyee.frame.common.interceptor;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import com.gyee.frame.model.auto.TsysUser;
-import org.apache.shiro.SecurityUtils;
-import org.apache.shiro.authc.UsernamePasswordToken;
-import org.apache.shiro.subject.Subject;
-import org.springframework.web.servlet.HandlerInterceptor;
-import org.springframework.web.servlet.ModelAndView;
-import com.gyee.frame.common.conf.V2Config;
-import com.gyee.frame.common.exception.demo.DemoModeException;
-import cn.hutool.core.util.StrUtil;
-/**
- * 自定义拦截器
- * @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("/SysQuartzJobController/add");
-		posturllist.add("/SysQuartzJobController/remove");
-		posturllist.add("/SysQuartzJobController/edit");
-		posturllist.add("/SysQuartzJobController/changeStatus");
-		posturllist.add("/SysQuartzJobController/run");
-		posturllist.add("/SysQuartzJobLogController/remove");
-		//角色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");
-		//七牛POST请求
-		posturllist.add("/QiNiuCloudController/uploadToQiNiu");
-		//定时器GET请求
-		geturllist.add("/quartz/stop");
-		geturllist.add("/quartz/resume");
-		geturllist.add("/quartz/update");
-		geturllist.add("/quartz/delete");
-
-	}
-	/*************演示模式需要 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(V2Config.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/monitor-web-hb/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.V2Config;
-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 = V2Config.getDefaultBaseDir();
-    
-    /**
-     * 静态文件夹后目录
-     */
-    private  String isrootDir=V2Config.getIsroot_dir();
-    
-    /**
-     * 是否上传到static
-     */
-    private   String isstatic=V2Config.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/monitor-web-hb/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 - 186
web/monitor-web-hb/src/main/java/com/gyee/frame/common/log/LogAspect.java

@@ -1,186 +0,0 @@
-package com.gyee.frame.common.log;
-
-import java.lang.reflect.Method;
-import java.util.Date;
-import java.util.Map;
-import org.aspectj.lang.JoinPoint;
-import org.aspectj.lang.Signature;
-import org.aspectj.lang.annotation.AfterReturning;
-import org.aspectj.lang.annotation.AfterThrowing;
-import org.aspectj.lang.annotation.Aspect;
-import org.aspectj.lang.annotation.Pointcut;
-import org.aspectj.lang.reflect.MethodSignature;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import javax.annotation.Resource;
-import org.springframework.scheduling.annotation.Async;
-import org.springframework.scheduling.annotation.EnableAsync;
-import org.springframework.stereotype.Component;
-import com.gyee.frame.model.auto.TsysOperLog;
-import com.gyee.frame.model.auto.TsysUser;
-import com.gyee.frame.service.SysOperLogService;
-import com.gyee.frame.shiro.util.ShiroUtils;
-import com.gyee.frame.util.ServletUtils;
-import com.gyee.frame.util.StringUtils;
-import com.google.gson.Gson;
-
-/**
- * 操作日志记录处理
- * @author gyee
- * @date: 2018年9月30日 下午1:40:33
- */
-@Aspect
-@Component
-@EnableAsync
-public class LogAspect
-{
-    private static final Logger log = LoggerFactory.getLogger(LogAspect.class);
-
-    @Resource
-    private SysOperLogService operLogService;
-
-    // 配置织入点
-    @Pointcut("@annotation(com.gyee.frame.common.log.Log)")
-    public void logPointCut()
-    {
-    }
-
-    /**
-     * 前置通知 用于拦截操作
-     *
-     * @param joinPoint 切点
-     */
-    @AfterReturning(pointcut = "logPointCut()")
-    public void doBefore(JoinPoint joinPoint)
-    {
-        handleLog(joinPoint, null);
-    }
-
-    /**
-     * 拦截异常操作
-     * 
-     * @param joinPoint
-     * @param e
-     */
-    @AfterThrowing(value = "logPointCut()", throwing = "e")
-    public void doAfter(JoinPoint joinPoint, Exception e)
-    {
-        handleLog(joinPoint, e);
-    }
-
-    @Async
-    protected void handleLog(final JoinPoint joinPoint, final Exception e)
-    {
-        try
-        {
-            // 获得注解
-            Log controllerLog = getAnnotationLog(joinPoint);
-            if (controllerLog == null)
-            {
-                return;
-            }
-
-            // 获取当前的用户
-            TsysUser currentUser = ShiroUtils.getUser();
-
-            // *========数据库日志=========*//
-            TsysOperLog operLog = new TsysOperLog();
-           
-            //赋值操作
-            /*String ip = ShiroUtils.getIp();
-            operLog.setOperIp(ip);*/
-            // 操作地点
-            //operLog.setOperLocation(AddressUtils.getRealAddressByIP(ip));
-            // 请求的地址
-            operLog.setOperUrl(ServletUtils.getRequest().getRequestURI());
-            if (currentUser != null)
-            {
-//            	//操作人
-                operLog.setOperName(currentUser.getUsername());
-//                if (StringUtils.isNotNull(currentUser.getDept())
-//                        && StringUtils.isNotEmpty(currentUser.getDept().getDeptName()))
-//                {
-//                    operLog.setDeptName(currentUser.getDept().getDeptName());
-//                }
-            }
-
-            if (e != null)
-            {
-            	//错误日志
-            	operLog.setErrorMsg(StringUtils.substring(e.getMessage(), 0, 2000));
-            }
-            // 设置方法名称
-            String className = joinPoint.getTarget().getClass().getName();
-            String methodName = joinPoint.getSignature().getName();
-            operLog.setMethod(className + "." + methodName + "()");
-            operLog.setOperTime(new Date());
-            // 处理设置注解上的参数
-            getControllerMethodDescription(controllerLog, operLog);
-            // 保存数据库
-            //System.out.println("-----------------");
-            //System.out.println(new Gson().toJson(operLog));
-            //System.out.println("-----------------");
-            operLogService.insertSelective(operLog);
-        }
-        catch (Exception exp)
-        {
-            // 记录本地异常日志
-            log.error("==前置通知异常==");
-            log.error("异常信息:{}", exp.getMessage());
-            exp.printStackTrace();
-        }
-    }
-
-    /**
-     * 获取注解中对方法的描述信息 用于Controller层注解
-     * 
-     * @param joinPoint 切点
-     * @return 方法描述
-     * @throws Exception
-     */
-    public void getControllerMethodDescription(Log log, TsysOperLog operLog) throws Exception
-    {
-        // 设置action动作
-       // operLog.setAction(log.action());
-        // 设置标题
-        operLog.setTitle(log.title());
-        // 设置channel
-        //operLog.setChannel(log.channel());
-        // 是否需要保存request,参数和值
-        if (log.isSaveRequestData())
-        {
-            // 获取参数的信息,传入到数据库中。
-            setRequestValue(operLog);
-        }
-    }
-
-    /**
-     * 获取请求的参数,放到log中
-     * 
-     * @param operLog
-     * @param request
-     */
-    private void setRequestValue(TsysOperLog operLog)
-    {
-        Map<String, String[]> map = ServletUtils.getRequest().getParameterMap();
-        Gson gson=new Gson();
-        String params = gson.toJson(map);
-        operLog.setOperParam(StringUtils.substring(params, 0, 255));
-    }
-
-    /**
-     * 是否存在注解,如果存在就获取
-     */
-    private Log getAnnotationLog(JoinPoint joinPoint) throws Exception
-    {
-        Signature signature = joinPoint.getSignature();
-        MethodSignature methodSignature = (MethodSignature) signature;
-        Method method = methodSignature.getMethod();
-
-        if (method != null)
-        {
-            return method.getAnnotation(Log.class);
-        }
-        return null;
-    }
-}

+ 0 - 100
web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/AbstractQuartzJob.java

@@ -1,100 +0,0 @@
-package com.gyee.frame.common.quartz;
-
-import com.gyee.frame.model.auto.SysQuartzJob;
-import org.quartz.Job;
-import org.quartz.JobExecutionContext;
-import org.quartz.JobExecutionException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.BeanUtils;
-
-import java.util.Date;
-
-/**
- * @CLASSNAME AbstractQuartzJob
- * @Description
- * @Auther Jan  橙寂
- * @DATE 2019/9/5 0005 15:05
- */
-
-public abstract class AbstractQuartzJob implements Job {
-
-    private static final Logger log = LoggerFactory.getLogger(AbstractQuartzJob.class);
-
-    /**
-     * 线程本地变量
-     */
-    private static ThreadLocal<Date> threadLocal = new ThreadLocal<>();
-
-    @Override
-    public void execute(JobExecutionContext context) throws JobExecutionException
-    {
-    	SysQuartzJob sysJob = new SysQuartzJob();
-        BeanUtils.copyProperties(context.getMergedJobDataMap().get(ScheduleConstants.TASK_PROPERTIES),sysJob);
-        try
-        {
-            before(context, sysJob);
-            if (sysJob != null)
-            {
-                doExecute(context, sysJob);
-            }
-            after(context, sysJob, null);
-        }
-        catch (Exception e)
-        {
-            log.error("任务执行异常  - :", e);
-            after(context, sysJob, e);
-        }
-    }
-
-    /**
-     * 执行前
-     *
-     * @param context 工作执行上下文对象
-     * @param sysJob 系统计划任务
-     */
-    protected void before(JobExecutionContext context, SysQuartzJob sysJob)
-    {
-        threadLocal.set(new Date());
-    }
-
-    /**
-     * 执行后
-     *
-     * @param context 工作执行上下文对象
-     * @param sysJob 系统计划任务
-     */
-    protected void after(JobExecutionContext context, SysQuartzJob sysJob, Exception e)
-    {
-        Date startTime = threadLocal.get();
-        threadLocal.remove();
-
-//        final SysQuartzJobLog sysJobLog = new SysQuartzJobLog();
-//        sysJobLog.setJobName(sysJob.getJobName());
-//        sysJobLog.setJobGroup(sysJob.getJobGroup());
-//        sysJobLog.setInvokeTarget(sysJob.getInvokeTarget());
-//        sysJobLog.setStartTime(startTime);
-//        sysJobLog.setEndTime(new Date());
-//        long runMs = sysJobLog.getEndTime().getTime() - sysJobLog.getStartTime().getTime();
-//        sysJobLog.setJobMessage(sysJobLog.getJobName() + " 总共耗时:" + runMs + "毫秒");
-//        if (e != null)
-//        {
-//            sysJobLog.setStatus(ScheduleConstants.FAIL_STATUS);
-//            String errorMsg = StringUtils.substring(ExceptionUtil.getMessage(e), 0, 2000);
-//            sysJobLog.setExceptionInfo(errorMsg);
-//        }
-//        else
-//        {
-//            sysJobLog.setStatus(ScheduleConstants.SUCCESS_STATUS);
-//        }
-//        //  这里获取service然后插入库中
-//        SpringUtils.getBean(SysQuartzJobLogService.class).insertSelective(sysJobLog);
-    }
-
-    /**
-     * 子类去实现
-     * @param jobExecutionContext
-     * @param sysJob
-     */
-    protected abstract void doExecute(JobExecutionContext jobExecutionContext, SysQuartzJob sysJob) throws Exception;
-}

+ 0 - 29
web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/QuartzConfig.java

@@ -1,29 +0,0 @@
-package com.gyee.frame.common.quartz;
-
-import org.quartz.Scheduler;
-import org.quartz.SchedulerException;
-import org.quartz.SchedulerFactory;
-import org.quartz.impl.StdSchedulerFactory;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * @CLASSNAME QuartzConfig
- * @Description  Quartz配置类
- * @Auther Jan  橙寂
- * @DATE 2019/9/2 0002 15:21
- */
-@Configuration
-public class QuartzConfig {
-
-    /**
-     * 初始注入scheduler
-     * @return
-     * @throws SchedulerException
-     */
-    @Bean
-    public Scheduler scheduler() throws SchedulerException{
-        SchedulerFactory schedulerFactoryBean = new StdSchedulerFactory();
-        return schedulerFactoryBean.getScheduler();
-    }
-}

+ 0 - 23
web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/QuartzDisallowConcurrentExecution.java

@@ -1,23 +0,0 @@
-package com.gyee.frame.common.quartz;
-
-import com.gyee.frame.common.quartz.utils.JobInvokeUtil;
-import com.gyee.frame.model.auto.SysQuartzJob;
-
-import org.quartz.DisallowConcurrentExecution;
-import org.quartz.JobExecutionContext;
-
-/**
- * 定时任务处理(禁止并发执行)
- * 
- * @author jan 橙寂
- *
- */
-@DisallowConcurrentExecution
-public class QuartzDisallowConcurrentExecution extends AbstractQuartzJob
-{
-    @Override
-    protected void doExecute(JobExecutionContext context, SysQuartzJob sysJob) throws Exception
-    {
-        JobInvokeUtil.invokeMethod(sysJob);
-    }
-}

+ 0 - 22
web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/QuartzJobExecution.java

@@ -1,22 +0,0 @@
-package com.gyee.frame.common.quartz;
-
-import com.gyee.frame.common.quartz.utils.JobInvokeUtil;
-import com.gyee.frame.model.auto.SysQuartzJob;
-
-import org.quartz.JobExecutionContext;
-
-/**
- * 定时任务处理(允许并发执行)
- * 
- * @author  jan  橙寂
- *
- */
-public class QuartzJobExecution extends AbstractQuartzJob
-{
-    @Override
-    protected void doExecute(JobExecutionContext context, SysQuartzJob sysJob) throws Exception {
-        JobInvokeUtil.invokeMethod(sysJob);
-    }
-
-
-}

+ 0 - 410
web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/QuartzSchedulerUtil.java

@@ -1,410 +0,0 @@
-package com.gyee.frame.common.quartz;
-
-import com.gyee.frame.common.spring.SpringUtils;
-import com.gyee.frame.model.auto.SysQuartzJob;
-import com.gyee.frame.model.auto.SysQuartzJobExample;
-import com.gyee.frame.service.SysQuartzJobService;
-import com.gyee.frame.util.StringUtils;
-import org.quartz.*;
-import org.quartz.impl.JobDetailImpl;
-import org.quartz.impl.matchers.GroupMatcher;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.context.annotation.Configuration;
-
-import javax.annotation.PostConstruct;
-import java.util.List;
-import java.util.Set;
-
-/**
- * @CLASSNAME QuartzConfig
- * @Description  Quartz配置类
- * @Auther Jan  橙寂
- * @DATE 2019/9/2 0002 15:21
- */
-@Configuration
-public class QuartzSchedulerUtil {
-
-    @Autowired
-    private  Scheduler scheduler;
-    @Autowired
-    private SysQuartzJobService sysQuartzJobService; 
-
-    //这个东西可以放在配置文件中
-    //cron表达式 一分钟执行一次
-    private final  String TEST_CRON="0 0/1 * * * ?";
-
-    /**
-     * 容器初始化时执行此方法
-     * 也就是类初始化的时候
-     */
-    @PostConstruct
-    public void init() throws SchedulerException {
-    	
-    	List<SysQuartzJob> quartzJobs=sysQuartzJobService.selectByExample(new SysQuartzJobExample());
-    	for (SysQuartzJob job : quartzJobs) {
-    		try {
-    		    if(job.getId().indexOf("/topic/")!=-1)
-                {
-                    //防止因为数据问题重复创建
-                    if(checkJobExists(job))
-                    {
-                        deleteJob(job);
-                    }
-                    createSchedule(job);
-                }
-
-	        } catch (SchedulerException e) {
-	            e.printStackTrace();
-	        }
-		}
-        //这一块可以从数据库中查
-//        for (int i=1;i<=1;i++)
-//        {
-//            SysQuartzJob job=new SysQuartzJob();
-//            job.setId("332182389491109888");
-//            job.setJobName("v2Task2");
-//            job.setJobGroup("SYSTEM");
-//            job.setCronExpression("*/6 * * * * ?");
-//            //并发执行
-//            job.setConcurrent("0");
-//            //0启用
-//            job.setStatus(1);
-//            //执行的job类
-//            job.setInvokeTarget("v2Task.runTask2(1,2l,'asa',true,2D)");
-//            try {
-//                //防止因为数据问题重复创建
-//                if(checkJobExists(job))
-//                {
-//                    deleteJob(job);
-//                }
-//                createSchedule(job);
-//	        } catch (SchedulerException e) {
-//	            e.printStackTrace();
-//	        }
-//        }
-
-        start();
-
-    }
-
-    /**
-     * 启动定时器
-     */
-    public void start()
-{
-    try {
-        scheduler.start();
-    } catch (SchedulerException e) {
-        e.printStackTrace();
-        System.out.println("定时任务执行失败");
-    }
-}
-
-
-    /**
-     * 创建一个定时任务
-     * @param job
-     * @throws SchedulerException
-     */
-    public void createSchedule(SysQuartzJob job) throws SchedulerException {
-        if (!checkJobExists(job)) {
-            //获取指定的job工作类
-            Class<? extends Job> jobClass = getQuartzJobClass(job);
-            // 通过JobBuilder构建JobDetail实例,JobDetail规定只能是实现Job接口的实例
-            // JobDetail 是具体Job实例
-            JobDetail jobDetail = JobBuilder.newJob((Class<? extends Job>) jobClass).withIdentity(ScheduleConstants.TASK_CLASS_NAME+job.getId(),job.getJobGroup()).build();
-            // 基于表达式构建触发器
-            CronScheduleBuilder cronScheduleBuilder =null;
-            if(StringUtils.isNotEmpty(job.getCronExpression())) {
-            	cronScheduleBuilder = CronScheduleBuilder.cronSchedule(job.getCronExpression());
-            }else {
-            	cronScheduleBuilder = CronScheduleBuilder.cronSchedule(TEST_CRON);
-            }
-           
-            // CronTrigger表达式触发器 继承于Trigger  //cronScheduleBuilder.withMisfireHandlingInstructionDoNothing()错过60分钟后不在补偿 拉下的执行次数
-            // TriggerBuilder 用于构建触发器实例
-            CronTrigger cronTrigger = TriggerBuilder.newTrigger().withIdentity(ScheduleConstants.TASK_CLASS_NAME+job.getId(),job.getJobGroup())
-              .withSchedule(cronScheduleBuilder.withMisfireHandlingInstructionDoNothing()).build();
-            //放入参数,运行时的方法可以获取
-            jobDetail.getJobDataMap().put(ScheduleConstants.TASK_PROPERTIES, job);
-            scheduler.scheduleJob(jobDetail, cronTrigger);
-            
-            //如果这个工作的状态为1
-            if (job.getStatus().equals(1))
-            {
-                pauseJob(job);
-            }
-        }
-    }
-
-
-
-
-    /**
-     * 修改定时任务
-     * @param job
-     * @return
-     * @throws SchedulerException
-     */
-    public boolean modifyJob(SysQuartzJob job) {
-
-        try {
-            //先删除
-            if(checkJobExists(job))
-            {
-                deleteJob(job);
-            }
-            createSchedule(job);
-        } catch (SchedulerException e) {
-            e.printStackTrace();
-            return  false;
-        }
-        return  true;
-    }
-
-
-    /**
-     *  继续执行定时任务
-     * @param job
-     * @return
-     */
-    public boolean resumeJob(SysQuartzJob job) {
-        boolean bl = false;
-        try {
-            //JobKey定义了job的名称和组别
-            JobKey jobKey = JobKey.jobKey(ScheduleConstants.TASK_CLASS_NAME+job.getId(), job.getJobGroup());
-            if (jobKey != null) {
-                //继续任务
-                scheduler.resumeJob(jobKey);
-                bl = true;
-            }
-        } catch (SchedulerException e) {
-            System.out.println("继续调度任务异常:" + e);
-        } catch (Exception e) {
-            System.out.println("继续调度任务异常:" + e);
-        }
-        return bl;
-    }
-
-    /**
-     *  删除定时任务
-     * @param job
-     * @return
-     */
-    public boolean deleteJob(SysQuartzJob job) {
-        boolean bl = false;
-        try {
-            //JobKey定义了job的名称和组别
-            JobKey jobKey = JobKey.jobKey(ScheduleConstants.TASK_CLASS_NAME+job.getId(), job.getJobGroup());
-            if (jobKey != null) {
-                //删除定时任务
-                scheduler.deleteJob(jobKey);
-                bl = true;
-            }
-        } catch (SchedulerException e) {
-            System.out.println("删除调度任务异常:" + e);
-        } catch (Exception e) {
-            System.out.println("删除调度任务异常:" + e);
-        }
-        return bl;
-    }
-    
-    /**
-     * 获取jobKey
-     */
-    public  JobKey getJobKey(SysQuartzJob job)
-    {
-        return JobKey.jobKey(ScheduleConstants.TASK_CLASS_NAME + job.getId(),job.getJobGroup());
-    }
-    
-    /**
-     * 立即执行任务
-     */
-    public  void run(SysQuartzJob job) throws SchedulerException
-    {
-        // 参数
-        JobDataMap dataMap = new JobDataMap();
-        dataMap.put(ScheduleConstants.TASK_PROPERTIES, job);
-        scheduler.triggerJob(getJobKey(job), dataMap);
-    }
-    /**
-     * 暂停任务
-     * @param job
-     * @return
-     */
-    public boolean pauseJob(SysQuartzJob job) {
-        boolean bl = false;
-        try {
-            //JobKey定义了job的名称和组别
-            JobKey jobKey = JobKey.jobKey(ScheduleConstants.TASK_CLASS_NAME+job.getId(), job.getJobGroup());
-            //暂停任务
-            if (jobKey != null) {
-                scheduler.pauseJob(jobKey);
-                bl = true;
-            }
-        } catch (SchedulerException e) {
-             System.out.println("暂停调度任务异常:" + e);
-        } catch (Exception e) {
-        	 System.out.println("暂停调度任务异常:"+ e);
-        }
-        return bl;
-    }
-
-    /**
-     * 判断定时任务是否已经存在
-     * @param job
-     * @return
-     * @throws SchedulerException
-     */
-    public boolean checkJobExists(SysQuartzJob job) throws SchedulerException {
-        TriggerKey triggerKey = TriggerKey.triggerKey(ScheduleConstants.TASK_CLASS_NAME+job.getId(), job.getJobGroup());
-        return scheduler.checkExists(triggerKey);
-    }
-
-
-    /**
-     * 获取定时任务的具体执行类
-     * @param sysJob
-     * @return
-     */
-    private static Class<? extends Job> getQuartzJobClass(SysQuartzJob sysJob)
-    {
-        boolean isConcurrent = "0".equals(sysJob.getConcurrent());
-        return isConcurrent ? QuartzJobExecution.class : QuartzDisallowConcurrentExecution.class;
-    }
-    
-    
-    @SuppressWarnings({ "unchecked", "rawtypes" })
-	public void getquartzList() throws SchedulerException {
-
-        List<String> triggerGroupNames = scheduler.getTriggerGroupNames();
-        for (String groupName : triggerGroupNames) {
-        	 //组装group的匹配,为了模糊获取所有的triggerKey或者jobKey 
-        	GroupMatcher groupMatcher = GroupMatcher.groupEquals(groupName);
-        	//获取所有的triggerKey
-        	 Set<TriggerKey> triggerKeySet = scheduler.getTriggerKeys(groupMatcher);
-        	 for (TriggerKey triggerKey : triggerKeySet) {
-        		 //通过triggerKey在scheduler中获取trigger对象
-                 CronTrigger trigger = (CronTrigger) scheduler.getTrigger(triggerKey);
-                 //获取trigger拥有的Job
-                 JobKey jobKey =trigger.getJobKey();
-                 JobDetailImpl jobDetail2 = (JobDetailImpl) scheduler.getJobDetail(jobKey);
-                 System.out.println(groupName);
-                 System.out.println(jobDetail2.getName());
-                 System.out.println(trigger.getCronExpression());
-        	 }
-        }
-    }
-
-    /**
-     * @purpose 根据socket 对一些job任务进行管制
-     */
-    @Configuration
-    public static class SocketTaskUtil {
-        private QuartzSchedulerUtil quartzSchedulerUtil = SpringUtils.getBean(QuartzSchedulerUtil.class);
-        private SysQuartzJobService sysQuartzJobService = SpringUtils.getBean(SysQuartzJobService.class);
-
-        String template="*";
-
-        public void pauseJob(SysQuartzJob sysQuartzJob){
-            quartzSchedulerUtil.pauseJob(sysQuartzJob);
-        }
-        public void startJob(SysQuartzJob sysQuartzJob){
-
-            try {
-                quartzSchedulerUtil.run(sysQuartzJob);
-            } catch (SchedulerException e) {
-                e.printStackTrace();
-            }
-        }
-        public void deleteJob(SysQuartzJob sysQuartzJob){
-            quartzSchedulerUtil.deleteJob(sysQuartzJob);
-        }
-        /**
-         *
-         *@description: 该方法通过计算jobid来找到job,通过job的对象来进一步控制job任务,用来重启某一具体的任务
-         *
-         *@param:[jobid] job的编码
-         *
-         *@return:void
-         *
-         *@createTime:2020/1/9
-         *
-         */
-        public void restartJob(String jobid){
-
-            List<SysQuartzJob> quartzJobs=sysQuartzJobService.selectByExample(new SysQuartzJobExample());
-            SysQuartzJob sysQuartzJob1 = null;
-            //找到具体的任务
-            for(SysQuartzJob sysQuartzJob:quartzJobs){
-                if(sysQuartzJob.getId().equalsIgnoreCase(jobid)){
-                    sysQuartzJob1=sysQuartzJob;
-                    break;
-                }
-            }
-            this.deleteJob(sysQuartzJob1);//符合标准步骤删除-创建-启动流程
-            try {
-               // //System.out.println(sysQuartzJob1.getJobName());
-
-                sysQuartzJob1.setStatus(0);//开启任务
-
-                quartzSchedulerUtil.createSchedule(sysQuartzJob1);
-
-                //startJob(sysQuartzJob1);
-            } catch (SchedulerException e) {
-                e.printStackTrace();
-            }
-            //this.startJob(sysQuartzJob1);
-        }
-
-
-        public void restartJob(String jobid,String params){
-
-            List<SysQuartzJob> quartzJobs=sysQuartzJobService.selectByExample(new SysQuartzJobExample());
-            SysQuartzJob sysQuartzJob1 = null;
-            //找到具体的任务
-            for(SysQuartzJob sysQuartzJob:quartzJobs){
-                if(sysQuartzJob.getId().equalsIgnoreCase(jobid)){
-                    sysQuartzJob1=sysQuartzJob;
-                    break;
-                }
-            }
-            this.deleteJob(sysQuartzJob1);//符合标准步骤删除-创建-启动流程
-            try {
-                // //System.out.println(sysQuartzJob1.getJobName());
-
-                sysQuartzJob1.setStatus(0);//开启任务
-
-                if(StringUtils.notEmp(params))
-                {
-                    String temp=sysQuartzJob1.getInvokeTarget().replace(template,params);
-                    sysQuartzJob1.setInvokeTarget(temp);
-                }
-
-                quartzSchedulerUtil.createSchedule(sysQuartzJob1);
-
-                //startJob(sysQuartzJob1);
-            } catch (SchedulerException e) {
-                e.printStackTrace();
-            }
-            //this.startJob(sysQuartzJob1);
-        }
-        public void deleteJob(String jobid){
-
-            List<SysQuartzJob> quartzJobs=sysQuartzJobService.selectByExample(new SysQuartzJobExample());
-            SysQuartzJob sysQuartzJob1 = null;
-            //找到具体的任务
-            for(SysQuartzJob sysQuartzJob:quartzJobs){
-                if(sysQuartzJob.getId().equalsIgnoreCase(jobid)){
-                    sysQuartzJob1=sysQuartzJob;
-                    break;
-                }
-            }
-            if(sysQuartzJob1!=null)
-            {
-                this.deleteJob(sysQuartzJob1);
-            }
-
-        }
-    }
-}

+ 0 - 66
web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/ScheduleConstants.java

@@ -1,66 +0,0 @@
-package com.gyee.frame.common.quartz;
-
-/**
- * 任务调度通用常量
- * 
- * @author jan 橙寂
- */
-public interface ScheduleConstants
-{
-    public static final String TASK_CLASS_NAME = "TASK_CLASS_NAME";
-
-    /** 执行目标key */
-    public static final String TASK_PROPERTIES = "TASK_PROPERTIES";
-
-    /** 默认 */
-    public static final Integer MISFIRE_DEFAULT = 0;
-
-    /** 立即触发执行 */
-    public static final Integer MISFIRE_IGNORE_MISFIRES = 1;
-
-    /** 触发一次执行 */
-    public static final Integer MISFIRE_FIRE_AND_PROCEED = 2;
-
-    /** 不触发立即执行 */
-    public static final Integer MISFIRE_DO_NOTHING = 3;
-
-    /**
-     * 失败状态
-     */
-    public static final Integer FAIL_STATUS = 1;
-
-    /**
-     * 成功状态
-     */
-    public static final Integer SUCCESS_STATUS = 0;
-
-
-    /**
-     * 任务的关闭的状态
-     */
-    public static final Integer STOP_STATUS = 2;
-
-    public enum Status
-    {
-        /**
-         * 正常
-         */
-        NORMAL(0),
-        /**
-         * 暂停
-         */
-        PAUSE(1);
-
-        private Integer value;
-
-        private Status(Integer value)
-        {
-            this.value = value;
-        }
-
-        public Integer getValue()
-        {
-            return value;
-        }
-    }
-}

+ 0 - 191
web/monitor-web-hb/src/main/java/com/gyee/frame/common/quartz/utils/JobInvokeUtil.java

@@ -1,191 +0,0 @@
-package com.gyee.frame.common.quartz.utils;
-
-import com.gyee.frame.common.spring.SpringUtils;
-import com.gyee.frame.model.auto.SysQuartzJob;
-import com.gyee.frame.util.StringUtils;
-
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.LinkedList;
-import java.util.List;
-
-/**
- * 任务执行工具
- *
- * @author ruoyi
- */
-public class JobInvokeUtil
-{
-    /**
-     * 执行方法
-     *
-     * @param sysJob 系统任务
-     */
-    public static void invokeMethod(SysQuartzJob sysJob) throws Exception
-    {
-        String invokeTarget = sysJob.getInvokeTarget();
-        String beanName = getBeanName(invokeTarget);
-        String methodName = getMethodName(invokeTarget);
-        List<Object[]> methodParams = getMethodParams(invokeTarget);
-
-        if (!isValidClassName(beanName))
-        {
-            Object bean = SpringUtils.getBean(beanName);
-            if (null != bean) {
-                invokeMethod(bean, methodName, methodParams);
-            }else {
-                System.out.println("找不到class["+ beanName +"]");
-            }
-        }
-        else
-        {
-            Object bean = Class.forName(beanName).newInstance();
-            if (null != bean) {
-                invokeMethod(bean, methodName, methodParams);
-            }else {
-                System.out.println("找不到class["+ beanName +"]");
-            }
-        }
-    }
-
-    /**
-     * 调用任务方法
-     *
-     * @param bean 目标对象
-     * @param methodName 方法名称
-     * @param methodParams 方法参数
-     */
-    private static void invokeMethod(Object bean, String methodName, List<Object[]> methodParams)
-            throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException,
-            InvocationTargetException
-    {
-        if (StringUtils.isNotNull(methodParams) && methodParams.size() > 0)
-        {
-            Method method = bean.getClass().getDeclaredMethod(methodName, getMethodParamsType(methodParams));
-            method.invoke(bean, getMethodParamsValue(methodParams));
-        }
-        else
-        {
-            Method method = bean.getClass().getDeclaredMethod(methodName);
-            method.invoke(bean);
-        }
-    }
-
-    /**
-     * 校验是否为为class包名
-     * 
-     * @param str 名称
-     * @return true是 false否
-     */
-    public static boolean isValidClassName(String invokeTarget)
-    {
-        return StringUtils.countMatches(invokeTarget, ".") > 1;
-    }
-
-    /**
-     * 获取bean名称
-     * 
-     * @param invokeTarget 目标字符串
-     * @return bean名称
-     */
-    public static String getBeanName(String invokeTarget)
-    {
-        String beanName = StringUtils.substringBefore(invokeTarget, "(");
-        return StringUtils.substringBeforeLast(beanName, ".");
-    }
-
-    /**
-     * 获取bean方法
-     * 
-     * @param invokeTarget 目标字符串
-     * @return method方法
-     */
-    public static String getMethodName(String invokeTarget)
-    {
-        String methodName = StringUtils.substringBefore(invokeTarget, "(");
-        return StringUtils.substringAfterLast(methodName, ".");
-    }
-
-    /**
-     * 获取method方法参数相关列表
-     * 
-     * @param invokeTarget 目标字符串
-     * @return method方法相关参数列表
-     */
-    public static List<Object[]> getMethodParams(String invokeTarget)
-    {
-        String methodStr = StringUtils.substringBetween(invokeTarget, "(", ")");
-        if (StringUtils.isEmpty(methodStr))
-        {
-            return null;
-        }
-        String[] methodParams = methodStr.split(",");
-        List<Object[]> classs = new LinkedList<>();
-        for (int i = 0; i < methodParams.length; i++)
-        {
-            String str = StringUtils.trimToEmpty(methodParams[i]);
-            // String字符串类型,包含'
-            if (StringUtils.contains(str, "'"))
-            {
-                classs.add(new Object[] { StringUtils.replace(str, "'", ""), String.class });
-            }
-            // boolean布尔类型,等于true或者false
-            else if (StringUtils.equals(str, "true") || StringUtils.equalsIgnoreCase(str, "false"))
-            {
-                classs.add(new Object[] { Boolean.valueOf(str), Boolean.class });
-            }
-            // long长整形,包含L
-            else if (StringUtils.containsIgnoreCase(str, "L"))
-            {
-                classs.add(new Object[] { Long.valueOf(StringUtils.replaceIgnoreCase(str, "L", "")), Long.class });
-            }
-            // double浮点类型,包含D
-            else if (StringUtils.containsIgnoreCase(str, "D"))
-            {
-                classs.add(new Object[] { Double.valueOf(StringUtils.replaceIgnoreCase(str, "D", "")), Double.class });
-            }
-            // 其他类型归类为整形
-            else
-            {
-                classs.add(new Object[] { Integer.valueOf(str), Integer.class });
-            }
-        }
-        return classs;
-    }
-
-    /**
-     * 获取参数类型
-     * 
-     * @param methodParams 参数相关列表
-     * @return 参数类型列表
-     */
-    public static Class<?>[] getMethodParamsType(List<Object[]> methodParams)
-    {
-        Class<?>[] classs = new Class<?>[methodParams.size()];
-        int index = 0;
-        for (Object[] os : methodParams)
-        {
-            classs[index] = (Class<?>) os[1];
-            index++;
-        }
-        return classs;
-    }
-
-    /**
-     * 获取参数值
-     * 
-     * @param methodParams 参数相关列表
-     * @return 参数值列表
-     */
-    public static Object[] getMethodParamsValue(List<Object[]> methodParams)
-    {
-        Object[] classs = new Object[methodParams.size()];
-        int index = 0;
-        for (Object[] os : methodParams)
-        {
-            classs[index] = (Object) os[0];
-            index++;
-        }
-        return classs;
-    }
-}

File diff suppressed because it is too large
+ 0 - 590
web/monitor-web-hb/src/main/java/com/gyee/frame/common/spring/Constant.java


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

@@ -1,397 +0,0 @@
-package com.gyee.frame.common.spring;
-
-/**
- * 
- * 
- * 项目名称:nxfd 类名称:Constant 类描述: 创建人:石林 创建时间: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 = "JSFW.NX_GD_XXX_XX_XX_XXX_XXX_CI0220"; // 全省安全天数
-	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/monitor-web-hb/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();
-                WindPowerStationTestingPoint gl = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SJGL);
-                WindPowerStationTestingPoint fs = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_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(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();
-                WindPowerStationTestingPoint gl = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SJGL);
-                WindPowerStationTestingPoint fs = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_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(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();
-                WindPowerStationTestingPoint gl = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SJGL);
-                WindPowerStationTestingPoint fs = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_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(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();
-                WindTurbineTestingPointAi gl = windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wpId, Constant.TPOINT_WT_FJGL);
-                WindTurbineTestingPointAi fs = windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wpId, Constant.TPOINT_WT_FJSSFS);
-
-                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 - 497
web/monitor-web-hb/src/main/java/com/gyee/frame/common/spring/InitialRunner.java

@@ -1,497 +0,0 @@
-package com.gyee.frame.common.spring;
-
-import com.alibaba.fastjson.JSON;
-import com.alibaba.fastjson.JSONObject;
-import com.alibaba.fastjson.TypeReference;
-import com.gyee.frame.common.cache.IGlobalCache;
-import com.gyee.frame.model.auto.*;
-import com.gyee.frame.service.*;
-import org.springframework.boot.CommandLineRunner;
-import org.springframework.stereotype.Component;
-
-import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * 服务启动前执行,进行全局变量初始化
- */
-@Component
-public class InitialRunner implements CommandLineRunner {
-
-
-    @Resource
-    private SysQuartzJobService sysQuartzJobService;
-    @Resource
-    private WindpowerstationService windpowerstationService;
-    @Resource
-    private ProjectService projectService;
-    @Resource
-    private LineService lineService;
-    @Resource
-    private WindturbineService windturbineService;
-    @Resource
-    private WindPowerstationTestingPoint2Service windPowerstationTestingPoint2Service;
-    @Resource
-    private WindTurbineTestingPointAiService windTurbineTestingPointAiService;
-    @Resource
-    private WindturbinepowercurvefittingService windturbinepowercurvefittingService;
-    @Resource
-    private WarningService warningService;
-    @Resource
-    private ModelpowerRdService modelpowerRdService;
-    @Resource
-    private EquipmentmodelService equipmentmodelService;
-    @Resource
-    private WarningClassifyService warningClassifyService;
-    @Resource
-    private ManufacturerService manufacturerService;
-    @Resource
-    private ModelPowerService modelPowerService;
-    @Resource
-    private IGlobalCache globalCache;
-    @Resource
-    private StoptypeService stoptypeService;
-//    @Resource
-//    private TaosMapService taosMapService;
-    @Resource
-    private WindTurbineTestingPointaiyjService windTurbineTestingPointaiyjService;
-    @Resource
-    private Alertrule2ervice alertrule2ervice;
-    @Resource
-    private WindturbinepartsService windturbinepartsService;
-
-    public static List<Windpowerstation> wpallls = new ArrayList<Windpowerstation>(); // 风电场LIST集合(包含光电电)
-    public static List<Project> pjallls = new ArrayList<Project>(); //项目LIST集合(包含光电电)
-    public static List<Line> lineallls = new ArrayList<Line>(); // 线路LIST集合(包含光电电)
-    public static List<Windturbine> wtallls = new ArrayList<Windturbine>(); // 风电机LIST集合(包含光电电)
-
-    public static List<Windpowerstation> wpls = new ArrayList<Windpowerstation>(); // 风电场LIST集合
-    public static List<Windpowerstation> spls = new ArrayList<Windpowerstation>(); // 光伏场LIST集合
-    
-    public static List<Project> pjls = new ArrayList<Project>(); // 项目LIST集合
-    public static List<Line> linels = new ArrayList<Line>(); // 线路LIST集合
-    public static List<Windturbine> wtls = new ArrayList<Windturbine>(); // 风电机LIST集合
-
-    public static List< Alertrule2> alertrulels = new ArrayList< Alertrule2>(); // 自定义报警规则LIST集合
-
-
-    public static Map<String,  Alertrule2> alertrulemap = new HashMap<String,  Alertrule2>();//自定义报警规则MAP
-
-    public static Map<String, Windpowerstation> wpmap = new HashMap<String, Windpowerstation>();//风场(包含光电电)
-    public static Map<String, Project> pjmap = new HashMap<String, Project>(); // 项目MAP(包含光电电)
-    public static Map<String, Line> lnmap = new HashMap<String, Line>(); // 线路(包含光电电)
-    public static Map<String, Windturbine> wtmap = new HashMap<String, Windturbine>();//风机(包含光电电)
-
-    public static Map<String, Stoptype> stoptypemap = new HashMap<String, Stoptype>();//停机类型
-    public static List<Warning2> warnls = new ArrayList<Warning2>(); // 报警LIST集合
-    public static Map<String, Warning2> warningmap = new HashMap<String, Warning2>();// 报警MAP集合
-    public static List<Windturbineparts> windturbinepartsls = new ArrayList<Windturbineparts>();
-    public static Map<String, Windturbineparts> windturbinepartsmap = new HashMap<String, Windturbineparts>();
-    public static Map<String, Map<String, List<Warning2>>> warnmodelmap = new HashMap<>();
-    public static Map<String, List<Warning2>> warnmap = new HashMap<>();// 按照型号划分报警MAP集合 <型号,报警集合>
-    public static List<WarningClassify> warningClassls = new ArrayList<WarningClassify>(); //报警类型列表
-    public static Map<String, WarningClassify> warningClassifymap = new HashMap<String, WarningClassify>();
-    public static Map<String, Manufacturer> manufacturermap = new HashMap<String, Manufacturer>();
-
-    public static Map<String, List<Windturbine>> wp_wtmap = new HashMap<String, List<Windturbine>>();
-    public static Map<String, List<Windturbine>> pj_wtmap = new HashMap<String, List<Windturbine>>();
-    public static Map<String, List<Windturbine>> ln_wtmap = new HashMap<String, List<Windturbine>>();
-    public static Map<String, List<Project>> pjsmap = new HashMap<String, List<Project>>(); // 通过风场编号获得所属项目
-    public static Map<String, List<Line>> lnsmap = new HashMap<String, List<Line>>(); // 通过项目编号获得所属线路
-    public static Map<String, Map<Double, ModelpowerRd>> mprdMap = new HashMap<String, Map<Double, ModelpowerRd>>();
-    public static Map<String, Map<String, WindTurbineTestingPointAi>> wtPointmap = new HashMap<String, Map<String, WindTurbineTestingPointAi>>();// 风电机测点AI表
-   // public static Map<String, Map<String, Windturbinetestingpointnew>> wtPointmap = new HashMap<String, Map<String, Windturbinetestingpointnew>>();// 风电机测点AI表
-    public static Map<String, Map<String, WindPowerStationTestingPoint>> wpPointmap = new HashMap<String, Map<String, WindPowerStationTestingPoint>>();//场站测点
-    public static Map<String, Map<String, WindPowerStationTestingPoint>> pjPointmap = new HashMap<String, Map<String, WindPowerStationTestingPoint>>();//项目测点
-    public static Map<String, Map<String, WindPowerStationTestingPoint>> lnPointmap = new HashMap<String, Map<String, WindPowerStationTestingPoint>>();//线路测点
-    public static Map<String, SysQuartzJob> jobsmap = new HashMap<String, SysQuartzJob>();
-    public static Map<String, Map<Double, Windturbinepowercurvefitting>> wpcmap = new HashMap<String, Map<Double, Windturbinepowercurvefitting>>();
-    public static Map<String, Equipmentmodel> mlmap = new HashMap<String, Equipmentmodel>();// 风电机模型
-    public static Map<String, Map<String, ModelPower>> modelPowermap = new HashMap<String, Map<String, ModelPower>>();// 风电机类型对应功率表
-    public static Map<String, String> taosmap = new HashMap<String, String>(); // Taos映射
-    public static Map<String, Map<String, WindTurbineTestingPointaiyj>> wtpAiyjmap = new HashMap<String, Map<String, WindTurbineTestingPointaiyj>>();// 风电机测点AI表--针对风机预警
-    public static Map<String, Map<String, Object>> appendYcglMap = new HashMap<String, Map<String, Object>>();// 预测功率追加
-
-
-    public static Map<String,Integer> wppointnummap=new HashMap<>();
-    Map<String, Object> ycmap = new HashMap<>();
-
-
-
-    @Override
-    public void run(String... args) throws Exception {
-        System.out.println(">>>>>>>>>>>>>>>服务启动执行,换成测点关联数据 <<<<<<<<<<<<<");
-
-        //配置追加功率曲线测点
-        Map<String, Object> ycmap = new HashMap<>();
-
-        String[] ycPoints4 = Constant.TPOINT_QS3_YGCL4.split(",");
-        String[] ycPoints24 = Constant.TPOINT_QS3_YGCL24.split(",");
-        //添加预测风速第一个点,存储到当前的历史值
-        ycmap.put("cdq1", "SLFGL.NX_GD_QSF_YC_P1_L1_001_CDQ001");
-        ycmap.put("dq1","SLFGL.NX_GD_QSF_YC_P1_L1_001_DQ0001");
-        //添加预测功率后续预测点字符串数组,实时数据
-        ycmap.put("cdq2", ycPoints4);
-        ycmap.put("dq2", ycPoints24);
-
-        appendYcglMap.put("QS_FDC", ycmap);
-
-        List< Alertrule2> alertrulels =alertrule2ervice.getAlertruleAllList();
-        if(!alertrulels.isEmpty())
-        {
-            for(Alertrule2 ar:alertrulels)
-            {
-                alertrulemap.put(ar.getName(),ar);
-            }
-        }
-
-        windturbinepartsls=windturbinepartsService.findAll();
-        if(!windturbinepartsls.isEmpty())
-        {
-            for(Windturbineparts wp:windturbinepartsls)
-            {
-                windturbinepartsmap.put(wp.getId(),wp);
-            }
-
-        }
-
-
-
-
-        List<SysQuartzJob> quartzJobs=sysQuartzJobService.selectByExample(new SysQuartzJobExample());
-
-        if(!quartzJobs.isEmpty())
-        {
-            for(SysQuartzJob sysQuartzJob:quartzJobs){
-
-                jobsmap.put(sysQuartzJob.getId(),sysQuartzJob);
-            }
-
-        }
-
-
-        List<WindTurbineTestingPointaiyj> list = windTurbineTestingPointaiyjService.findAll();
-
-        Map<String, WindTurbineTestingPointaiyj> yjmap = null;
-
-        if (list != null && !list.isEmpty()) {
-            for (WindTurbineTestingPointaiyj mp : list) {
-                if (wtpAiyjmap.containsKey(mp.getWindturbineid())) {
-                    yjmap = wtpAiyjmap.get(mp.getWindturbineid());
-                    yjmap.put(mp.getUniformcode(), mp);
-                } else {
-                    yjmap = new HashMap<String, WindTurbineTestingPointaiyj>();
-                    yjmap.put(mp.getUniformcode(), mp);
-                    wtpAiyjmap.put(mp.getWindturbineid(), yjmap);
-                }
-            }
-        }
-
-        String wpString = JSON.toJSONString(globalCache.get("WP"));
-        wpPointmap = JSONObject.parseObject(wpString, new TypeReference<Map<String, Map<String, WindPowerStationTestingPoint>>>() {
-        });
-        String pjString = JSON.toJSONString(globalCache.get("PJ"));
-        pjPointmap = JSONObject.parseObject(pjString, new TypeReference<Map<String, Map<String, WindPowerStationTestingPoint>>>() {
-        });
-        String lnString = JSON.toJSONString(globalCache.get("LN"));
-        lnPointmap = JSONObject.parseObject(lnString, new TypeReference<Map<String, Map<String, WindPowerStationTestingPoint>>>() {
-        });
-
-        String wtString = JSON.toJSONString(globalCache.get("WT"));
-        wtPointmap = JSONObject.parseObject(wtString, new TypeReference<Map<String, Map<String, WindTurbineTestingPointAi>>>() {
-        });
-        String wpcmapString = (String)(globalCache.get("wpcmap"));
-        wpcmap = JSONObject.parseObject(wpcmapString, new TypeReference<Map<String, Map<Double, Windturbinepowercurvefitting>>>() {
-        });
-
-        WindpowerstationExample windpowerstationExample = new WindpowerstationExample();
-        windpowerstationExample.setOrderByClause("ordernum ASC");
-        windpowerstationExample.createCriteria().andIdNotLike("%SY_FDC%");
-        wpallls = windpowerstationService.selectByExample(windpowerstationExample);
-        if (!wpallls.isEmpty()) {
-            for (Windpowerstation wp : wpallls) {
-                if (wp.getId().endsWith("FDC")) {
-                    wpls.add(wp);
-                }
-                if (wp.getId().endsWith("GDC")) {
-                	spls.add(wp);
-                }
-                wpmap.put(wp.getId(), wp);
-            }
-        }
-
-
-        ProjectExample projectExample = new ProjectExample();
-        projectExample.setOrderByClause("ordernum ASC");
-        projectExample.createCriteria().andWindpowerstationidNotLike("%SY_FDC%");
-        pjallls = projectService.selectByExample(projectExample);
-
-        if (!pjallls.isEmpty()) {
-            for (Project pj : pjallls) {
-                pjmap.put(pj.getId(), pj);
-                if (pj.getWindpowerstationid().endsWith("FDC")) {
-                    pjls.add(pj);
-                }
-                if (pjsmap.containsKey(pj.getWindpowerstationid())) {
-                    List<Project> pjls = pjsmap.get(pj.getWindpowerstationid());
-                    pjls.add(pj);
-                    pjsmap.put(pj.getWindpowerstationid(), pjls);
-                } else {
-                    List<Project> pjls = new ArrayList<Project>();
-                    pjls.add(pj);
-                    pjsmap.put(pj.getWindpowerstationid(), pjls);
-                }
-            }
-        }
-
-        LineExample lineExample = new LineExample();
-        lineExample.setOrderByClause("ordernum ASC");
-        lineExample.createCriteria().getAllCriteria();
-        lineallls = lineService.selectByExample(lineExample);
-
-        if (!lineallls.isEmpty()) {
-            for (Line ln : lineallls) {
-                lnmap.put(ln.getId(), ln);
-                if (pjmap.containsKey(ln.getProjectid())) {
-                    Project pj = pjmap.get(ln.getProjectid());
-                    if (pj.getWindpowerstationid().endsWith("FDC")) {
-                        linels.add(ln);
-                    }
-                }
-                if (lnsmap.containsKey(ln.getProjectid())) {
-                    List<Line> lnls = lnsmap.get(ln.getProjectid());
-                    lnls.add(ln);
-                    lnsmap.put(ln.getProjectid(), lnls);
-                } else {
-                    List<Line> lnls = new ArrayList<Line>();
-                    lnls.add(ln);
-                    lnsmap.put(ln.getProjectid(), lnls);
-                }
-            }
-        }
-
-        WindturbineExample windturbineExample = new WindturbineExample();
-        windturbineExample.setOrderByClause("status ASC");
-
-        wtallls = windturbineService.selectByExample(windturbineExample);
-
-        if (!wtallls.isEmpty()) {
-            for (Windturbine wt : wtallls) {
-                if (wpmap.containsKey(wt.getWindpowerstationid())) {
-                    if (wt.getWindpowerstationid().endsWith("FDC")) {
-                        wtls.add(wt);
-                    }
-                }
-
-                wtmap.put(wt.getId(), wt);
-            }
-        }
-
-        mprdMap = modelpowerRdService.getModelpowerRdAllMap();
-
-        StoptypeExample stoptypeExample = new StoptypeExample();
-        stoptypeExample.setOrderByClause("name ASC");
-
-        List<Stoptype> stoptypels = stoptypeService.selectByExample(stoptypeExample);
-        if (stoptypels != null && !stoptypels.isEmpty()) {
-            for (int i = 0; i < stoptypels.size(); i++) {
-                stoptypemap.put(stoptypels.get(i).getId(),stoptypels.get(i));
-            }
-        }
-
-//        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);
-//                }
-//            }
-//        }
-
-        Warning2Example warningExample = new Warning2Example();
-        warningExample.setOrderByClause("id ASC");
-
-        Warning2Example.Criteria criteria = warningExample.createCriteria();
-        criteria.andEdnavalueNotEqualTo(0);
-        criteria.andWarningclassifyidIsNotNull();
-        warnls = warningService.selectByExample(warningExample);
-
-        if (warnls != null && !warnls.isEmpty()) {
-            for (int i = 0; i < warnls.size(); i++) {
-                Warning2 warning = warnls.get(i);
-
-                if (warnmodelmap.containsKey(warning.getModelid())) {
-                    Map<String, List<Warning2>> map = warnmodelmap.get(warning.getModelid());
-                    if(map.containsKey(warning.getWarningclassifyid()))
-                    {
-                        List<Warning2> ls =map.get(warning.getWarningclassifyid());
-                        ls.add(warning);
-                        map.put(warning.getWarningclassifyid(), ls);
-                    }else
-                    {
-                        List<Warning2> ls = new ArrayList<>();
-                        ls.add(warning);
-                        map.put(warning.getWarningclassifyid(), ls);
-                    }
-                    warnmodelmap.put(warning.getModelid(),map);
-                } else {
-                    Map<String, List<Warning2>> map = new HashMap<>();
-                    List<Warning2> ls = new ArrayList<>();
-                    ls.add(warning);
-                    map.put(warning.getWarningclassifyid(), ls);
-                    warnmodelmap.put(warning.getModelid(),map);
-                }
-
-                if (warnmap.containsKey(warning.getModelid())) {
-                    List<Warning2> ls =warnmap.get(warning.getModelid());
-                    ls.add(warning);
-                    warnmap.put(warning.getModelid(),ls);
-                } else {
-                    List<Warning2> ls =new ArrayList<>();
-                    ls.add(warning);
-                    warnmap.put(warning.getModelid(),ls);
-                }
-
-                warningmap.put(warning.getId(), warning);
-            }
-        }
-        if (wtallls != null && !wtallls.isEmpty()) {
-
-            for (int i = 0; i < wtallls.size(); i++) {
-
-                Windturbine point = wtallls.get(i);
-                if (wp_wtmap.containsKey(point.getWindpowerstationid())) {
-                    List<Windturbine> ls = wp_wtmap.get(point.getWindpowerstationid());
-                    ls.add(point);
-                    wp_wtmap.put(point.getWindpowerstationid(), ls);
-                } else {
-                    List<Windturbine> ls = new ArrayList();
-                    ls.add(point);
-                    wp_wtmap.put(point.getWindpowerstationid(), ls);
-                }
-
-                if (pj_wtmap.containsKey(point.getProjectid())) {
-                    List<Windturbine> ls = pj_wtmap.get(point.getProjectid());
-                    ls.add(point);
-                    pj_wtmap.put(point.getProjectid(), ls);
-                } else {
-                    List<Windturbine> ls = new ArrayList();
-                    ls.add(point);
-                    pj_wtmap.put(point.getProjectid(), ls);
-                }
-
-
-                if (ln_wtmap.containsKey(point.getLineid())) {
-                    List<Windturbine> ls = ln_wtmap.get(point.getLineid());
-                    ls.add(point);
-                    ln_wtmap.put(point.getLineid(), ls);
-                } else {
-                    List<Windturbine> ls = new ArrayList();
-                    ls.add(point);
-                    ln_wtmap.put(point.getLineid(), ls);
-                }
-
-            }
-
-
-        }
-//
-
-//        WindPowerStationTestingPoint2Example windPowerstationTestingPointExample=new WindPowerStationTestingPoint2Example();
-//        windPowerstationTestingPointExample.createCriteria().getAllCriteria();
-//        List<WindPowerStationTestingPoint2> wpPointlist= windPowerstationTestingPoint2Service.selectByExample(windPowerstationTestingPointExample);
-//
-//        Map<String,WindPowerStationTestingPoint2> items=null;
-//        if(wpPointlist!=null && !wpPointlist.isEmpty()){
-//            for(int i=0;i<wpPointlist.size();i++){
-//                WindPowerStationTestingPoint2 point=wpPointlist.get(i);
-//                if(stationPointmap.containsKey(point.getWindpowerstationid())){
-//                    items=stationPointmap.get(point.getWindpowerstationid());
-//                    items.put(point.getUniformcode(), point);
-//                }
-//                else{
-//                    items=new HashMap<String,WindPowerStationTestingPoint2>();
-//                    stationPointmap.put(point.getWindpowerstationid(), items);
-//                    items.put(point.getUniformcode(), point);
-//                }
-//
-//            }
-//        }
-//
-//        WindTurbineTestingPointAi2Example windTurbineTestingPointAiExample=new WindTurbineTestingPointAi2Example();
-//        windTurbineTestingPointAiExample.createCriteria().getAllCriteria();
-//        List<WindTurbineTestingPointAi2> wtAilist= windTurbineTestingPointAiService.selectByExample(windTurbineTestingPointAiExample);
-//
-//        Map<String, WindTurbineTestingPointAi2> map = null;
-//
-//        if(wtAilist != null && !wtAilist.isEmpty()){
-//            for(WindTurbineTestingPointAi2 mp : wtAilist){
-//                if(wtpAimap.containsKey(mp.getWindturbineid())){
-//                    map = wtpAimap.get(mp.getWindturbineid());
-//                    map.put(mp.getUniformcode(), mp);
-//                }else{
-//                    map = new HashMap<String, WindTurbineTestingPointAi2>();
-//                    map.put(mp.getUniformcode(), mp);
-//                    wtpAimap.put(mp.getWindturbineid(), map);
-//                }
-//            }
-//        }
-
-        EquipmentmodelExample example = new EquipmentmodelExample();
-        List<Equipmentmodel> mlls = equipmentmodelService.selectByExample(example);
-        if (!mlls.isEmpty()) {
-            for (Equipmentmodel model : mlls) {
-                mlmap.put(model.getId(), model);
-            }
-        }
-
-        WarningClassifyExample wcexample = new WarningClassifyExample();
-        warningClassls = warningClassifyService.selectByExample(wcexample);
-        if (!warningClassls.isEmpty()) {
-            for (WarningClassify model : warningClassls) {
-                warningClassifymap.put(model.getId(), model);
-            }
-        }
-
-        ManufacturerExample mfexample = new ManufacturerExample();
-        List<Manufacturer> mfls = manufacturerService.selectByExample(mfexample);
-        if (!mfls.isEmpty()) {
-            for (Manufacturer model : mfls) {
-                manufacturermap.put(model.getId(), model);
-            }
-        }
-
-        ModelPowerExample mpexample = new ModelPowerExample();
-        List<ModelPower> mpls = modelPowerService.selectByExample(mpexample);
-        if (!mpls.isEmpty()) {
-
-            Map<String, ModelPower> mpmap = null;
-
-            if (mpls != null && !mpls.isEmpty()) {
-                for (ModelPower mp : mpls) {
-                    if (modelPowermap.containsKey(mp.getModelid())) {
-                        mpmap = modelPowermap.get(mp.getModelid());
-                        mpmap.put(String.valueOf(mp.getSpeed().doubleValue()), mp);
-                    } else {
-                        mpmap = new HashMap<String, ModelPower>();
-                        mpmap.put(String.valueOf(mp.getSpeed().doubleValue()), mp);
-                        modelPowermap.put(mp.getModelid(), mpmap);
-                    }
-                }
-            }
-        }
-        wppointnummap= windPowerstationTestingPoint2Service.getWpPointTotal();
-    }
-
-}

+ 0 - 116
web/monitor-web-hb/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/monitor-web-hb/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/monitor-web-hb/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();
-    }
-
-}

File diff suppressed because it is too large
+ 0 - 1057
web/monitor-web-hb/src/main/java/com/gyee/frame/common/support/Convert.java


+ 0 - 240
web/monitor-web-hb/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/monitor-web-hb/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 - 148
web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/ClientInboundChannelInterceptor.java

@@ -1,148 +0,0 @@
-package com.gyee.frame.common.websocket;
-
-import com.gyee.frame.common.quartz.QuartzSchedulerUtil;
-import com.gyee.frame.util.StringUtils;
-import org.springframework.messaging.Message;
-import org.springframework.messaging.MessageChannel;
-import org.springframework.messaging.simp.SimpMessageHeaderAccessor;
-import org.springframework.messaging.simp.stomp.StompCommand;
-import org.springframework.messaging.simp.stomp.StompHeaderAccessor;
-import org.springframework.messaging.support.ChannelInterceptor;
-import org.springframework.messaging.support.MessageHeaderAccessor;
-import org.springframework.stereotype.Component;
-
-import java.util.LinkedList;
-import java.util.Map;
-import java.util.concurrent.CopyOnWriteArraySet;
-
-/**
- * websocket建立链接的时候获取headeri里认证的参数拦截器。
- */
-@Component
-public class ClientInboundChannelInterceptor extends QuartzSchedulerUtil.SocketTaskUtil implements ChannelInterceptor {
-
-
-    private String AUTHTOKEN="authToken";
-    @Override
-    public Message<?> preSend(Message<?> message, MessageChannel channel) {
-        StompHeaderAccessor accessor = MessageHeaderAccessor.getAccessor(message, StompHeaderAccessor.class);
-        if (StompCommand.CONNECT.equals(accessor.getCommand())) {
-            Object raw = message.getHeaders().get(SimpMessageHeaderAccessor.NATIVE_HEADERS);
-
-            String topic=null;
-            String authToken=null;
-            if (raw instanceof Map) {
-                Object name = ((Map) raw).get("topic");
-                LinkedList<String> temp=(LinkedList<String>) name;
-                topic=temp.get(0);
-                Object authTokenobj = ((Map) raw).get("authToken");
-                 temp=(LinkedList<String>) authTokenobj;
-                authToken=temp.get(0);
-            }
-            //String authToken =String.valueOf(message.getHeaders().get(SimpMessageHeaderAccessor.SESSION_ID_HEADER));
-
-           // String authToken =String.valueOf(message.getHeaders().get(AUTHTOKEN));
-            if(StringUtils.notEmp(topic) && !topic.equals("undefined") && StringUtils.notEmp(authToken) && !authToken.equals("undefined")) {
-
-
-                //判断是否为带参操作
-                if(topic.indexOf(WebSocketConfig.PARAM)!=-1)
-                {
-                    if (StringUtils.notEmp(authToken)) {
-                        //判断带参sessionMAP中是否包含authToken
-                        if (WebSocketConfig.sessionparamcacheMap.containsKey(authToken)) {
-                            //通过sessionId获得topicSET集合
-                            CopyOnWriteArraySet<String> set = WebSocketConfig.sessionparamcacheMap.get(authToken);
-                            //截取topic/****/中的功能描述
-                            String temptoptic=topic.substring(topic.indexOf("/")+1);
-                            temptoptic=temptoptic.substring(0,temptoptic.indexOf("/"));
-                            //遍历SET中的主体
-                            for(String str:set)
-                            {
-                                //截取str/****/中的功能描述
-                                String tempstr=str.substring(str.indexOf("/")+1);
-                                tempstr=tempstr.substring(0,tempstr.indexOf("/"));
-                                //判断str的功能描述和topic的功能描述是否一致
-                                if(temptoptic.equals(tempstr))
-                                {
-                                    //功能描述一致,移除相同功能的主题,保证每个sessionid相同功能只能通过传参订阅一个主题
-                                    set.remove(str);
-                                    //提供过str主题获得sessionidSET集合
-                                    CopyOnWriteArraySet<String> sessionIdset = WebSocketConfig.websocketparamcacheMap.get(str);
-                                    //移除主题中的sessionId
-                                    sessionIdset.remove(authToken);
-                                    //如果sessionIdset记录为空,移除websocketparamcacheMap的主题
-                                    if(sessionIdset.size()==0)
-                                    {
-                                        WebSocketConfig.websocketparamcacheMap.remove(str);
-                                    }
-
-                                }
-                            }
-                            //添加新的主题
-                            set.add(topic);
-                            WebSocketConfig.sessionparamcacheMap.put(authToken, set);
-                        } else {
-                            CopyOnWriteArraySet<String> set = new CopyOnWriteArraySet<String>();
-                            set.add(topic);
-                            WebSocketConfig.sessionparamcacheMap.put(authToken, set);
-                        }
-
-
-                    }
-
-                    if (WebSocketConfig.websocketparamcacheMap.containsKey(topic)) {
-                        CopyOnWriteArraySet<String> set = WebSocketConfig.websocketparamcacheMap.get(topic);
-                        set.add(authToken);
-                        WebSocketConfig.websocketparamcacheMap.put(topic, set);
-                    } else {
-                        CopyOnWriteArraySet<String> set = new CopyOnWriteArraySet<String>();
-                        set.add(authToken);
-                        WebSocketConfig.websocketparamcacheMap.put(topic, set);
-                    }
-                }else
-                {
-                    if (WebSocketConfig.websocketcacheMap.containsKey(topic)) {
-                        CopyOnWriteArraySet<String> set = WebSocketConfig.websocketcacheMap.get(topic);
-                        set.add(authToken);
-                        WebSocketConfig.websocketcacheMap.put(topic, set);
-                    } else {
-                        CopyOnWriteArraySet<String> set = new CopyOnWriteArraySet<String>();
-                        set.add(authToken);
-                        WebSocketConfig.websocketcacheMap.put(topic, set);
-                    }
-
-
-                    if (StringUtils.notEmp(authToken)) {
-                        if (WebSocketConfig.sessioncacheMap.containsKey(authToken)) {
-                            CopyOnWriteArraySet<String> set = WebSocketConfig.sessioncacheMap.get(authToken);
-                            set.add(topic);
-                            WebSocketConfig.sessioncacheMap.put(authToken, set);
-                        } else {
-                            CopyOnWriteArraySet<String> set = new CopyOnWriteArraySet<String>();
-                            set.add(topic);
-                            WebSocketConfig.sessioncacheMap.put(authToken, set);
-                        }
-
-
-                    }
-                }
-
-
-                if(topic.indexOf(WebSocketConfig.PARAM)!=-1)
-                {
-
-//                    String wtid=topic.substring(topic.indexOf(PARAM)+6);
-                    topic=topic.substring(0,topic.indexOf("_"));
-                    this.restartJob(topic);
-                }else
-                {
-                    this.restartJob(topic);
-                }
-
-            }
-
-        }
-        return message;
-    }
-}

+ 0 - 65
web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/WebSocketCache.java

@@ -1,65 +0,0 @@
-package com.gyee.frame.common.websocket;
-
-import com.gyee.frame.common.quartz.QuartzSchedulerUtil;
-import org.springframework.context.event.EventListener;
-import org.springframework.stereotype.Component;
-import org.springframework.web.socket.messaging.SessionDisconnectEvent;
-
-import javax.annotation.Resource;
-
-@Component
-public class WebSocketCache  extends QuartzSchedulerUtil.SocketTaskUtil {
-
-    @Resource
-    private WebSocketLoginOutEvent webSocketLoginOutEvent;
-//    public static ConcurrentHashMap<String, CopyOnWriteArraySet<String>> websocketcacheMap = new ConcurrentHashMap();
-//
-//    @EventListener(SessionConnectEvent.class)
-//    public void onSessionConnectEvent(SessionConnectEvent event) {
-//
-//        //获取Session连接信息
-//        StompHeaderAccessor sha = StompHeaderAccessor.wrap(event.getMessage());
-//
-//        sha
-//        List<String> topics=sha.getNativeHeader("topic");
-//        //获取SessionId
-//        String authToken = sha.getSessionId();
-//
-//       if(StringUtils.isNotEmpty(topics))
-//       {
-//
-//           String topic=topics.get(0);
-//
-//           if(websocketcacheMap.containsKey(topic))
-//           {
-//               CopyOnWriteArraySet<String> set=websocketcacheMap.get(topic);
-//               set.add(authToken);
-//               websocketcacheMap.put(topic,set);
-//           }else
-//           {
-//               CopyOnWriteArraySet<String> set= new CopyOnWriteArraySet<String>();
-//               set.add(authToken);
-//               websocketcacheMap.put(topic,set);
-//           }
-//           if(InitialRunner.jobsmap.containsKey(topic))
-//           {
-//               this.restartJob(topic);
-//           }
-//       }
-//
-//
-//    }
-//
-//
-    @EventListener(SessionDisconnectEvent.class)
-    public void onDisconnectEvent(SessionDisconnectEvent event) {
-//        //获取Session连接信息
-//        StompHeaderAccessor sha = StompHeaderAccessor.wrap(event.getMessage());
-//        String authToken=String.valueOf(sha.getHeader("authToken"));
-//
-//        webSocketLoginOutEvent.loginOut(authToken);
-
-
-    }
-
-}

+ 0 - 241
web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/WebSocketConfig.java

@@ -1,241 +0,0 @@
-package com.gyee.frame.common.websocket;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.messaging.converter.MessageConverter;
-import org.springframework.messaging.simp.config.ChannelRegistration;
-import org.springframework.messaging.simp.config.MessageBrokerRegistry;
-import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
-import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker;
-import org.springframework.web.socket.config.annotation.StompEndpointRegistry;
-import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer;
-import org.springframework.web.socket.config.annotation.WebSocketTransportRegistration;
-
-import javax.annotation.Resource;
-import java.util.List;
-import java.util.concurrent.ConcurrentHashMap;
-import java.util.concurrent.CopyOnWriteArraySet;
-
-/**
- * @descrition: 前台测试代码在 test/resources/websockettest.html
- */
-
-@Configuration
-@EnableWebSocketMessageBroker
-public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
-
-    public static final String PARAM="param_";
-    public static ConcurrentHashMap<String, CopyOnWriteArraySet<String>> websocketcacheMap = new ConcurrentHashMap();
-    public static ConcurrentHashMap<String, CopyOnWriteArraySet<String>> sessioncacheMap = new ConcurrentHashMap();
-
-    public static ConcurrentHashMap<String, CopyOnWriteArraySet<String>> websocketparamcacheMap = new ConcurrentHashMap();
-    public static ConcurrentHashMap<String, CopyOnWriteArraySet<String>> sessionparamcacheMap = new ConcurrentHashMap();
-    //
-    @Resource
-    private ClientInboundChannelInterceptor clientInboundChannelInterceptor;
-
-    /**
-     * 注册stomp端点,主要是起到连接作用
-     *
-     * @param stompEndpointRegistry
-     */
-    @Override
-    public void registerStompEndpoints(StompEndpointRegistry stompEndpointRegistry) {
-        stompEndpointRegistry
-                .addEndpoint("/gyee-websocket")  //端点名称
-                //.setHandshakeHandler() 握手处理,主要是连接的时候认证获取其他数据验证等
-                //.addInterceptors() 拦截处理,和http拦截类似
-                .setAllowedOrigins("*");//跨域
-     //  .withSockJS(); //使用sockJS1启用该行代码,使用VUE注释该行代码
-
-    }
-//    /**
-//     * 采用自定义拦截器,获取connect时候传递的参数
-//     *
-//     * @param registration
-//     */
-//    @Override
-//    public void configureClientInboundChannel(ChannelRegistration registration) {
-//        registration.interceptors(clientInboundChannelInterceptor);
-//    }
-
-
-//    /**
-//     * 注册相关服务
-//     *
-//     * @param registry
-//     */
-//    @Override
-//    public void configureMessageBroker(MessageBrokerRegistry registry) {
-//
-//        registry.enableSimpleBroker("/topic", "/queue");
-//        //客户端名称前缀
-//        registry.setApplicationDestinationPrefixes("/app");
-//        //用户名称前
-//        registry.setUserDestinationPrefix("/userDataSet");
-//    }
-
-    /**
-     * 配置消息代理
-     * @param registry
-     */
-    @Override
-    public void configureMessageBroker(MessageBrokerRegistry registry)
-    {
-        /*
-         *  enableStompBrokerRelay 配置外部的STOMP服务,需要安装额外的支持 比如rabbitmq或activemq
-         * 1. 配置代理域,可以配置多个,此段代码配置代理目的地的前缀为 /topicTest 或者 /userTest
-         *    我们就可以在配置的域上向客户端推送消息
-         * 3. 可以通过 setRelayHost 配置代理监听的host,默认为localhost
-         * 4. 可以通过 setRelayPort 配置代理监听的端口,默认为61613
-         * 5. 可以通过 setClientLogin 和 setClientPasscode 配置账号和密码
-         * 6. setxxx这种设置方法是可选的,根据业务需要自行配置,也可以使用默认配置
-         */
-        //registry.enableStompBrokerRelay("/topicTest","/userTest")
-        //.setRelayHost("rabbit.someotherserver")
-        //.setRelayPort(62623);
-        //.setClientLogin("userName")
-        //.setClientPasscode("password")
-        //;
-
-        // 自定义调度器,用于控制心跳线程
-        ThreadPoolTaskScheduler taskScheduler = new ThreadPoolTaskScheduler();
-        // 线程池线程数,心跳连接开线程
-        taskScheduler.setPoolSize(1);
-        // 线程名前缀
-        taskScheduler.setThreadNamePrefix("websocket-heartbeat-thread-");
-        // 初始化
-        taskScheduler.initialize();
-
-        /*
-         * spring 内置broker对象
-         * 1. 配置代理域,可以配置多个,此段代码配置代理目的地的前缀为 /topicTest 或者 /userTest
-         *    我们就可以在配置的域上向客户端推送消息
-         * 2,进行心跳设置,第一值表示server最小能保证发的心跳间隔毫秒数, 第二个值代码server希望client发的心跳间隔毫秒数
-         * 3. 可以配置心跳线程调度器 setHeartbeatValue这个不能单独设置,不然不起作用,要配合setTaskScheduler才可以生效
-         *    调度器我们可以自己写一个,也可以自己使用默认的调度器 new DefaultManagedTaskScheduler()
-         */
-        registry.enableSimpleBroker("/topic","/queue")
-                .setHeartbeatValue(new long[]{10000,10000})
-                .setTaskScheduler(taskScheduler);
-        /*
-         *  "/app" 为配置应用服务器的地址前缀,表示所有以/app 开头的客户端消息或请求
-         *  都会路由到带有@MessageMapping 注解的方法中
-         */
-        registry.setApplicationDestinationPrefixes("/app");
-
-        /*
-         *  1. 配置一对一消息前缀, 客户端接收一对一消息需要配置的前缀 如“'/user/'+userid + '/message'”,
-         *     是客户端订阅一对一消息的地址 stompClient.subscribe js方法调用的地址
-         *  2. 使用@SendToUser发送私信的规则不是这个参数设定,在框架内部是用UserDestinationMessageHandler处理,
-         *     而不是而不是 AnnotationMethodMessageHandler 或  SimpleBrokerMessageHandler
-         *     or StompBrokerRelayMessageHandler,是在@SendToUser的URL前加“user+sessionId"组成
-         */
-        registry.setUserDestinationPrefix("/user");
-
-        /*
-         * 自定义路径分割符
-         * 注释掉的这段代码添加的分割符为. 分割是类级别的@messageMapping和方法级别的@messageMapping的路径
-         * 例如类注解路径为 “topic”,方法注解路径为“hello”,那么客户端JS stompClient.send 方法调用的路径为“/app/topic.hello”
-         * 注释掉此段代码后,类注解路径“/topic”,方法注解路径“/hello”,JS调用的路径为“/app/topic/hello”
-         */
-        //registry.setPathMatcher(new AntPathMatcher("."));
-
-    }
-
-
-    /**
-     * 配置发送与接收的消息参数,可以指定消息字节大小,缓存大小,发送超时时间
-     * @param registration
-     */
-    @Override
-    public void configureWebSocketTransport(WebSocketTransportRegistration registration) {
-        /*
-         * 1. setMessageSizeLimit 设置消息缓存的字节数大小 字节
-         * 2. setSendBufferSizeLimit 设置websocket会话时,缓存的大小 字节
-         * 3. setSendTimeLimit 设置消息发送会话超时时间,毫秒
-         */
-        registration.setMessageSizeLimit(1024*10)
-                .setSendBufferSizeLimit(1024*10)
-                .setSendTimeLimit(10000);
-    }
-
-    /**
-     * 设置输入消息通道的线程数,默认线程为1,可以自己自定义线程数,最大线程数,线程存活时间
-     * @param registration
-     */
-    @Override
-    public void configureClientInboundChannel(ChannelRegistration registration) {
-
-        /*
-         * 配置消息线程池
-         * 1. corePoolSize 配置核心线程池,当线程数小于此配置时,不管线程中有无空闲的线程,都会产生新线程处理任务
-         * 2. maxPoolSize 配置线程池最大数,当线程池数等于此配置时,不会产生新线程
-         * 3. keepAliveSeconds 线程池维护线程所允许的空闲时间,单位秒
-         */
-        registration.taskExecutor().corePoolSize(10)
-                .maxPoolSize(20)
-                .keepAliveSeconds(60);
-        /*
-         * 添加stomp自定义拦截器,可以根据业务做一些处理
-         * springframework 4.3.12 之后版本此方法废弃,代替方法 interceptors(ChannelInterceptor... interceptors)
-         * 消息拦截器,实现ChannelInterceptor接口
-         */
-        registration.interceptors(clientInboundChannelInterceptor);
-    }
-
-    /**
-     *设置输出消息通道的线程数,默认线程为1,可以自己自定义线程数,最大线程数,线程存活时间
-     * @param registration
-     */
-    @Override
-    public void configureClientOutboundChannel(ChannelRegistration registration) {
-        registration.taskExecutor().corePoolSize(100)
-                .maxPoolSize(1000)
-                .keepAliveSeconds(60);
-        //registration.setInterceptors(new WebSocketChannelInterceptor());
-    }
-
-    /**
-     * 添加自定义的消息转换器,spring 提供多种默认的消息转换器,
-     * 返回false,不会添加消息转换器,返回true,会添加默认的消息转换器,当然也可以把自己写的消息转换器添加到转换链中
-     * @param list
-     * @return
-     */
-    @Override
-    public boolean configureMessageConverters(List<MessageConverter> list) {
-        return true;
-    }
-
-//    /**
-//     * 自定义控制器方法的参数类型,有兴趣可以百度google HandlerMethodArgumentResolver这个的用法
-//     * @param list
-//     */
-//    @Override
-//    public void addArgumentResolvers(List<HandlerMethodArgumentResolver> list) {
-//
-//    }
-//
-//    /**
-//     * 自定义控制器方法返回值类型,有兴趣可以百度google HandlerMethodReturnValueHandler这个的用法
-//     * @param list
-//     */
-//    @Override
-//    public void addReturnValueHandlers(List<HandlerMethodReturnValueHandler> list) {
-//
-//    }
-//
-//    /**
-//     * 拦截器加入 spring ioc容器
-//     * @return
-//     */
-//    @Bean
-//    public WebSocketChannelInterceptor webSocketChannelInterceptor()
-//    {
-//        return new WebSocketChannelInterceptor();
-//    }
-
-
-
-}
-
-

+ 0 - 68
web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/WebSocketLoginOutEvent.java

@@ -1,68 +0,0 @@
-package com.gyee.frame.common.websocket;
-
-import com.gyee.frame.common.quartz.QuartzSchedulerUtil;
-import com.gyee.frame.util.StringUtils;
-import org.springframework.stereotype.Component;
-
-import java.util.concurrent.CopyOnWriteArraySet;
-
-@Component
-public class WebSocketLoginOutEvent extends QuartzSchedulerUtil.SocketTaskUtil {
-
-    public void loginOut(String authToken) {
-
-        if(StringUtils.notEmp(authToken) && !authToken.equals("null"))
-        {
-            if(WebSocketConfig.sessioncacheMap.containsKey(authToken))
-            {
-                CopyOnWriteArraySet<String> sessionIdset=WebSocketConfig.sessioncacheMap.get(authToken);
-
-                for(String topic:sessionIdset)
-                {
-                    if(WebSocketConfig.websocketcacheMap.containsKey(topic))
-                    {
-                        CopyOnWriteArraySet<String> set=WebSocketConfig.websocketcacheMap.get(topic);
-                        set.remove(authToken);
-                        WebSocketConfig.websocketcacheMap.put(topic,set);
-
-                        if(set.size()==0)
-                        {
-                            WebSocketConfig.websocketcacheMap.remove(topic);
-                            this.deleteJob(topic);
-                        }
-                    }
-
-                    sessionIdset.remove(topic);
-                }
-                WebSocketConfig.sessioncacheMap.remove(authToken);
-            }
-
-
-            if(WebSocketConfig.sessionparamcacheMap.containsKey(authToken))
-            {
-                CopyOnWriteArraySet<String> sessionIdset=WebSocketConfig.sessionparamcacheMap.get(authToken);
-
-                for(String topic:sessionIdset)
-                {
-                    if(WebSocketConfig.websocketparamcacheMap.containsKey(topic))
-                    {
-                        CopyOnWriteArraySet<String> set=WebSocketConfig.websocketparamcacheMap.get(topic);
-                        set.remove(authToken);
-                        WebSocketConfig.websocketparamcacheMap.put(topic,set);
-
-                        if(set.size()==0)
-                        {
-                            WebSocketConfig.websocketparamcacheMap.remove(topic);
-                            this.deleteJob(topic);
-                        }
-                    }
-
-                    sessionIdset.remove(topic);
-                }
-                WebSocketConfig.sessionparamcacheMap.remove(authToken);
-            }
-        }
-
-    }
-
-}

+ 0 - 30
web/monitor-web-hb/src/main/java/com/gyee/frame/common/websocket/WebsocketMessageService.java

@@ -1,30 +0,0 @@
-package com.gyee.frame.common.websocket;
-
-import com.alibaba.fastjson.JSON;
-import com.gyee.frame.common.conf.AjaxStatus;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.util.StringUtils;
-import org.springframework.messaging.simp.SimpMessagingTemplate;
-import org.springframework.stereotype.Component;
-
-import javax.annotation.Resource;
-
-
-@Component
-public class WebsocketMessageService
-{
-
-    @Resource
-    private SimpMessagingTemplate simpMessagingTemplate;
-
-
-    public void SendAlertToAll(String destination, Object sendData)
-    {
-        if (StringUtils.notEmp(sendData)) {
-            simpMessagingTemplate.convertAndSend(destination, AjaxResult.successData(AjaxStatus.success.code, JSON.toJSONString(sendData)));
-        } else {
-            simpMessagingTemplate.convertAndSend(destination, AjaxResult.successData(AjaxStatus.error.code, "数据传输错误"));
-        }
-
-    }
-}

+ 0 - 501
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/AdminController.java

@@ -1,501 +0,0 @@
-package com.gyee.frame.controller;
-
-import com.google.code.kaptcha.Constants;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.conf.AjaxStatus;
-import com.gyee.frame.common.conf.V2Config;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.common.websocket.WebSocketLoginOutEvent;
-import com.gyee.frame.model.auto.SysNotice;
-import com.gyee.frame.model.auto.TsysUser;
-import com.gyee.frame.model.custom.BootstrapTree;
-import com.gyee.frame.model.custom.ElementNode;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.model.custom.TokenUser;
-import com.gyee.frame.shiro.config.ShiroService;
-import com.gyee.frame.shiro.util.ShiroUtils;
-import com.gyee.frame.util.StringUtils;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-import org.apache.shiro.SecurityUtils;
-import org.apache.shiro.authc.*;
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import org.apache.shiro.subject.Subject;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.*;
-import org.springframework.web.servlet.mvc.support.RedirectAttributes;
-
-import javax.annotation.Resource;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * 后台方法
- * 
- * @ClassName: HomeController
- * @author gyee
- * @date 2019-10-21 00:10
- *
- */
-@Controller
-@RequestMapping("/admin")
-@CrossOrigin
-@Api(value = "后台管理接口" ,tags="后台管理接口")
-public class AdminController extends BaseController {
-	private static Logger logger = LoggerFactory.getLogger(AdminController.class);
-
-	private String prefix = "admin";
-	private String AUTHTOKEN="authToken";
-	@Resource
-	private ShiroService shiroService;
-	@Resource
-	private WebSocketLoginOutEvent webSocketLoginOutEvent;
-
-	@ApiOperation(value = "首页", notes = "首页")
-	@GetMapping("/index")
-	public String index(HttpServletRequest request) {
-		// 获取菜单栏
-		BootstrapTree bootstrapTree = sysPermissionService.getbooBootstrapTreePerm(ShiroUtils.getUserId());
-		request.getSession().setAttribute("bootstrapTree", bootstrapTree);
-		request.getSession().setAttribute("sessionUserName", ShiroUtils.getUser().getNickname());
-		// 获取公告信息
-		List<SysNotice> notices = sysNoticeService.getuserNoticeNotRead(ShiroUtils.getUser(), 0);
-		request.getSession().setAttribute("notices", notices);
-		return prefix + "/index";
-	}
-
-	@ApiOperation(value = "局部刷新区域", notes = "局部刷新区域")
-	@GetMapping("/main")
-	public String main(ModelMap map) {
-		setTitle(map, new TitleVo("首页", "首页", true, "欢迎进入", true, false));
-		return prefix + "/main";
-	}
-
-	/**
-	 * 请求到登陆界面
-	 * 
-	 * @return
-	 */
-	@ApiOperation(value = "请求到登陆界面", notes = "请求到登陆界面")
-	@GetMapping("/login")
-	public String login(ModelMap modelMap) {
-		try {
-			if ((null != SecurityUtils.getSubject() && SecurityUtils.getSubject().isAuthenticated())
-					|| SecurityUtils.getSubject().isRemembered()) {
-				return "redirect:/" + prefix + "/index";
-			} else {
-				System.out.println("--进行登录验证..验证开始");
-
-				modelMap.put("RollVerification", V2Config.getRollVerification());
-				System.out.println("V2Config.getRollVerification()>>>" + V2Config.getRollVerification());
-				return "login";
-			}
-		} catch (Exception e) {
-			e.printStackTrace();
-		}
-		return "login";
-	}
-
-	/**
-	 * 用户登陆验证
-	 * 
-	 * @param user
-	 * @param redirectAttributes
-	 * @param rememberMe
-	 * @param request
-	 * @return
-	 */
-//	@ApiOperation(value = "用户登陆验证", notes = "用户登陆验证")
-	@PostMapping("/login")
-	@ResponseBody
-	public AjaxResult login(TsysUser user, String code, RedirectAttributes redirectAttributes, boolean rememberMe,
-			HttpServletRequest request) {
-		// ModelAndView view =new ModelAndView();
-		Boolean yz = false;
-		if (V2Config.getRollVerification()) {// 滚动验证
-			yz = true;
-		} else {// 图片验证
-			String scode = (String) request.getSession().getAttribute(Constants.KAPTCHA_SESSION_KEY);
-			yz = StringUtils.isNotEmpty(scode) && StringUtils.isNotEmpty(code) && scode.equals(code);
-		}
-		// 判断验证码
-		if (yz) {
-			String userName = user.getUsername();
-			Subject currentUser = SecurityUtils.getSubject();
-
-			// 是否验证通过
-			if (!currentUser.isAuthenticated()) {
-				UsernamePasswordToken token = new UsernamePasswordToken(userName, user.getPassword());
-				try {
-//					if (rememberMe) {
-					if (true) {
-						token.setRememberMe(true);
-					}
-					// 存入用户
-					currentUser.login(token);
-					if (StringUtils.isNotNull(ShiroUtils.getUser())) {
-						// 若为前后端分离版本,则可把sessionId返回,作为分离版本的请求头authToken
-						// String authToken = ShiroUtils.getSessionId();
-						// return AjaxResult.successData(200, authToken);
-						return AjaxResult.success();
-					} else {
-						return AjaxResult.error(500, "未知账户");
-					}
-				} catch (UnknownAccountException uae) {
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,未知账户");
-					return AjaxResult.error(500, "未知账户");
-				} catch (IncorrectCredentialsException ice) {
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,错误的凭证");
-					return AjaxResult.error(500, "用户名或密码不正确");
-				} catch (LockedAccountException lae) {
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,账户已锁定");
-					return AjaxResult.error(500, "账户已锁定");
-				} catch (ExcessiveAttemptsException eae) {
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,错误次数过多");
-					return AjaxResult.error(500, "用户名或密码错误次数过多");
-				} catch (AuthenticationException ae) {
-					// 通过处理Shiro的运行时AuthenticationException就可以控制用户登录失败或密码错误时的情景
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,堆栈轨迹如下");
-					ae.printStackTrace();
-					return AjaxResult.error(500, "用户名或密码不正确");
-				}
-			} else {
-				if (StringUtils.isNotNull(ShiroUtils.getUser())) {
-					// 跳转到 get请求的登陆方法
-					// view.setViewName("redirect:/"+prefix+"/index");
-					return AjaxResult.success();
-				} else {
-					return AjaxResult.error(500, "未知账户");
-				}
-			}
-		} else {
-			return AjaxResult.error(500, "验证码不正确!");
-		}
-
-	}
-
-
-	/**
-	 * 用户登陆验证
-	 *
-	 * @param user
-	 * @param request
-	 * @return
-	 */
-	@ApiOperation(value = "用户登陆验证", notes = "用户登陆验证")
-	@PostMapping("/loginvue")
-	@ResponseBody
-	public AjaxResult loginvue(TsysUser user,
-							HttpServletRequest request) {
-		// ModelAndView view =new ModelAndView();
-
-			String userName = user.getUsername();
-			Subject currentUser = SecurityUtils.getSubject();
-			String customtoken = request.getHeader(AUTHTOKEN);
-
-				if(StringUtils.notEmp(customtoken))
-				{
-					TokenUser customuser = shiroService.findToken(customtoken);
-					/**
-					 * user == null 表示第一次登录
-					 */
-					if (customuser == null)
-					{
-						return initialLogin(user, userName, currentUser);
-					}else
-					{
-						long expireTime = customuser.getExpireTime();
-						long nowTime = new Date().getTime();
-						/**
-						 * 判断登录是否过期
-						 */
-						if (nowTime - expireTime > shiroService.EXPIRE)
-						{
-							return AjaxResult.error(AjaxStatus.loginexpire.code, "账号已过期请重新登录");
-						}else
-						{
-							Map<String, Object> result = new HashMap<>();
-							result.put(AUTHTOKEN, customtoken);
-							result.put("user", customuser);
-							return AjaxResult.successData(AjaxStatus.success.code, result);
-						}
-
-					}
-				}else
-				{
-					return initialLogin(user, userName, currentUser);
-				}
-
-
-	}
-
-	private AjaxResult initialLogin(TsysUser user, String userName, Subject currentUser) {
-		// 是否验证通过
-		if (!currentUser.isAuthenticated()) {
-			UsernamePasswordToken token = new UsernamePasswordToken(userName, user.getPassword());
-			try {
-				token.setRememberMe(true);
-				// 存入用户
-				currentUser.login(token);
-
-				Map<String, Object> authToken = shiroService.createToken(ShiroUtils.getUser());
-
-				if(authToken.containsKey(AUTHTOKEN))
-				{
-					return AjaxResult.successData(AjaxStatus.success.code, authToken);
-				}else
-				{
-					return AjaxResult.error(AjaxStatus.logineroor.code, "未知账户");
-				}
-
-//							if (StringUtils.isNotNull(ShiroUtils.getUser())) {
-//
-//								// 若为前后端分离版本,则可把sessionId返回,作为分离版本的请求头authToken
-//								String sessionId = ShiroUtils.getSessionId();
-//								return AjaxResult.successData(AjaxStatus.success.code, sessionId);
-////
-//							} else {
-//								return AjaxResult.error(AjaxStatus.logineroor.code, "未知账户");
-//							}
-			} catch (UnknownAccountException uae) {
-				logger.info("对用户[" + userName + "]进行登录验证..验证未通过,未知账户");
-				return AjaxResult.error(AjaxStatus.logineroor.code, "未知账户");
-			} catch (IncorrectCredentialsException ice) {
-				logger.info("对用户[" + userName + "]进行登录验证..验证未通过,错误的凭证");
-				return AjaxResult.error(AjaxStatus.logineroor.code, "用户名或密码不正确");
-			} catch (LockedAccountException lae) {
-				logger.info("对用户[" + userName + "]进行登录验证..验证未通过,账户已锁定");
-				return AjaxResult.error(AjaxStatus.logineroor.code, "账户已锁定");
-			} catch (ExcessiveAttemptsException eae) {
-				logger.info("对用户[" + userName + "]进行登录验证..验证未通过,错误次数过多");
-				return AjaxResult.error(AjaxStatus.logineroor.code, "用户名或密码错误次数过多");
-			} catch (AuthenticationException ae) {
-				// 通过处理Shiro的运行时AuthenticationException就可以控制用户登录失败或密码错误时的情景
-				logger.info("对用户[" + userName + "]进行登录验证..验证未通过,堆栈轨迹如下");
-				ae.printStackTrace();
-				return AjaxResult.error(AjaxStatus.logineroor.code, "用户名或密码不正确");
-			}
-		} else {
-			if (StringUtils.isNotNull(ShiroUtils.getUser())) {
-				// 跳转到 get请求的登陆方法
-				// view.setViewName("redirect:/"+prefix+"/index");
-				Map<String, Object> authToken = shiroService.createToken(ShiroUtils.getUser());
-
-				if(authToken.containsKey(AUTHTOKEN))
-				{
-					return AjaxResult.successData(AjaxStatus.success.code, authToken);
-				}else
-				{
-					return AjaxResult.error(AjaxStatus.logineroor.code, "未知账户");
-				}
-			} else {
-				return AjaxResult.error(AjaxStatus.logineroor.code, "未知账户");
-			}
-		}
-	}
-
-
-	@ApiOperation(value = "获取用户菜单", notes = "获取用户菜单")
-	@PostMapping("/usermenu")
-	@ResponseBody
-	public AjaxResult usermenu(HttpServletRequest request) {
-
-		//String authToken=request.getParameter(AUTHTOKEN);
-		String customtoken = request.getHeader(AUTHTOKEN);
-
-		if(StringUtils.notEmp(customtoken))
-		{
-			TokenUser customuser = shiroService.findToken(customtoken);
-
-			if(customuser ==null)
-			{
-				return AjaxResult.error(AjaxStatus.logineroor.code, "未知账户");
-			}else
-			{
-				// 获取菜单栏
-				List<ElementNode> menuTree = sysPermissionService.getTreePerm(customuser.getLaborNum());
-
-				return AjaxResult.successData(200, menuTree);
-			}
-
-		}else {
-			return AjaxResult.error(AjaxStatus.logineroor.code, "未知账户");
-		}
-
-	}
-	/**
-	 * 手机登录
-	 * @param user
-	 * @param rememberMe
-	 * @param request
-	 * @return
-	 * @author gyee
-	 * @Date 2020年12月7日 上午12:54:28
-	 */
-	@ApiOperation(value = "手机登录", notes = "手机登录")
-	@PostMapping("/API/login")
-	@ResponseBody
-	public AjaxResult APIlogin(TsysUser user,boolean rememberMe,HttpServletRequest request) {
-		// ModelAndView view =new ModelAndView();
-		Boolean yz = true;
-//		if (V2Config.getRollVerification()) {// 滚动验证
-//			yz = true;
-//		} else {// 图片验证
-//			String scode = (String) request.getSession().getAttribute(Constants.KAPTCHA_SESSION_KEY);
-//			yz = StringUtils.isNotEmpty(scode) && StringUtils.isNotEmpty(code) && scode.equals(code);
-//		}
-		System.out.println("/API/login手机请求");
-		// 判断验证码
-		if (yz) {
-			String userName = user.getUsername();
-			Subject currentUser = SecurityUtils.getSubject();
-			// 是否验证通过
-			if (!currentUser.isAuthenticated()) {
-				UsernamePasswordToken token = new UsernamePasswordToken(userName, user.getPassword());
-				try {
-					if (rememberMe) {
-						token.setRememberMe(true);
-					}
-					// 存入用户
-					currentUser.login(token);
-					if (StringUtils.isNotNull(ShiroUtils.getUser())) {
-						// 若为前后端分离版本,则可把sessionId返回,作为分离版本的请求头authToken
-						 String authToken = ShiroUtils.getSessionId();
-						 return AjaxResult.successData(200, authToken);
-						//return AjaxResult.success();
-					} else {
-						return AjaxResult.error(500, "未知账户");
-					}
-				} catch (UnknownAccountException uae) {
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,未知账户");
-					return AjaxResult.error(500, "未知账户");
-				} catch (IncorrectCredentialsException ice) {
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,错误的凭证");
-					return AjaxResult.error(500, "用户名或密码不正确");
-				} catch (LockedAccountException lae) {
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,账户已锁定");
-					return AjaxResult.error(500, "账户已锁定");
-				} catch (ExcessiveAttemptsException eae) {
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,错误次数过多");
-					return AjaxResult.error(500, "用户名或密码错误次数过多");
-				} catch (AuthenticationException ae) {
-					// 通过处理Shiro的运行时AuthenticationException就可以控制用户登录失败或密码错误时的情景
-					logger.info("对用户[" + userName + "]进行登录验证..验证未通过,堆栈轨迹如下");
-					ae.printStackTrace();
-					return AjaxResult.error(500, "用户名或密码不正确");
-				}
-			} else {
-				if (StringUtils.isNotNull(ShiroUtils.getUser())) {
-					// 跳转到 get请求的登陆方法
-					// view.setViewName("redirect:/"+prefix+"/index");
-					 String authToken = ShiroUtils.getSessionId();
-					 return AjaxResult.successData(200, authToken);
-				} else {
-					return AjaxResult.error(500, "未知账户");
-				}
-			}
-		} else {
-			return AjaxResult.error(500, "验证码不正确!");
-		}
-
-	}
-
-	/**
-	 * 退出登陆
-	 * 
-	 * @return
-	 */
-//	@ApiOperation(value = "退出登陆", notes = "退出登陆")
-	@GetMapping("/Loginout")
-
-	public String LoginOut(HttpServletRequest request, HttpServletResponse response) {
-		// 在这里执行退出系统前需要清空的数据
-		Subject subject = SecurityUtils.getSubject();
-		// 注销
-		subject.logout();
-		return "redirect:/" + prefix + "/login";
-	}
-
-	@ApiOperation(value = "退出登陆", notes = "退出登陆")
-	@PostMapping("/Loginoutvue")
-	@ResponseBody
-	public AjaxResult Loginoutvue(HttpServletRequest request, HttpServletResponse response) {
-		// 在这里执行退出系统前需要清空的数据
-		Subject subject = SecurityUtils.getSubject();
-		// shiro注销
-		subject.logout();
-
-		String authToken = request.getHeader(AUTHTOKEN);
-		if(StringUtils.notEmp(authToken))
-		{
-			//websocekt退出
-			webSocketLoginOutEvent.loginOut(authToken);
-			//令牌退出
-			shiroService.logout(authToken);
-		}
-
-		return AjaxResult.success();
-	}
-
-
-	@ApiOperation(value = "WEBSOCKET缓存", notes = "WEBSOCKET缓存")
-	@PostMapping("/websocketdisconnect")
-	@ResponseBody
-	public AjaxResult websocketdisconnect(HttpServletRequest request, HttpServletResponse response) {
-
-
-		String authToken = request.getHeader(AUTHTOKEN);
-		if(StringUtils.notEmp(authToken))
-		{
-			//websocekt退出
-			webSocketLoginOutEvent.loginOut(authToken);
-		}
-
-		return AjaxResult.success();
-	}
-
-	/**** 页面测试 ****/
-	@ApiOperation(value = "404页面", notes = "404页面")
-	@GetMapping("Out404")
-	public String Out404(HttpServletRequest request, HttpServletResponse response) {
-
-		return "redirect:/error/404";
-	}
-
-	@GetMapping("Out403")
-	@ApiOperation(value = "403页面", notes = "403页面")
-	public String Out403(HttpServletRequest request, HttpServletResponse response) {
-
-		return "redirect:/error/403";
-	}
-
-	@ApiOperation(value = "500页面", notes = "500页面")
-	@GetMapping("Out500")
-	public String Out500(HttpServletRequest request, HttpServletResponse response) {
-
-		return "redirect:/error/500";
-	}
-
-	/**
-	 * 权限测试跳转页面
-	 * 
-	 * @param request
-	 * @param response
-	 * @return
-	 */
-	@ApiOperation(value = "权限测试跳转页面", notes = "权限测试跳转页面")
-	@GetMapping("Outqx")
-	@RequiresPermissions("system:user:asd")
-	public String Outqx(HttpServletRequest request, HttpServletResponse response) {
-
-		return "redirect:/error/500";
-	}
-	/**** 页面测试EDN ****/
-}

+ 0 - 43
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/FanStatusQueryExportController/FanStatusQueryExportController.java

@@ -1,43 +0,0 @@
-package com.gyee.frame.controller.FanStatusQueryExportController;
-
-import com.gyee.frame.service.FanStatusQueryExportService.FanStatusQueryExportService;
-import org.springframework.web.bind.annotation.*;
-
-import javax.annotation.Resource;
-import java.util.List;
-import java.util.Map;
-
-@RestController
-@RequestMapping("/FanStatusQueryExport")
-public class FanStatusQueryExportController {
-
-    @Resource
-    FanStatusQueryExportService fanStatusQueryExportService;
-
-    //获取所有风机
-    @CrossOrigin(origins  = "*",maxAge = 3600)
-    @GetMapping("/FanName")
-    @ResponseBody
-    public List<Map<String, Object>> getFanName(@RequestBody  String windpowerstationid){
-
-        return fanStatusQueryExportService.getFanName(windpowerstationid.substring(0,windpowerstationid.length()-1));
-    }
-
-
-    //根据风机id和风机状态
-    @CrossOrigin(origins  = "*",maxAge = 3600)
-    @GetMapping("/FjStatus")
-
-    @ResponseBody
-    public List<Map<String, Object>> getFjStatus( @RequestBody Map<String, Object> map){
-
-        String name = (String) map.get("name");
-        String satuscode = (String) map.get("satuscode");
-        String starttime = (String) map.get("starttime");
-        String stoptime = (String) map.get("stoptime");
-
-        return fanStatusQueryExportService.getFjStatus(name,satuscode,starttime,stoptime);
-    }
-
-
-}

+ 0 - 67
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/IndexController.java

@@ -1,67 +0,0 @@
-package com.gyee.frame.controller;
-
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.conf.V2Config;
-import com.gyee.frame.model.custom.TitleVo;
-import io.swagger.annotations.ApiOperation;
-import org.apache.shiro.SecurityUtils;
-import org.apache.shiro.subject.Subject;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-
-/**
- * 如果有前台这儿写前台访问方法
- * @ClassName: IndexController
- * @author gyee
- * @date 2019-10-21 00:15
- */
-@Controller
-public class IndexController extends BaseController{
-	
-	/**
-	 * 前台访问 域名:端口 例如:localhost:80的get请求
-	 * @param map
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月20日 下午10:55:13
-	 */
-	@ApiOperation(value="前台",notes="前台")
-	@GetMapping("/")
-	public String index(ModelMap modelMap) {
-		String str="前台";
-		setTitle(modelMap, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-		Subject currentUser = SecurityUtils.getSubject();
-
-
-		try {
-			if ((null != SecurityUtils.getSubject() && SecurityUtils.getSubject().isAuthenticated())
-					|| SecurityUtils.getSubject().isRemembered()) {
-				return "redirect:/admin/index";
-			} else {
-				System.out.println("--进行登录验证..验证开始");
-
-				modelMap.put("RollVerification", V2Config.getRollVerification());
-				System.out.println("V2Config.getRollVerification()>>>" + V2Config.getRollVerification());
-				return "login";
-			}
-		} catch (Exception e) {
-			e.printStackTrace();
-		}
-		return "login";
-	}
-	/**
-	 * 前台访问/index的get请求
-	 * @param map
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月20日 下午10:54:56
-	 */
-	@ApiOperation(value="前台",notes="前台")
-	@GetMapping("/index")
-	public String index2(ModelMap map) {
-		String str="前台";
-		setTitle(map, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-		return "index";
-	}
-}

+ 0 - 92
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/StandardPointTable/StandardPointTableController.java

@@ -1,92 +0,0 @@
-package com.gyee.frame.controller.StandardPointTable;
-
-
-import com.gyee.frame.service.StandardPointTable.StandardPointTableService;
-import org.springframework.web.bind.annotation.*;
-
-import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-
-/**
- * 标准点表
- * @author 马晓霞
- * @email maxiaoxia@gyee-china.com
- * @date 2021-1-9 17:00:04
- */
-
-@RestController
-@RequestMapping("/UnionTable")
-public class StandardPointTableController {
-
-    List<Map<String,Object>> unionData= new ArrayList<>();
-
-    @Resource
-    private StandardPointTableService standardPointTableService;
-
-    /**
-     * 数据库表名
-     *
-     * @param
-     * @return 返回数据库表名
-     */
-    @GetMapping("/tableNames")
-    public List<String> getTableName() {
-        return standardPointTableService.getTableName();
-    }
-
-    /**
-     * 查询列名
-     * @param tableName 表名
-     * @return
-     */
-    @CrossOrigin(origins  = "*",maxAge = 3600)
-    @GetMapping("/columns")
-    @ResponseBody
-    public  List<String> getAllColumns(@RequestBody String tableName){
-
-        return standardPointTableService.getAllColumns(tableName.substring(0,tableName.length()-1 ));
-    }
-
-    /**
-     * 联合表
-     * @param map 表名,列名,excel数据
-     * @return 联合表
-     */
-    @CrossOrigin(origins  = "*",maxAge = 3600)
-    @ResponseBody
-    @GetMapping("/tableData")
-    public List<Map<String, Object>> getDataByColumns(  @RequestBody Map<String, Object> map) {
-
-        String tableName = (String) map.get("tableName");
-        List columnsName  = (List)map.get("columnsName");
-        List<Map<String, Object>> excelData  = (List) map.get("excelData");
-
-        String stringColumnsName="";
-        for (int i=0; i<columnsName.size();i++) {
-            stringColumnsName +=columnsName.get(i)+(i==columnsName.size()-1 ? "":",");
-        }
-        unionData = standardPointTableService.getDataByColumns(tableName,stringColumnsName,excelData);
-        return unionData;
-    }
-
-    /**
-     * 将上面展示出来的数据保存到数据库
-     *
-     * @param tableName 数据库表名
-     */
-    @GetMapping("/saveData")
-    @ResponseBody
-    @CrossOrigin(origins  = "*",maxAge = 3600)
-    public String saveTableData(@RequestBody String tableName) {
-
-        standardPointTableService.saveData(unionData,tableName.substring(0,tableName.length()-1 ));
-
-        return "保存成功";
-    }
-
-}
-
-

+ 0 - 32
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/ApiController.java

@@ -1,32 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-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 com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.shiro.util.ShiroUtils;
-
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-/**
- * 该接口为了前后端分离or手机端服务不用登录的接口  访问地址:localhot:8080/ApiController/test
- * 如何还需要其他 接口不登陆就能访问:ShiroFilterMapFactory.java里面配置开放自己的controller
- * @ClassName: ApiController
- * @author gyee
- * @date 2020-04-15 22:59
- */
-@Api(value = "接口API")
-@Controller
-@RequestMapping("/ApiController")
-public class ApiController {
-	
-	//@Log(title = "${TsysTables.tableComment}集合查询", action = "111")
-	@ApiOperation(value = "测试方法", notes = "测试方法")
-	@GetMapping("/test")
-	@ResponseBody
-	public AjaxResult test() {
-		return AjaxResult.successData(200, ShiroUtils.getLoginName());
-	}
-}

+ 0 - 46
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/ApiController2.java

@@ -1,46 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-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 com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.shiro.util.ShiroUtils;
-
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-/**
- * token测试   
- * 
- * head 参数
- * authToken:4acf8612-d66c-4770-a775-c9418c65bacd
- * @ClassName: ApiController2
- * @author gyee
- * @date 2020-12-07 00:56
- */
-@Api(value = "iphoneAPI")
-@Controller
-@RequestMapping("/api")
-public class ApiController2 {
-	/**
-	 * 第一步:token获取
-	 * post:http://localhost:8080/admin/API/loginvue
-	 * body参数:
-	 * username:admin
-	 * password:admin
-	 * 返回 {"code":200,"data":"1487913f-5a64-488d-9fc7-243d004faae2"}
-	 * 第二步:请求测试
-	 * get:请求地址:http://localhost:8080/api/test
-	 * head参数:
-	 * authToken:1487913f-5a64-488d-9fc7-243d004faae2
-	 * 返回信息
-	 * {"code":200,"data":"admin"}
-	 */
-	@ApiOperation(value = "token测试方法", notes = "token测试方法")
-	@GetMapping("/test")
-	@ResponseBody
-	public AjaxResult test() {
-		return AjaxResult.successData(200, ShiroUtils.getLoginName());
-	}
-}

+ 0 - 212
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/AutoCodeController.java

@@ -1,212 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import java.util.List;
-import javax.servlet.http.HttpServletRequest;
-import cn.hutool.json.JSONUtil;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.TsysPermission;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.model.custom.TsysTables;
-import com.gyee.frame.model.custom.autocode.AutoCodeConfig;
-import com.gyee.frame.model.custom.autocode.BeanColumn;
-import com.gyee.frame.model.custom.autocode.GlobalConfig;
-import com.gyee.frame.service.GeneratorService;
-import com.gyee.frame.service.SysPermissionService;
-import com.gyee.frame.service.SysUtilService;
-import com.gyee.frame.util.AutoCode.AutoCodeUtil;
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import javax.annotation.Resource;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.Model;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-/**
- * 代码自动生成
- * 
- * @ClassName: AutoCodeController
- * @author gyee
- * @date 2019-08-13 00:34
- */
-@Api(value = "代码自动生成")
-@Controller
-@RequestMapping("/autoCodeController")
-public class AutoCodeController extends BaseController {
-
-	private String prefix = "admin/auto_code";
-	@Resource
-	private GeneratorService generatorService;
-	@Resource
-	private SysUtilService sysUtilService;
-	@Resource
-	private SysPermissionService sysPermissionService;
-
-	/**
-	 * 代码自动生成展示首页
-	 * 
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年8月13日 上午12:35:23
-	 */
-	@ApiOperation(value = " 代码自动生成展示首页", notes = " 代码自动生成展示首页")
-	@GetMapping("/one")
-	@RequiresPermissions("system:autocode:one")
-	public String one(ModelMap model) {
-		String str = "单表代码生成";
-		setTitle(model, new TitleVo("生成", str + "管理", true, "欢迎进入" + str + "页面", true, false));
-		List<TsysTables> tables = generatorService.queryList(null);
-		List<TsysPermission> permissions = sysPermissionService.list2(null);
-		model.addAttribute("tables", tables);
-		model.addAttribute("permissions", permissions);
-		return prefix + "/one";
-	}
-
-	/**
-	 * 代码自动生成全局配置
-	 * 
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年8月13日 上午12:34:30
-	 */
-	@ApiOperation(value = " 代码自动生成全局配置", notes = "代码自动生成全局配置")
-	@GetMapping("/global")
-	@RequiresPermissions("system:autocode:global")
-	public String global(ModelMap modelMap) {
-		String str = "全局配置";
-		setTitle(modelMap, new TitleVo("配置", str + "管理", true, "欢迎进入" + str + "页面", true, false));
-
-		modelMap.put("autoConfig", AutoCodeConfig.getGlobalConfig());
-		System.out.println(JSONUtil.toJsonStr(AutoCodeConfig.getGlobalConfig()));
-		return prefix + "/global";
-	}
-
-	/**
-	 * 根据表名查询表信息
-	 * @param tableName
-	 * @return
-	 * @author gyee
-	 * @Date 2019年8月15日 上午1:09:36
-	 */
-	@ApiOperation(value = "根据表名查询表信息", notes = "根据表名查询表信息")
-	@PostMapping("/queryTable")
-	@ResponseBody
-	public AjaxResult queryTable(String tableName) {
-		List<TsysTables> list = generatorService.queryList(tableName);
-		if (list.size() > 0) {
-			return AjaxResult.successData(200, list);
-		}
-		return AjaxResult.error();
-	}
-
-	/**
-	 * 根据表查询表字段详情
-	 * 
-	 * @param tableName
-	 * @return
-	 * @author gyee
-	 * @Date 2019年8月15日 上午1:10:42
-	 */
-	@ApiOperation(value = "根据表查询表字段详情", notes = "根据表查询表字段详情")
-	@PostMapping("/queryTableInfo")
-	@ResponseBody
-	public AjaxResult queryTableInfo(String tableName) {
-		List<BeanColumn> list = generatorService.queryColumns2(tableName);
-		System.out.println(JSONUtil.toJsonStr(list));
-		if (list.size() > 0) {
-			return AjaxResult.successData(200, list);
-		}
-		return AjaxResult.error();
-	}
-
-	/**
-	 * 保存配置文件
-	 * 
-	 * @param globalConfig
-	 * @param model
-	 * @param request
-	 * @return
-	 * @throws Exception
-	 * @author gyee
-	 * @Date 2019年8月24日 下午3:25:41
-	 */
-	//@Log(title = "保存配置文件", action = "1")
-	@ApiOperation(value = "保存配置文件", notes = "保存配置文件")
-	@PostMapping("/addGlobal")
-	@ResponseBody
-	public AjaxResult addGlobal(GlobalConfig globalConfig, Model model, HttpServletRequest request) throws Exception {
-		AutoCodeConfig.setGlobalConfig(globalConfig);
-		if (globalConfig != null) {
-			return success();
-		} else {
-			return error();
-		}
-	}
-
-	/**
-	 * 保存单表信息
-	 * 
-	 * @param allColumnss  字段列表字符串
-	 * @param tableName 表名
-	 * @param conditionQueryField  条件查询字段
-	 * @param pid 父id
-	 * @param sqlcheck 是否录入数据
-	 * @param vhtml 生成html
-	 * @param vController 生成controller
-	 * @param vservice 生成service
-	 * @param vMapperORdao 生成mapper or dao
-	 * @return
-	 * @throws Exception
-	 * @author gyee
-	 * @Date 2019年8月31日 上午2:49:18
-	 */
-	//@Log(title = "保存单表信息", action = "1")
-	@ApiOperation(value = "保存单表信息", notes = "保存单表信息")
-	@PostMapping("/saveOne")
-	@ResponseBody
-	public AjaxResult saveOne(String allColumnss, String tableName, String conditionQueryField, String pid,
-			int sqlcheck,Boolean vhtml,Boolean vController,Boolean vService,Boolean vMapperORdao) throws Exception {
-		//JSONArray array = JSONUtil.parseArray(allColumnss);
-		// 遗留可用前端修改传入的字段等信息(未完善)
-		//List<BeanColumn> beanColumns2 = JSONUtil.toList(array, BeanColumn.class);
-		List<TsysTables> list = generatorService.queryList(tableName);
-		if (list.size() > 0) {
-			TsysTables tables = list.get(0);
-			List<BeanColumn> beanColumns = generatorService.queryColumns2(tableName);
-			AutoCodeUtil.autoCodeOneModel(sysUtilService, tables, beanColumns, conditionQueryField, pid, sqlcheck, vhtml, vController, vService, vMapperORdao);
-		}
-		return AjaxResult.success();
-	}
-
-	/**
-	 * 根据权限字段查询是否存在
-	 * 
-	 * @param perms
-	 * @return
-	 * @author gyee
-	 * @Date 2019年9月1日 上午2:06:31
-	 */
-	@ApiOperation(value = "根据权限字段查询是否存在", notes = "根据权限字段查询是否存在")
-	@PostMapping("/queryLikePerms")
-	@ResponseBody
-	public AjaxResult queryLikePerms(String tableName) {
-		List<TsysTables> list = generatorService.queryList(tableName);
-		if (list.size() > 0) {
-			TsysTables tables = list.get(0);
-			Boolean boolean1 = sysPermissionService.queryLikePerms(tables.getTableModel_a());
-			if (boolean1) {
-				return AjaxResult.error("数据库已有权限");
-			} else {
-				return AjaxResult.success("ok");
-			}
-		}
-		return AjaxResult.error("请选择表");
-	}
-}

+ 0 - 142
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/CaptchaController.java

@@ -1,142 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-import java.awt.image.BufferedImage;
-import java.io.IOException;
-import java.util.List;
-
-import javax.imageio.ImageIO;
-import javax.servlet.ServletOutputStream;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import javax.servlet.http.HttpSession;
-
-import javax.annotation.Resource;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-import org.springframework.web.servlet.ModelAndView;
-
-import com.gyee.frame.common.base.BaseController;
-import com.google.code.kaptcha.Constants;
-import com.google.code.kaptcha.Producer;
-
-/**
- * 图片验证码
- * @author fc
- */
-@Api(value = "验证码")
-@Controller
-@RequestMapping("/captcha")
-public class CaptchaController extends BaseController
-{
-	@Resource
-    private Producer captchaProducer;
-    
-    @Resource
-    private Producer captchaProducerMath;
-
-    /**
-     * 生成验证码
-     * @param request
-     * @param response
-     * @param type
-     * @return
-     * @author gyee
-     * @Date 2020年5月22日 上午12:17:03
-     */
-    @ApiOperation(value = "验证码生成", notes = "验证码生成")
-    @GetMapping("/captchaImage")
-    public ModelAndView getKaptchaImage(HttpServletRequest request, HttpServletResponse response,String type)
-    {
-        ServletOutputStream out = null;
-        try
-        {
-            HttpSession session = request.getSession();
-            response.setDateHeader("Expires", 0);
-            //Set standard HTTP/1.1 no-cache headers. 
-            response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
-            //Set IE extended HTTP/1.1 no-cache headers (use addHeader). 
-            response.addHeader("Cache-Control", "post-check=0, pre-check=0");
-            //Set standard HTTP/1.0 no-cache header. 
-            response.setHeader("Pragma", "no-cache");
-            //return a jpeg 
-            response.setContentType("image/jpeg");
-            ///验证码字符串
-            String captStr = null;
-            //答案
-            String answer = null;
-            BufferedImage images = null;
-            if ("math".equals(type))//验证码为算数 8*9 类型
-            {
-            	//验证码加答案8-3=?@5
-                String captText = captchaProducerMath.createText();
-                //验证码8-3=?
-                captStr = captText.substring(0, captText.lastIndexOf("@"));
-                answer = captText.substring(captText.lastIndexOf("@") + 1);
-                //生成图片
-                images = captchaProducerMath.createImage(captStr);
-            }
-            else if ("char".equals(type))//验证码为 abcd类型
-            {
-            	captStr = answer = captchaProducer.createText();
-                images = captchaProducer.createImage(captStr);
-            }
-            session.setAttribute(Constants.KAPTCHA_SESSION_KEY, answer);
-            out = response.getOutputStream();
-            ImageIO.write(images, "jpg", out);
-            out.flush();
-        }
-        catch (Exception e)
-        {
-            e.printStackTrace();
-        }
-        finally
-        {
-            try
-            {
-                if (out != null)
-                {
-                    out.close();
-                }
-            }
-            catch (IOException e)
-            {
-                e.printStackTrace();
-            }
-        }
-        return null;
-    }
-    
-    /**
-     * 滚动条验证码
-     * @param datas
-     * @return
-     * @author gyee
-     * @Date 2019年11月23日 下午6:12:27
-     */
-    @ApiOperation(value = "滚动条验证码", notes = "滚动条验证码")
-    @PostMapping("/isVerify")
-    @ResponseBody
-	public boolean isVerify(@RequestBody List<Integer> datas) {
-		int sum = 0;  
-		for (Integer data : datas) {
-			sum += data;
-		}
-		double avg = sum * 1.0 / datas.size();
-		
-		double sum2 = 0.0;
-		for (Integer data : datas) {
-			sum2 += Math.pow(data - avg, 2);
-		}
-		
-		double stddev = sum2 / datas.size();
-		return stddev != 0;
-	}
-	
-}

+ 0 - 181
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/DictDataController.java

@@ -1,181 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import com.gyee.frame.model.auto.TSysDictData;
-import com.gyee.frame.service.SysDictDataService;
-import com.gyee.frame.service.SysDictTypeService;
-
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import javax.annotation.Resource;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.Model;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-import com.github.pagehelper.PageInfo;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-/**
- * 字典表Controller
- * @ClassName: DictDataController
- * @author gyee
- * @date 2019-11-20 22:46
- */
-@Api(value = "字典数据表")
-@Controller
-@RequestMapping("/DictDataController")
-public class DictDataController extends BaseController{
-	
-	private String prefix = "admin/dict_data";
-	@Resource
-	private SysDictDataService tSysDictDataService;
-	@Resource
-	private SysDictTypeService sysDictTypeService;
-	
-	/**
-	 * 分页list页面
-	 * @param model
-	 * @param dictId
-	 * @return
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("system:dictData:view")
-    public String view(ModelMap model,String dictId)
-    {
-    	model.addAttribute("dictId",dictId);
-		String str="字典数据表";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	
-	/**
-	 * 字典数据表集合查询
-	 * @param tablepar
-	 * @param searchText
-	 * @param dictId
-	 * @return
-	 */
-	//@Log(title = "字典数据表集合查询", action = "1")
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("system:dictData:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText,String dictId){
-		PageInfo<TSysDictData> page=tSysDictDataService.list(tablepar,searchText,dictId) ;
-		TableSplitResult<TSysDictData> result=new TableSplitResult<TSysDictData>(page.getPageNum(), page.getTotal(), page.getList()); 
-		return  result;
-	}
-	
-	/**
-	 * 新增跳转
-	 * @param modelMap
-	 * @param dictId
-	 * @return
-	 */
-	@ApiOperation(value = "新增跳转", notes = "新增跳转")
-    @GetMapping("/add")
-    public String add(ModelMap modelMap,String dictId)
-    {
-		modelMap.addAttribute("dictType",sysDictTypeService.selectByPrimaryKey(dictId).getDictType());
-        return prefix + "/add";
-    }
-	
-    /**
-     * 新增保存
-     * @param tSysDictData
-     * @param model
-     * @return
-     */
-	//@Log(title = "字典数据表新增", action = "1")
-	@ApiOperation(value = "新增", notes = "新增")
-	@PostMapping("/add")
-	@RequiresPermissions("system:dictData:add")
-	@ResponseBody
-	public AjaxResult add(TSysDictData tSysDictData, Model model){
-		int b=tSysDictDataService.insertSelective(tSysDictData);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 删除
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "字典数据表删除", action = "1")
-	@ApiOperation(value = "删除", notes = "删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("system:dictData:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b=tSysDictDataService.deleteByPrimaryKey(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 检查
-	 * @param tsysUser
-	 * @return
-	 */
-	@ApiOperation(value = "检查Name唯一", notes = "检查Name唯一")
-	@PostMapping("/checkNameUnique")
-	@ResponseBody
-	public int checkNameUnique(TSysDictData tSysDictData){
-		int b=tSysDictDataService.checkNameUnique(tSysDictData);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	
-	/**
-	 * 修改跳转
-	 * @param id
-	 * @param mmap
-	 * @return
-	 */
-	@ApiOperation(value = "修改跳转", notes = "修改跳转")
-	@GetMapping("/edit/{id}")
-    public String edit(@PathVariable("id") String id, ModelMap mmap)
-    {
-		TSysDictData sysDictData= tSysDictDataService.selectByPrimaryKey(id);
-        mmap.put("TSysDictData", sysDictData);
-        return prefix + "/edit";
-    }
-	
-	/**
-     * 修改保存
-     */
-    //@Log(title = "字典数据表修改", action = "1")
-	@ApiOperation(value = "修改保存", notes = "修改保存")
-    @RequiresPermissions("system:dictData:edit")
-    @PostMapping("/edit")
-    @ResponseBody
-    public AjaxResult editSave(TSysDictData record)
-    {
-        return toAjax(tSysDictDataService.updateByPrimaryKeySelective(record));
-    }
-
-    
-    
-
-	
-}

+ 0 - 170
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/DictTypeController.java

@@ -1,170 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import javax.annotation.Resource;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.Model;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-import com.github.pagehelper.PageInfo;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.TSysDictType;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.service.SysDictTypeService;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-/**
- * 字典类型Controller
- * @ClassName: DictTypeController
- * @author gyee
- * @date 2019-11-20 22:45
- */
-@Api(value = "字典类型表")
-@Controller
-@RequestMapping("/DictTypeController")
-public class DictTypeController extends BaseController{
-	
-	private String prefix = "admin/dict_type";
-	@Resource
-	private SysDictTypeService tSysDictTypeService;
-	
-	/**
-	 * 分页list页面
-	 * @param model
-	 * @param dictId
-	 * @return
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("system:dictType:view")
-    public String view(ModelMap model)
-    {	
-		String str="字典类型表";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	
-	/**
-	 * 字典类型表集合查询
-	 * @param tablepar
-	 * @param searchText
-	 * @return
-	 */
-	//@Log(title = "字典类型表集合查询", action = "111")
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("system:dictType:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<TSysDictType> page=tSysDictTypeService.list(tablepar,searchText) ; 
-		TableSplitResult<TSysDictType> result=new TableSplitResult<TSysDictType>(page.getPageNum(), page.getTotal(), page.getList()); 
-		return  result;
-	}
-	
-	/**
-	 * 新增跳转
-	 * @param modelMap
-	 * @return
-	 */
-	@ApiOperation(value = "新增跳转", notes = "新增跳转")
-    @GetMapping("/add")
-    public String add(ModelMap modelMap)
-    {
-        return prefix + "/add";
-    }
-	
-    /**
-     * 新增保存
-     * @param tSysDictType
-     * @param model
-     * @return
-     */
-	//@Log(title = "字典类型表新增", action = "111")
-	@ApiOperation(value = "新增", notes = "新增")
-	@PostMapping("/add")
-	@RequiresPermissions("system:dictType:add")
-	@ResponseBody
-	public AjaxResult add(TSysDictType tSysDictType,Model model){
-		int b=tSysDictTypeService.insertSelective(tSysDictType);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 删除字典类型
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "字典类型表删除", action = "111")
-	@ApiOperation(value = "删除", notes = "删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("system:dictType:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b=tSysDictTypeService.deleteByPrimaryKey(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 检查字典类型名字相同
-	 * @param tsysUser
-	 * @return
-	 */
-	@ApiOperation(value = "检查Name唯一", notes = "检查Name唯一")
-	@PostMapping("/checkNameUnique")
-	@ResponseBody
-	public int checkNameUnique(TSysDictType tSysDictType){
-		int b=tSysDictTypeService.checkNameUnique(tSysDictType);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	
-	/**
-	 * 修改跳转
-	 * @param id
-	 * @param mmap
-	 * @return
-	 */
-	@ApiOperation(value = "修改跳转", notes = "修改跳转")
-	@GetMapping("/edit/{id}")
-    public String edit(@PathVariable("id") String id, ModelMap mmap)
-    {
-        mmap.put("TSysDictType", tSysDictTypeService.selectByPrimaryKey(id));
-
-        return prefix + "/edit";
-    }
-	
-	/**
-     * 修改保存
-     */
-    //@Log(title = "字典类型表修改", action = "111")
-	@ApiOperation(value = "修改保存", notes = "修改保存")
-    @RequiresPermissions("system:dictType:edit")
-    @PostMapping("/edit")
-    @ResponseBody
-    public AjaxResult editSave(TSysDictType record)
-    {
-        return toAjax(tSysDictTypeService.updateByPrimaryKeySelective(record));
-    }
-
-	
-}

+ 0 - 175
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/EmailController.java

@@ -1,175 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import javax.annotation.Resource;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.Model;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.TSysEmail;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.service.TSysEmailService;
-import com.gyee.frame.util.SimpleEmailUtil;
-import com.github.pagehelper.PageInfo;
-
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-/**
- * 邮件发送Controller
- * @ClassName: EmailController
- * @author gyee
- * @date 2019-06-10 00:39
- * @version V1.0
- */
-@Api(value = "邮件发送Controller")
-@Controller
-@RequestMapping("/EmailController")
-public class EmailController extends BaseController{
-		
-	private String prefix = "admin/email";
-	
-	@Resource
-	private TSysEmailService tSysEmailService;
-	
-	/**
-	 * 分页展示页面
-	 * @param model
-	 * @param dictId
-	 * @return
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("system:email:view")
-    public String view(ModelMap model)
-    {	
-		String str="邮件";
-		setTitle(model, new TitleVo("发送", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-
-	/**
-	 * 分页list页面
-	 * @param model
-	 * @param dictId
-	 * @return
-	 */
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("system:email:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<TSysEmail> page=tSysEmailService.list(tablepar,searchText) ; 
-		TableSplitResult<TSysEmail> result=new TableSplitResult<TSysEmail>(page.getPageNum(), page.getTotal(), page.getList()); 
-		return  result;
-	}
-	
-	/**
-     * 新增跳转
-     */
-	@ApiOperation(value = "新增跳转", notes = "新增跳转")
-    @GetMapping("/add")
-    public String add(ModelMap modelMap)
-    {
-        return prefix + "/add";
-    }
-	
-	/**
-	 * 新增
-	 * @param tSysEmail
-	 * @param model
-	 * @return
-	 * @throws Exception
-	 * @author gyee
-	 */
-	//@Log(title = "新增邮件", action = "1")
-	@ApiOperation(value = "新增", notes = "新增")
-	@PostMapping("/add")
-	@RequiresPermissions("system:email:add")
-	@ResponseBody
-	public AjaxResult add(TSysEmail tSysEmail,Model model) throws Exception{
-		int b=tSysEmailService.insertSelective(tSysEmail);
-		SimpleEmailUtil.sendEmail(tSysEmail);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 删除邮件
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "删除邮件", action = "1")
-	@ApiOperation(value = "删除", notes = "删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("system:email:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b=tSysEmailService.deleteByPrimaryKey(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 检查邮件同名
-	 * @param tsysUser
-	 * @return
-	 */
-	@ApiOperation(value = "检查Name唯一", notes = "检查Name唯一")
-	@PostMapping("/checkNameUnique")
-	@ResponseBody
-	public int checkNameUnique(TSysEmail tSysEmail){
-		int b=tSysEmailService.checkNameUnique(tSysEmail);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	
-	/**
-	 * 修改跳转
-	 * @param id
-	 * @param mmap
-	 * @return
-	 */
-	@ApiOperation(value = "修改跳转", notes = "修改跳转")
-	@GetMapping("/edit/{id}")
-    public String edit(@PathVariable("id") String id, ModelMap mmap)
-    {
-        mmap.put("TSysEmail", tSysEmailService.selectByPrimaryKey(id));
-
-        return prefix + "/edit";
-    }
-	
-	/**
-     * 修改保存
-     */
-	//@Log(title = "修改保存", action = "1")
-	@ApiOperation(value = "修改保存", notes = "修改保存")
-    @RequiresPermissions("system:email:edit")
-    @PostMapping("/edit")
-    @ResponseBody
-    public AjaxResult editSave(TSysEmail record)
-    {
-        return toAjax(tSysEmailService.updateByPrimaryKeySelective(record));
-    }
-
-
-}

+ 0 - 251
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/FileController.java

@@ -1,251 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import java.io.IOException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestParam;
-import org.springframework.web.bind.annotation.ResponseBody;
-import org.springframework.web.multipart.MultipartFile;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.common.file.FileUtils;
-import com.gyee.frame.model.auto.TsysDatas;
-import com.gyee.frame.model.auto.TsysFile;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.util.StringUtils;
-import com.github.pagehelper.PageInfo;
-
-/**
- * 文件上传controller
- * @author gyee
- * @date: 2018年9月16日 下午4:23:50
- */
-@Api(value = "文件上传")
-@Controller
-@RequestMapping("/FileController")
-public class FileController extends BaseController{
-
-	//跳转页面参数
-	private String prefix = "admin/file";
-	
-	/**
-	 * 分页展示页面
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月20日 下午10:18:32
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("system:file:view")
-    public String view(ModelMap model)
-    {	
-		String str="上传图片";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	
-	/**
-	 * 文件列表
-	 * @param tablepar
-	 * @param searchText 搜索字符
-	 * @return
-	 */
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("system:file:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<TsysFile> page=sysFileService.list(tablepar,searchText) ; 
-		TableSplitResult<TsysFile> result=new TableSplitResult<TsysFile>(page.getPageNum(), page.getTotal(), page.getList()); 
-		return  result;
-	}
-	
-	/**
-	 * 新增文件跳转页面
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月20日 下午10:19:03
-	 */
-	@ApiOperation(value = "新增跳转", notes = "新增跳转")
-    @GetMapping("/add")
-    public String add()
-    {
-        return prefix + "/add";
-    }
-	
-    
-    
-    /**
-     * 文件上传
-     * @param file
-     * @return
-     * @author gyee
-     * @Date 2019年11月20日 下午10:18:49
-     */
-	//@Log(title = "文件上传", action = "1")
-	@ApiOperation(value = "文件上传", notes = "文件上传")
-    @PostMapping("/upload")
-    @ResponseBody
-    public AjaxResult updateAvatar(@RequestParam("file") MultipartFile file)
-    {
-        try
-        {
-            if (!file.isEmpty())
-            {
-                //插入文件存储表
-            	String id=sysDatasService.insertSelective(file);
-                if(id!=null){
-                	 return AjaxResult.successData(200, id);
-                }
-            }
-            return error();
-        }
-        catch (Exception e)
-        {
-            return error(e.getMessage());
-        }
-    }
-	
-    /**
-     * 文件添加
-     * @param file
-     * @return
-     */
-	//@Log(title = "文件添加", action = "1")
-	@ApiOperation(value = "文件添加", notes = "文件添加")
-	@PostMapping("/add")
-	@RequiresPermissions("system:file:add")
-	@ResponseBody
-	public AjaxResult add(TsysFile file,String dataId){
-		if(StringUtils.isNotEmpty(dataId)) {
-			int b=sysFileService.insertSelective(file,dataId);
-			if(b>0){
-				return success();
-			}
-		}
-		return error("请上传文件");
-	}
-	
-	/**
-	 * 删除文件
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "删除文件", action = "1")
-	@ApiOperation(value = "删除文件", notes = "删除文件")
-	@PostMapping("/remove")
-	@RequiresPermissions("system:file:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b=sysFileService.deleteByPrimaryKey(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	
-	/**
-	 * 删除本地文件
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "删除本地文件", action = "1")
-	@ApiOperation(value = "删除本地文件", notes = "删除本地文件")
-	@PostMapping("/del_file")
-	@ResponseBody
-	public AjaxResult del_file(String ids){
-		int b=sysFileService.deleteBydataFile(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	
-	/**
-	 * 检查文件名字
-	 * @param tsysFile
-	 * @return
-	 */
-	@ApiOperation(value = "检查Name唯一", notes = "检查Name唯一")
-	@PostMapping("/checkNameUnique")
-	@ResponseBody
-	public int checkNameUnique(TsysFile tsysFile){
-		int b=sysFileService.checkNameUnique(tsysFile);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	
-	/**
-	 * 修改文件
-	 * @param id
-	 * @param mmap
-	 * @return
-	 */
-	@ApiOperation(value = "修改跳转", notes = "修改跳转")
-	@GetMapping("/edit/{id}")
-    public String edit(@PathVariable("id") String id, ModelMap mmap)
-    {
-        mmap.put("tsysFile", sysFileService.selectByPrimaryKey(id));
-        return prefix + "/edit";
-    }
-	
-	/**
-     * 修改保存文件
-     */
-	//@Log(title = "修改保存文件", action = "1")
-	@ApiOperation(value = "修改保存", notes = "修改保存")
-    @RequiresPermissions("system:user:edit")
-    @PostMapping("/edit")
-    @ResponseBody
-    public AjaxResult editSave(TsysFile tsysFile,String dataId)
-    {
-        return toAjax(sysFileService.updateByPrimaryKey(tsysFile,dataId));
-    }
-    
-    /**
-     * 展示文件跳转页面
-     */
-	@ApiOperation(value = "展示文件跳转页面", notes = "展示文件跳转页面")
-    @GetMapping("/viewfile/{id}")
-    public String viewfile(@PathVariable("id") String id,ModelMap mmap){
-    	mmap.put("tsysDatas",sysFileDatasService.queryfileID(id));
-        return prefix + "/viewfile";
-    }
-    
-    /**
-     * 此功能为application.yml 下面的isstatic为N 时候需要的
-     * 逻辑为:根据数据库文件存放地址,读取图片流放入到<ima src>里面展示
-     */
-	@ApiOperation(value = "展示文件跳转页面", notes = "展示文件跳转页面")
-    @GetMapping("/viewImg/{id}")
-    public void viewIMG(@PathVariable("id") String id,HttpServletRequest request,HttpServletResponse response){
-    	TsysDatas datas= sysDatasService.selectByPrimaryKey(id);
-    	try {
-			FileUtils.readIMGTohtml(request, response, datas.getFileAbsolutePath());
-		} catch (IOException e) {
-			e.printStackTrace();
-		}
-    }
-    
-    
-}

+ 0 - 38
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/JsonController.java

@@ -1,38 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.model.custom.TitleVo;
-import io.swagger.annotations.Api;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-
-
-/**
- * jsonController 
- * @ClassName: JsonController
- * @author gyee
- * @date 2019-09-21 17:59
- */
-@Api(value = "Json格式化")
-@Controller
-@RequestMapping("/Json")
-public class JsonController extends BaseController{
-
-	private String prefix = "admin/json";
-
-	/**
-	 * json格式化展示页面
-	 * @param model
-	 * @return
-	 */
-	@GetMapping("/view")
-    public String view(ModelMap model)
-    {	
-		String str="json";
-		setTitle(model, new TitleVo("json格式化", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	
-}

+ 0 - 91
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/LogController.java

@@ -1,91 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.TsysOperLog;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import com.github.pagehelper.PageInfo;
-
-/**
- * 日志记录controller
- * @author gyee
- * @date: 2018年9月30日 下午9:28:31
- */
-@Controller
-@Api(value = "日志记录")
-@RequestMapping("/LogController")
-public class LogController extends BaseController{
-
-	//跳转页面参数
-	private String prefix = "admin/log";
-	
-	/**
-	 * 日志记录展示页面
-	 * @param model
-	 * @return
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("system:log:view")
-    public String view(ModelMap model)
-    {	
-		String str="操作日志";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-		
-        return prefix + "/list";
-    }
-	
-	/**
-	 * 文件列表
-	 * @param tablepar
-	 * @param searchText 搜索字符
-	 * @return
-	 */
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("system:log:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<TsysOperLog> page=sysOperLogService.list(tablepar,searchText) ; 
-		TableSplitResult<TsysOperLog> result=new TableSplitResult<TsysOperLog>(page.getPageNum(), page.getTotal(), page.getList()); 
-		return  result;
-	}
-
-	
-	/**
-	 * 删除日志
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "删除日志", action = "1")
-	@ApiOperation(value = "删除", notes = "删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("system:log:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b=sysOperLogService.deleteByPrimaryKey(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	
-
-    
-    
-}

+ 0 - 268
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/PermissionController.java

@@ -1,268 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import java.util.List;
-
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.TsysPermission;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import com.github.pagehelper.PageInfo;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-/**
- * 权限Controller
- * @author gyee
- * @date: 2018年9月2日 下午8:08:21
- */
-@Api(value = "权限")
-@Controller
-@RequestMapping("/PermissionController")
-public class PermissionController  extends BaseController{
-	
-	//跳转页面参数
-	private String prefix = "admin/permission";
-	
-	/**
-	 * 权限列表展示
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月11日 下午3:43:51
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("system:permission:view")
-    public String view(ModelMap model)
-    {	
-		String str="权限";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	
-	/**
-	 * 权限列表
-	 * @param tablepar
-	 * @param searchText 搜索字符
-	 * @return
-	 */
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("system:permission:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<TsysPermission> page= sysPermissionService.list(tablepar, searchText) ;
-		TableSplitResult<TsysPermission> result=new TableSplitResult<TsysPermission>(page.getPageNum(), page.getTotal(), page.getList());
-		return  result;
-	}
-	/**
-	 * 权限列表
-	 * @param tablepar
-	 * @param searchText 搜索字符
-	 * @return
-	 */
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list2")
-	@ResponseBody
-	public Object list2(Tablepar tablepar,String searchText){
-		List<TsysPermission> page= sysPermissionService.list2(searchText) ;
-		return  page;
-	}
-	/**
-     * 新增权限
-     */
-	@ApiOperation(value = "新增跳转", notes = "新增跳转")
-    @GetMapping("/add")
-    public String add()
-    {
-        return prefix + "/add";
-    }
-	
-	
-    /**
-     * 权限添加
-     * @param role
-     * @return
-     */
-	//@Log(title = "权限添加", action = "1")
-	@ApiOperation(value = "新增", notes = "新增")
-	@PostMapping("/add")
-	@RequiresPermissions("system:permission:add")
-	@ResponseBody
-	public AjaxResult add(TsysPermission role){
-		int b= sysPermissionService.insertSelective(role);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 删除权限
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "删除权限", action = "1")
-	@ApiOperation(value = "删除", notes = "删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("system:permission:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b= sysPermissionService.deleteByPrimaryKey(ids);
-		if(b==1){
-			return success();
-		}else if(b==-1){
-			return error("该权限有子权限,请先删除子权限");
-		}else if(b==-2){
-			return error("该权限绑定了角色,请解除角色绑定");
-		}else {
-			return error();
-		}
-	}
-	
-	/**
-	 * 检查权限
-	 * @param TsysPermission
-	 * @return
-	 */
-	@ApiOperation(value = "检查权限", notes = "检查权限")
-	@PostMapping("/checkNameUnique")
-	@ResponseBody
-	public int checkNameUnique(TsysPermission TsysPermission){
-		int b= sysPermissionService.checkNameUnique(TsysPermission);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	/**
-	 * 检查权限URL
-	 * @param tsysUser
-	 * @return
-	 */
-	@ApiOperation(value = "检查权限URL", notes = "检查权限URL")
-	@PostMapping("/checkURLUnique")
-	@ResponseBody
-	public int checkURLUnique(TsysPermission tsysPermission){
-		int b= sysPermissionService.checkURLUnique(tsysPermission);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	/**
-	 * 检查权限perms字段
-	 * @param tsysUser
-	 * @return
-	 */
-	@ApiOperation(value = "检查权限perms字段", notes = "检查权限perms字段")
-	@PostMapping("/checkPermsUnique")
-	@ResponseBody
-	public int checkPermsUnique(TsysPermission tsysPermission){
-		int b= sysPermissionService.checkPermsUnique(tsysPermission);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	/**
-	 * 修改权限
-	 * @param id
-	 * @param mmap
-	 * @return
-	 */
-	@ApiOperation(value = "修改跳转", notes = "修改跳转")
-	@GetMapping("/edit/{roleId}")
-    public String edit(@PathVariable("roleId") String id, ModelMap mmap)
-    {	
-		//获取自己的权限信息
-		TsysPermission mytsysPermission = sysPermissionService.selectByPrimaryKey(id);
-		//获取父权限信息
-		TsysPermission pattsysPermission = sysPermissionService.selectByPrimaryKey(mytsysPermission.getPid());
-        mmap.put("TsysPermission", mytsysPermission);
-        mmap.put("pattsysPermission", pattsysPermission);
-        return prefix + "/edit";
-    }
-	
-	/**
-     * 修改保存权限
-     */
-	//@Log(title = "修改保存权限", action = "1")
-	@ApiOperation(value = "修改保存", notes = "修改保存")
-    @RequiresPermissions("system:permission:edit")
-    @PostMapping("/edit")
-    @ResponseBody
-    public AjaxResult editSave(TsysPermission TsysPermission)
-    {
-        return toAjax(sysPermissionService.updateByPrimaryKey(TsysPermission));
-    }
-    
-    /**
-     * 获取所有的转换成bootstarp的权限数据
-     * @return
-     */
-	@ApiOperation(value = "获取所有的转换成bootstarp的权限数据", notes = "获取所有的转换成bootstarp的权限数据")
-    @GetMapping("/getTreePerm")
-    @ResponseBody
-    public AjaxResult getbooBootstrapTreePerm(){
-    	
-    	return retobject(200, sysPermissionService.getbooBootstrapTreePerm(null));
-    }
-    
-    
-    /**
-     * 根据角色id获取bootstarp 所有打勾权限
-     * @param roleId 角色id集合
-     * @return
-     */
-	@ApiOperation(value = "根据角色id获取bootstarp 所有打勾权限", notes = "根据角色id获取bootstarp 所有打勾权限")
-    @PostMapping("/getCheckPrem")
-    @ResponseBody
-    public AjaxResult getCheckPrem(String roleId){
-    	
-    	return retobject(200, sysPermissionService.getCheckPrem(roleId));
-    }
-    
-    
-    /**
-     * 跳转到菜单树页面
-     * @return
-     */
-	@ApiOperation(value = "跳转到菜单树页面", notes = "跳转到菜单树页面")
-    @GetMapping("/tree")
-    public String Tree(){
-    	 return prefix + "/tree";
-    }
-    
-    /**
-     * 获取菜单树
-     * @param pid 父id【没用到】
-     * @return
-     */
-	@ApiOperation(value = "获取菜单树", notes = "获取菜单树")
-    @PostMapping("/tree/{pid}")
-    @ResponseBody
-    public AjaxResult Tree(@PathVariable("pid") String pid){
-    	return retobject(200, sysPermissionService.getbooBootstrapTreePerm(null));
-    }
-    
-    
-}

+ 0 - 261
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/PermissionVueController.java

@@ -1,261 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import com.github.pagehelper.PageInfo;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.TvuePermission;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.*;
-
-import java.util.List;
-
-/**
- * VUE权限Controller
- * @author gyee
- * @date: 2018年9月2日 下午8:08:21
- */
-@Api(value = "VUE权限")
-@Controller
-@RequestMapping("/PermissionVueController")
-public class PermissionVueController extends BaseController{
-	
-	//跳转页面参数
-	private String prefix = "admin/permissionvue";
-	
-	/**
-	 * VUE权限列表展示
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月11日 下午3:43:51
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("system:permissionvue:view")
-    public String view(ModelMap model)
-    {	
-		String str="VUE权限";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	
-	/**
-	 * VUE权限列表
-	 * @param tablepar
-	 * @param searchText 搜索字符
-	 * @return
-	 */
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("system:permissionvue:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<TvuePermission> page= vuePermissionService.list(tablepar, searchText) ;
-		TableSplitResult<TvuePermission> result=new TableSplitResult<TvuePermission>(page.getPageNum(), page.getTotal(), page.getList());
-		return  result;
-	}
-	/**
-	 * VUE权限列表
-	 * @param tablepar
-	 * @param searchText 搜索字符
-	 * @return
-	 */
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list2")
-	@ResponseBody
-	public Object list2(Tablepar tablepar,String searchText){
-		List<TvuePermission> page= vuePermissionService.list2(searchText) ;
-		return  page;
-	}
-	/**
-     * 新增VUE权限
-     */
-	@ApiOperation(value = "新增跳转", notes = "新增跳转")
-    @GetMapping("/add")
-    public String add()
-    {
-        return prefix + "/add";
-    }
-	
-	
-    /**
-     * VUE权限添加
-     * @param role
-     * @return
-     */
-	//@Log(title = "VUE权限添加", action = "1")
-	@ApiOperation(value = "新增", notes = "新增")
-	@PostMapping("/add")
-	@RequiresPermissions("system:permissionvue:add")
-	@ResponseBody
-	public AjaxResult add(TvuePermission role){
-		int b= vuePermissionService.insertSelective(role);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 删除VUE权限
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "删除VUE权限", action = "1")
-	@ApiOperation(value = "删除", notes = "删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("system:permissionvue:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b= vuePermissionService.deleteByPrimaryKey(ids);
-		if(b==1){
-			return success();
-		}else if(b==-1){
-			return error("该VUE权限有子VUE权限,请先删除子VUE权限");
-		}else if(b==-2){
-			return error("该VUE权限绑定了角色,请解除角色绑定");
-		}else {
-			return error();
-		}
-	}
-	
-	/**
-	 * 检查VUE权限
-	 * @param TvuePermission
-	 * @return
-	 */
-	@ApiOperation(value = "检查VUE权限", notes = "检查VUE权限")
-	@PostMapping("/checkNameUnique")
-	@ResponseBody
-	public int checkNameUnique(TvuePermission TvuePermission){
-		int b= vuePermissionService.checkNameUnique(TvuePermission);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	/**
-	 * 检查VUE权限URL
-	 * @return
-	 */
-	@ApiOperation(value = "检查VUE权限URL", notes = "检查VUE权限URL")
-	@PostMapping("/checkURLUnique")
-	@ResponseBody
-	public int checkURLUnique(TvuePermission tsysPermission){
-		int b= vuePermissionService.checkURLUnique(tsysPermission);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	/**
-	 * 检查VUE权限perms字段
-	 * @return
-	 */
-	@ApiOperation(value = "检查VUE权限perms字段", notes = "检查VUE权限perms字段")
-	@PostMapping("/checkPermsUnique")
-	@ResponseBody
-	public int checkPermsUnique(TvuePermission tsysPermission){
-		int b= vuePermissionService.checkPermsUnique(tsysPermission);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	/**
-	 * 修改VUE权限
-	 * @param id
-	 * @param mmap
-	 * @return
-	 */
-	@ApiOperation(value = "修改跳转", notes = "修改跳转")
-	@GetMapping("/edit/{roleId}")
-    public String edit(@PathVariable("roleId") String id, ModelMap mmap)
-    {	
-		//获取自己的VUE权限信息
-		TvuePermission mytsysPermission = vuePermissionService.selectByPrimaryKey(id);
-		//获取父VUE权限信息
-		TvuePermission pattsysPermission = vuePermissionService.selectByPrimaryKey(mytsysPermission.getPid());
-        mmap.put("TvuePermission", mytsysPermission);
-        mmap.put("pattsysPermission", pattsysPermission);
-        return prefix + "/edit";
-    }
-	
-	/**
-     * 修改保存VUE权限
-     */
-	//@Log(title = "修改保存VUE权限", action = "1")
-	@ApiOperation(value = "修改保存", notes = "修改保存")
-    @RequiresPermissions("system:permissionvue:edit")
-    @PostMapping("/edit")
-    @ResponseBody
-    public AjaxResult editSave(TvuePermission TvuePermission)
-    {
-        return toAjax(vuePermissionService.updateByPrimaryKey(TvuePermission));
-    }
-    
-    /**
-     * 获取所有的转换成bootstarp的VUE权限数据
-     * @return
-     */
-	@ApiOperation(value = "获取所有的转换成bootstarp的VUE权限数据", notes = "获取所有的转换成bootstarp的VUE权限数据")
-    @GetMapping("/getTreePerm")
-    @ResponseBody
-    public AjaxResult getbooBootstrapTreePerm(){
-    	
-    	return retobject(200, vuePermissionService.getbooBootstrapTreePerm(null));
-    }
-    
-    
-    /**
-     * 根据角色id获取bootstarp 所有打勾VUE权限
-     * @param roleId 角色id集合
-     * @return
-     */
-	@ApiOperation(value = "根据角色id获取bootstarp 所有打勾VUE权限", notes = "根据角色id获取bootstarp 所有打勾VUE权限")
-    @PostMapping("/getCheckPrem")
-    @ResponseBody
-    public AjaxResult getCheckPrem(String roleId){
-    	
-    	return retobject(200, vuePermissionService.getCheckPrem(roleId));
-    }
-    
-    
-    /**
-     * 跳转到菜单树页面
-     * @return
-     */
-	@ApiOperation(value = "跳转到菜单树页面", notes = "跳转到菜单树页面")
-    @GetMapping("/tree")
-    public String Tree(){
-    	 return prefix + "/tree";
-    }
-    
-    /**
-     * 获取菜单树
-     * @param pid 父id【没用到】
-     * @return
-     */
-	@ApiOperation(value = "获取菜单树", notes = "获取菜单树")
-    @PostMapping("/tree/{pid}")
-    @ResponseBody
-    public AjaxResult Tree(@PathVariable("pid") String pid){
-    	return retobject(200, vuePermissionService.getbooBootstrapTreePerm(null));
-    }
-    
-    
-}

+ 0 - 111
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/ProvinceLinkageController.java

@@ -1,111 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import java.util.List;
-import javax.annotation.Resource;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.model.auto.SysArea;
-import com.gyee.frame.model.auto.SysAreaExample;
-import com.gyee.frame.model.auto.SysCity;
-import com.gyee.frame.model.auto.SysCityExample;
-import com.gyee.frame.model.auto.SysProvinceExample;
-import com.gyee.frame.model.auto.SysStreet;
-import com.gyee.frame.model.auto.SysStreetExample;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.service.SysAreaService;
-import com.gyee.frame.service.SysCityService;
-import com.gyee.frame.service.SysProvinceService;
-import com.gyee.frame.service.SysStreetService;
-
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-/**
- * 省份联动controller
- * @ClassName: ProvinceLinkageController
- * @author gyee
- * @date 2019-10-05 11:19
- */
-@Api(value = "省份联动controller")
-@Controller
-@RequestMapping("/ProvinceLinkageController")
-public class ProvinceLinkageController  extends BaseController{
-	@Resource
-	private SysProvinceService sysProvinceService;
-	@Resource
-	private SysCityService sysCityService;
-	@Resource
-	private SysAreaService sysAreaService;
-	
-	@Resource
-	private SysStreetService sysStreetService;
-	
-	private String prefix = "admin/province";
-	
-	/**
-	 * 分页list页面
-	 * @param model
-	 * @param dictId
-	 * @return
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-    public String view(ModelMap model)
-    {	
-		String str="省份联动";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-		model.addAttribute("provinceList",sysProvinceService.selectByExample(new SysProvinceExample()));
-        return prefix + "/list";
-    }
-	
-	/**
-	 * 市查询
-	 * @param pid
-	 * @return
-	 */
-	@ApiOperation(value = "市查询", notes = "市查询")
-	@GetMapping("/getCity")
-	@ResponseBody
-	public List<SysCity> getCity(String pid){
-		SysCityExample example=new SysCityExample();
-		example.createCriteria().andProvinceCodeEqualTo(pid);
-		return sysCityService.selectByExample(example);
-		
-	}
-	
-	/**
-	 * 区查询
-	 * @param pid
-	 * @return
-	 */
-	@ApiOperation(value = "区查询", notes = "区查询")
-	@GetMapping("/getArea")
-	@ResponseBody
-	public List<SysArea> getArea(String pid){
-		SysAreaExample example=new SysAreaExample();
-		example.createCriteria().andCityCodeEqualTo(pid);
-		return sysAreaService.selectByExample(example);
-		
-	}
-	
-	/**
-	 * 街道查询
-	 * @param pid
-	 * @return
-	 */
-	@ApiOperation(value = "街道查询", notes = "街道查询")
-	@GetMapping("/getStreet")
-	@ResponseBody
-	public List<SysStreet> getStreet(String pid){
-		SysStreetExample example=new SysStreetExample();
-		example.createCriteria().andAreaCodeEqualTo(pid);
-		return sysStreetService.selectByExample(example);
-		
-	}
-		
-	
-}

+ 0 - 42
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/QuartzController.java

@@ -1,42 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.model.custom.TitleVo;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-
-
-/**
- * 定时任务表达式工具生成Controller
- * @ClassName: QuartzController
- * @author gyee
- * @date 2019-11-20 22:44
- */
-@Api(value = "定时任务工具类")
-@Controller
-@RequestMapping("/quartz")
-public class QuartzController extends BaseController{
-
-	private String prefix = "admin/quartz";
-
-	/**
-	 * 定时页面展示
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月11日 下午3:45:53
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-    public String view(ModelMap model)
-    {	
-		String str="定时器";
-		setTitle(model, new TitleVo("表达式生成", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-}

+ 0 - 199
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/QuartzJobController.java

@@ -1,199 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import org.quartz.SchedulerException;
-import javax.annotation.Resource;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-import com.github.pagehelper.PageInfo;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.SysQuartzJob;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.service.SysQuartzJobService;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-/**
- * 
-* @ClassName: QuartzJobController
-* @author Jan 橙寂
-* @date 2019-11-20 22:49
- */
-@Api(value = "定时任务调度表")
-@Controller
-@RequestMapping("/SysQuartzJobController")
-public class QuartzJobController extends BaseController{
-	
-	private String prefix = "admin/sysQuartzJob";
-	@Resource
-	private SysQuartzJobService sysQuartzJobService;
-	
-	/**
-	 * 展示页面
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月11日 下午3:55:01
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("gen:sysQuartzJob:view")
-    public String view(ModelMap model)
-    {	
-		String str="定时任务调度表";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	/**
-	 * 定时任务调度list
-	 * @param tablepar
-	 * @param searchText
-	 * @return
-	 */
-	//@Log(title = "定时任务调度表集合查询", action = "111")
-	@ApiOperation(value = "定时任务调度list", notes = "定时任务调度list")
-	@PostMapping("/list")
-	@RequiresPermissions("gen:sysQuartzJob:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<SysQuartzJob> page=sysQuartzJobService.list(tablepar,searchText) ; 
-		TableSplitResult<SysQuartzJob> result=new TableSplitResult<SysQuartzJob>(page.getPageNum(), page.getTotal(), page.getList()); 
-		return  result;
-	}
-	
-	/**
-	 * 新增跳转页面
-	 * @param modelMap
-	 * @return
-	 */
-	@ApiOperation(value = "新增跳转", notes = "新增跳转")
-    @GetMapping("/add")
-    public String add(ModelMap modelMap)
-    {
-        return prefix + "/add";
-    }
-	
-    /**
-     * 新增保存
-     * @param sysQuartzJob
-     * @return
-     * @author gyee
-     * @Date 2019年11月11日 下午4:00:08
-     */
-	//@Log(title = "定时任务调度表新增", action = "111")
-	@ApiOperation(value = "新增", notes = "新增")
-	@PostMapping("/add")
-	@RequiresPermissions("gen:sysQuartzJob:add")
-	@ResponseBody
-	public AjaxResult add(SysQuartzJob sysQuartzJob){
-		int b=sysQuartzJobService.insertSelective(sysQuartzJob);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 删除
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "定时任务调度表删除", action = "111")
-	@ApiOperation(value = "删除", notes = "删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("gen:sysQuartzJob:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b=sysQuartzJobService.deleteByPrimaryKey(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 检查
-	 * @param tsysUser
-	 * @return
-	 */
-	@ApiOperation(value = "检查Name唯一", notes = "检查Name唯一")
-	@PostMapping("/checkNameUnique")
-	@ResponseBody
-	public int checkNameUnique(SysQuartzJob sysQuartzJob){
-		int b=sysQuartzJobService.checkNameUnique(sysQuartzJob);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	
-	/**
-	 * 修改跳转
-	 * @param id
-	 * @param mmap
-	 * @return
-	 */
-	@ApiOperation(value = "修改跳转", notes = "修改跳转")
-	@GetMapping("/edit/{id}")
-    public String edit(@PathVariable("id") String id, ModelMap mmap)
-    {
-        mmap.put("SysQuartzJob", sysQuartzJobService.selectByPrimaryKey(id));
-
-        return prefix + "/edit";
-    }
-	
-	/**
-     * 修改保存
-     */
-    //@Log(title = "定时任务调度表修改", action = "111")
-	@ApiOperation(value = "修改保存", notes = "修改保存")
-    @RequiresPermissions("gen:sysQuartzJob:edit")
-    @PostMapping("/edit")
-    @ResponseBody
-    public AjaxResult editSave(SysQuartzJob record)
-    {
-        return toAjax(sysQuartzJobService.updateByPrimaryKeySelective(record));
-    }
-
-    /**
-     * 任务调度状态修改
-     */
-	//@Log(title = "任务调度状态修改", action = "1")
-	@ApiOperation(value = "任务调度状态修改", notes = "任务调度状态修改")
-    @PostMapping("/changeStatus")
-    @ResponseBody
-    public AjaxResult changeStatus(SysQuartzJob job) throws SchedulerException
-    {
-    	SysQuartzJob newJob = sysQuartzJobService.selectByPrimaryKey(job.getId());
-        newJob.setStatus(job.getStatus());
-        return toAjax(sysQuartzJobService.changeStatus(newJob));
-    }
-    
-    /**
-     * 任务调度立即执行一次
-     */
-	//@Log(title = "任务调度立即执行一次", action = "1")
-	@ApiOperation(value = "任务调度立即执行一次", notes = "任务调度立即执行一次")
-    @PostMapping("/run")
-    @ResponseBody
-    public AjaxResult run(SysQuartzJob job) throws SchedulerException
-    {
-    	SysQuartzJob newJob = sysQuartzJobService.selectByPrimaryKey(job.getId());
-    	sysQuartzJobService.run(newJob);
-        return success();
-    }
-
-	
-}

+ 0 - 116
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/QuartzJobLogController.java

@@ -1,116 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import javax.annotation.Resource;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-import com.github.pagehelper.PageInfo;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.SysQuartzJobLog;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.service.SysQuartzJobLogService;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-/**
- * 定时任务日志Controller
-* @ClassName: QuartzJobLogController
-* @author gyee
-* @date 2019-11-20 22:51
- */
-@Api(value = "定时任务调度日志表")
-@Controller
-@RequestMapping("/SysQuartzJobLogController")
-public class QuartzJobLogController extends BaseController{
-	
-	private String prefix = "admin/sysQuartzJobLog";
-	@Resource
-	private SysQuartzJobLogService sysQuartzJobLogService;
-	
-	/**
-	 * 展示跳转页面
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月11日 下午4:01:13
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("gen:sysQuartzJobLog:view")
-    public String view(ModelMap model)
-    {	
-		String str="定时任务调度日志表";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	
-	/**
-	 * 定时任务调度日志list
-	 * @param tablepar
-	 * @param searchText
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月11日 下午4:01:26
-	 */
-	//@Log(title = "定时任务调度日志表集合查询", action = "111")
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("gen:sysQuartzJobLog:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<SysQuartzJobLog> page=sysQuartzJobLogService.list(tablepar,searchText) ; 
-		TableSplitResult<SysQuartzJobLog> result=new TableSplitResult<SysQuartzJobLog>(page.getPageNum(), page.getTotal(), page.getList()); 
-		return  result;
-	}
-	
-	/**
-	 * 查看详情
-	 * @param modelMap
-	 * @return
-	 * @author gyee
-	 * @Date 2019年9月14日 下午11:50:42
-	 */
-	 @ApiOperation(value = "查看详情", notes = "查看详情")
-	 @GetMapping("/detail/{id}")
-     public String detail(@PathVariable("id") String id,ModelMap modelMap)
-     {
-		SysQuartzJobLog log= sysQuartzJobLogService.selectByPrimaryKey(id);
-		modelMap.put("SysQuartzJobLog", log);
-        return prefix + "/detail";
-     }
-	 
-
-	
-	/**
-	 * 定时任务日志删除
-	 * @param ids id集合
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月20日 下午10:51:52
-	 */
-	//@Log(title = "定时任务调度日志表删除", action = "111")
-	@ApiOperation(value = "定时任务日志删除", notes = "定时任务日志删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("gen:sysQuartzJobLog:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b=sysQuartzJobLogService.deleteByPrimaryKey(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-    
-    
-
-	
-}

+ 0 - 175
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/RoleController.java

@@ -1,175 +0,0 @@
-package com.gyee.frame.controller.admin;
-
-import javax.servlet.http.HttpServletRequest;
-import com.gyee.frame.common.base.BaseController;
-import com.gyee.frame.common.domain.AjaxResult;
-import com.gyee.frame.model.auto.TsysRole;
-import com.gyee.frame.model.custom.BootstrapTree;
-import com.gyee.frame.model.custom.TableSplitResult;
-import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.model.custom.TitleVo;
-import com.gyee.frame.shiro.util.ShiroUtils;
-import com.github.pagehelper.PageInfo;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-
-import org.apache.shiro.authz.annotation.RequiresPermissions;
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.ModelMap;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-
-/**
- * 角色Controller
- * @author gyee
- * @date: 2018年9月2日 下午8:08:21
- */
-@Api(value = "用户角色")
-@Controller
-@RequestMapping("/RoleController")
-public class RoleController extends BaseController{
-	
-	
-	//跳转页面参数
-	private String prefix = "admin/role";
-	
-	/**
-	 * 展示页面
-	 * @param model
-	 * @return
-	 * @author gyee
-	 * @Date 2019年11月11日 下午4:01:58
-	 */
-	@ApiOperation(value = "分页跳转", notes = "分页跳转")
-	@GetMapping("/view")
-	@RequiresPermissions("system:role:view")
-    public String view(ModelMap model)
-    {	
-		String str="角色";
-		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
-        return prefix + "/list";
-    }
-	
-	/**
-	 * 角色列表
-	 * @param tablepar
-	 * @param searchText 搜索字符
-	 * @return
-	 */
-	@ApiOperation(value = "分页查询", notes = "分页查询")
-	@PostMapping("/list")
-	@RequiresPermissions("system:user:list")
-	@ResponseBody
-	public Object list(Tablepar tablepar,String searchText){
-		PageInfo<TsysRole> page=sysRoleService.list(tablepar,searchText) ; 
-		TableSplitResult<TsysRole> result=new TableSplitResult<TsysRole>(page.getPageNum(), page.getTotal(), page.getList()); 
-		return  result;
-	}
-	
-	/**
-     * 新增角色
-     */
-	@ApiOperation(value = "新增跳转", notes = "新增跳转")
-    @GetMapping("/add")
-    public String add()
-    {
-        return prefix + "/add";
-    }
-	
-	
-    /**
-     * 角色添加
-     * @param role
-     * @return
-     */
-	//@Log(title = "角色添加", action = "1")
-	@ApiOperation(value = "新增", notes = "新增")
-	@PostMapping("/add")
-	@RequiresPermissions("system:user:add")
-	@ResponseBody
-	public AjaxResult add(TsysRole role,String prem){
-		int b=sysRoleService.insertRoleAndPrem(role,prem);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 删除角色
-	 * @param ids
-	 * @return
-	 */
-	//@Log(title = "删除角色", action = "1")
-	@ApiOperation(value = "删除", notes = "删除")
-	@PostMapping("/remove")
-	@RequiresPermissions("system:user:remove")
-	@ResponseBody
-	public AjaxResult remove(String ids){
-		int b=sysRoleService.deleteByPrimaryKey(ids);
-		if(b>0){
-			return success();
-		}else{
-			return error();
-		}
-	}
-	
-	/**
-	 * 检查角色
-	 * @param TsysRole
-	 * @return
-	 */
-	@ApiOperation(value = "检查Name唯一", notes = "检查Name唯一")
-	@PostMapping("/checkNameUnique")
-	@ResponseBody
-	public int checkNameUnique(TsysRole tsysRole){
-		int b=sysRoleService.checkNameUnique(tsysRole);
-		if(b>0){
-			return 1;
-		}else{
-			return 0;
-		}
-	}
-	
-	
-	/**
-	 * 修改角色
-	 * @param id
-	 * @param mmap
-	 * @return
-	 */
-	@ApiOperation(value = "修改跳转", notes = "修改跳转")
-	@GetMapping("/edit/{roleId}")
-    public String edit(@PathVariable("roleId") String id, ModelMap mmap)
-    {
-        mmap.put("TsysRole", sysRoleService.selectByPrimaryKey(id));
-        return prefix + "/edit";
-    }
-	
-	/**
-     * 修改保存角色
-     */
-	//@Log(title = "修改保存角色", action = "1")
-	@ApiOperation(value = "修改保存", notes = "修改保存")
-    @RequiresPermissions("system:user:edit")
-    @PostMapping("/edit")
-    @ResponseBody
-    public AjaxResult editSave(TsysRole tsysRole,String prem,HttpServletRequest request)
-    {
-    	int i=sysRoleService.updateRoleAndPrem(tsysRole,prem);
-    	if(i>0) {
-    		//大于0刷新权限
-    		ShiroUtils.clearCachedAuthorizationInfo();
-    		//获取菜单栏
-        	BootstrapTree bootstrapTree= sysPermissionService.getbooBootstrapTreePerm(ShiroUtils.getUserId());
-        	request.getSession().setAttribute("bootstrapTree", bootstrapTree);
-    	}
-		
-        return toAjax(i);
-    }
-}

+ 0 - 0
web/monitor-web-hb/src/main/java/com/gyee/frame/controller/admin/RoleVueController.java


Some files were not shown because too many files changed in this diff