From e8199b3f2dca720887e2519a7f5693600f08294f Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Mon, 4 Sep 2023 10:35:29 +0800 Subject: [PATCH] =?UTF-8?q?#=E4=BB=A3=E7=A0=81=E5=9B=9E=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hzims-service-api/base-info-api/pom.xml | 23 - .../hzims/baseinfo/entity/FileReservoirInfo.java | 65 - .../hzims/baseinfo/entity/ImageReservoirInfo.java | 62 - .../com/hnac/hzims/baseinfo/entity/IrrBIReach.java | 62 - .../hzims/baseinfo/entity/IrrBIReachExample.java | 531 ----- .../hnac/hzims/baseinfo/entity/ReservoirInfo.java | 408 ---- .../baseinfo/entity/ReservoirInfoExample.java | 2358 -------------------- .../hzims/baseinfo/entity/ReservoirRefdata.java | 50 - .../baseinfo/entity/ReservoirRefdataExample.java | 480 ---- .../baseinfo/entity/ReservoirWaterManage.java | 95 - .../entity/ReservoirWaterManageExample.java | 751 ------- .../com/hnac/hzims/baseinfo/entity/StZvarlB.java | 92 - .../hzims/baseinfo/entity/StZvarlBExample.java | 692 ------ .../com/hnac/hzims/baseinfo/entity/WqLrinfB.java | 72 - .../hzims/baseinfo/entity/WqLrinfBExample.java | 601 ----- .../hnac/hzims/baseinfo/vo/ReservoirInfoVo.java | 64 - .../hnac/hzims/baseinfo/vo/ReservoirRefdataVo.java | 57 - hzims-service-api/dam-safety-api/pom.xml | 26 - .../com/hnac/hzims/damsafety/entity/TBuilding.java | 37 - .../com/hnac/hzims/damsafety/entity/TProjInfo.java | 38 - .../hzims/damsafety/entity/TSectionConfig.java | 34 - .../com/hnac/hzims/damsafety/entity/WrpDamsB.java | 31 - .../hzims/damsafety/entity/WrpDfrSrhrdsmp.java | 56 - .../hzims/damsafety/entity/WrpDfrSrvrdsbp.java | 55 - .../hzims/damsafety/entity/WrpDfrSrvrdsmp.java | 53 - .../hnac/hzims/damsafety/entity/WrpSectionB.java | 38 - .../hnac/hzims/damsafety/entity/WrpSpgPztb.java | 57 - .../hnac/hzims/damsafety/entity/WrpSpgSpprmp.java | 52 - .../hnac/hzims/damsafety/entity/WrpSpgSpqnmp.java | 45 - .../hzims/damsafety/feign/IWrpSectionBClient.java | 31 - .../com/hnac/hzims/damsafety/vo/TBuildingVo.java | 8 - .../com/hnac/hzims/damsafety/vo/TProjInfoVo.java | 8 - .../hnac/hzims/damsafety/vo/WrpDfrSrhrdsmpVo.java | 7 - .../hnac/hzims/damsafety/vo/WrpDfrSrvrdsbpVo.java | 7 - .../hnac/hzims/damsafety/vo/WrpDfrSrvrdsmpVo.java | 7 - .../com/hnac/hzims/damsafety/vo/WrpSectionBVO.java | 16 - .../com/hnac/hzims/damsafety/vo/WrpSpgPztbVo.java | 7 - .../hnac/hzims/damsafety/vo/WrpSpgSpprmpVo.java | 7 - .../hnac/hzims/damsafety/vo/WrpSpgSpqnmpVo.java | 7 - hzims-service-api/digital-twin-display-api/pom.xml | 23 - .../operational/station/entity/StationEntity.java | 52 +- hzims-service-api/pom.xml | 6 - hzims-service-api/video-image-api/pom.xml | 20 - .../hnac/hzims/videoimage/entity/ImageConfig.java | 29 - .../videoimage/entity/ImageConfigExample.java | 680 ------ .../hnac/hzims/videoimage/entity/ImageInfo.java | 60 - .../hzims/videoimage/entity/ImageInfoExample.java | 391 ---- .../hnac/hzims/videoimage/entity/ImagePoint.java | 105 - .../videoimage/entity/ImagePointRelateInfo.java | 34 - .../com/hnac/hzims/videoimage/util/Constants.java | 32 - .../hnac/hzims/videoimage/util/ConvertUtils.java | 43 - .../com/hnac/hzims/videoimage/vo/ImageInfoVo.java | 12 - .../com/hnac/hzims/videoimage/vo/ImagePointVo.java | 15 - hzims-service-api/water-quality-api/pom.xml | 20 - .../hnac/hzims/waterquality/entity/WqConfigD.java | 24 - .../hnac/hzims/waterquality/entity/WqWfrinfB.java | 54 - .../hnac/hzims/waterquality/entity/WqWqsinfB.java | 59 - .../hnac/hzims/waterquality/entity/WqWrrinfB.java | 22 - .../hzims/waterquality/feign/IWqWqsinfBClient.java | 50 - .../hnac/hzims/waterquality/vo/WqWqsinfBVo.java | 7 - hzims-service-api/water-rain-api/pom.xml | 20 - .../com/hnac/hzims/waterrain/bo/StationResp.java | 26 - .../com/hnac/hzims/waterrain/entity/HzStPptnR.java | 13 - .../hnac/hzims/waterrain/entity/HzStRiverR.java | 14 - .../com/hnac/hzims/waterrain/entity/HzStRsvrR.java | 15 - .../hzims/waterrain/entity/ReorganizeData.java | 14 - .../hnac/hzims/waterrain/entity/ReorganizeLog.java | 13 - .../com/hnac/hzims/waterrain/entity/StStbprpB.java | 74 - .../waterrain/enums/HistoryDataCalcTypeEnum.java | 35 - .../hzims/waterrain/enums/WaterFlowRainEnum.java | 35 - .../hzims/waterrain/feign/IStStbprpBClient.java | 28 - .../waterrain/feign/IStStbprpBDataClient.java | 19 - .../com/hnac/hzims/waterrain/vo/StStbprpBVo.java | 9 - hzims-service/base-info/pom.xml | 66 - .../hnac/hzims/baseinfo/BaseInfoApplication.java | 40 - .../baseinfo/controller/IrrBIReachController.java | 94 - .../controller/ReservoirInfoController.java | 88 - .../controller/ReservoirRefdataController.java | 35 - .../baseinfo/controller/StZvarlBController.java | 72 - .../baseinfo/controller/WqLrinfBController.java | 94 - .../baseinfo/mapper/FileReservoirInfoMapper.java | 14 - .../baseinfo/mapper/ImageReservoirInfoMapper.java | 13 - .../hzims/baseinfo/mapper/IrrBIReachMapper.java | 26 - .../hzims/baseinfo/mapper/IrrBIReachMapper.xml | 149 -- .../hzims/baseinfo/mapper/ReservoirInfoMapper.java | 35 - .../hzims/baseinfo/mapper/ReservoirInfoMapper.xml | 520 ----- .../baseinfo/mapper/ReservoirRefdataMapper.java | 21 - .../baseinfo/mapper/ReservoirRefdataMapper.xml | 125 -- .../hnac/hzims/baseinfo/mapper/StZvarlBMapper.java | 28 - .../hnac/hzims/baseinfo/mapper/StZvarlBMapper.xml | 192 -- .../hnac/hzims/baseinfo/mapper/WqLrinfBMapper.java | 27 - .../hnac/hzims/baseinfo/mapper/WqLrinfBMapper.xml | 154 -- .../baseinfo/service/FileReservoirInfoService.java | 13 - .../service/ImageReservoirInfoService.java | 13 - .../hzims/baseinfo/service/IrrBIReachService.java | 18 - .../baseinfo/service/ReservoirInfoService.java | 25 - .../baseinfo/service/ReservoirRefDataService.java | 15 - .../service/ReservoirWaterManageService.java | 11 - .../hzims/baseinfo/service/StZvarlBService.java | 26 - .../hzims/baseinfo/service/WqLrinfBService.java | 20 - .../service/impl/FileReservoirInfoServiceImpl.java | 18 - .../impl/ImageReservoirInfoServiceImpl.java | 21 - .../service/impl/IrrBIReachServiceImpl.java | 65 - .../service/impl/ReservoirInfoServiceImpl.java | 180 -- .../service/impl/ReservoirRefDataServiceImpl.java | 66 - .../baseinfo/service/impl/StZvarlBServiceImpl.java | 148 -- .../baseinfo/service/impl/WqLrinfBServiceImpl.java | 71 - .../src/main/resources/application-dev.yml | 30 - .../src/main/resources/application-prod.yml | 28 - .../base-info/src/main/resources/application.yml | 21 - hzims-service/dam-safety/pom.xml | 67 - .../hnac/hzims/damsafety/DamSafetyApplication.java | 40 - .../controller/DamSafetyDataController.java | 211 -- .../damsafety/controller/FileUploadController.java | 57 - .../damsafety/controller/TBuildingController.java | 124 - .../damsafety/controller/TProjInfoController.java | 131 -- .../controller/TSectionConfigController.java | 114 - .../damsafety/controller/WrpDamsBController.java | 123 - .../controller/WrpDfrSrhrdsmpController.java | 135 -- .../controller/WrpDfrSrvrdsbpController.java | 117 - .../controller/WrpDfrSrvrdsmpController.java | 135 -- .../controller/WrpSectionBController.java | 149 -- .../damsafety/controller/WrpSpgPztbController.java | 133 -- .../controller/WrpSpgSpprmpController.java | 139 -- .../controller/WrpSpgSpqnmpController.java | 133 -- .../hzims/damsafety/feign/WrpSectionBClient.java | 38 - .../hzims/damsafety/mapper/TbBuildingMapper.java | 7 - .../hzims/damsafety/mapper/TbBuildingMapper.xml | 5 - .../hzims/damsafety/mapper/TbProjInfoMapper.java | 7 - .../hzims/damsafety/mapper/TbProjInfoMapper.xml | 5 - .../damsafety/mapper/TbSectionConfigMapper.java | 7 - .../damsafety/mapper/TbSectionConfigMapper.xml | 5 - .../hzims/damsafety/mapper/WrpDamsBMapper.java | 7 - .../hnac/hzims/damsafety/mapper/WrpDamsBMapper.xml | 5 - .../damsafety/mapper/WrpDfrSrhrdsmpMapper.java | 12 - .../damsafety/mapper/WrpDfrSrhrdsmpMapper.xml | 23 - .../damsafety/mapper/WrpDfrSrvrdsbpMapper.java | 7 - .../damsafety/mapper/WrpDfrSrvrdsbpMapper.xml | 5 - .../damsafety/mapper/WrpDfrSrvrdsmpMapper.java | 13 - .../damsafety/mapper/WrpDfrSrvrdsmpMapper.xml | 23 - .../hzims/damsafety/mapper/WrpSectionBMapper.java | 27 - .../hzims/damsafety/mapper/WrpSectionBMapper.xml | 42 - .../hzims/damsafety/mapper/WrpSpgPztbMapper.java | 12 - .../hzims/damsafety/mapper/WrpSpgPztbMapper.xml | 23 - .../hzims/damsafety/mapper/WrpSpgSpprmpMapper.java | 12 - .../hzims/damsafety/mapper/WrpSpgSpprmpMapper.xml | 23 - .../hzims/damsafety/mapper/WrpSpgSpqnmpMapper.java | 13 - .../hzims/damsafety/mapper/WrpSpgSpqnmpMapper.xml | 23 - .../damsafety/service/IDamSafetyDataService.java | 25 - .../damsafety/service/IFileUploadService.java | 10 - .../hzims/damsafety/service/ITBuildingService.java | 8 - .../hzims/damsafety/service/ITProjInfoService.java | 7 - .../damsafety/service/ITSectionConfigService.java | 23 - .../hzims/damsafety/service/IWrpDamsBService.java | 23 - .../damsafety/service/IWrpDfrSrhrdsmpService.java | 12 - .../damsafety/service/IWrpDfrSrvrdsbpService.java | 8 - .../damsafety/service/IWrpDfrSrvrdsmpService.java | 12 - .../damsafety/service/IWrpSectionBService.java | 28 - .../damsafety/service/IWrpSpgPztbService.java | 12 - .../damsafety/service/IWrpSpgSpprmpService.java | 12 - .../damsafety/service/IWrpSpgSpqnmpService.java | 13 - .../service/impl/DamSafetyDataServiceImpl.java | 647 ------ .../service/impl/FileUploadServiceImpl.java | 63 - .../service/impl/TBuildingServiceImpl.java | 11 - .../service/impl/TProjInfoServiceImpl.java | 11 - .../service/impl/TSectionConfigServiceImpl.java | 53 - .../service/impl/WrpDamsBServiceImpl.java | 57 - .../service/impl/WrpDfrSrhrdsmpServiceImpl.java | 30 - .../service/impl/WrpDfrSrvrdsbpServiceImpl.java | 11 - .../service/impl/WrpDfrSrvrdsmpServiceImpl.java | 28 - .../service/impl/WrpSectionBServiceImpl.java | 31 - .../service/impl/WrpSpgPztbServiceImpl.java | 30 - .../service/impl/WrpSpgSpprmpServiceImpl.java | 32 - .../service/impl/WrpSpgSpqnmpServiceImpl.java | 30 - .../hnac/hzims/damsafety/util/DealSectionUtil.java | 48 - .../com/hnac/hzims/damsafety/util/ParamUtil.java | 177 -- .../hzims/damsafety/wrapper/TBuildingWrapper.java | 24 - .../hzims/damsafety/wrapper/TProjInfoWrapper.java | 26 - .../damsafety/wrapper/WrpDfrSrhrdsmpWrapper.java | 27 - .../damsafety/wrapper/WrpDfrSrvrdsbpWrapper.java | 27 - .../damsafety/wrapper/WrpDfrSrvrdsmpWrapper.java | 27 - .../damsafety/wrapper/WrpSectionBWrapper.java | 28 - .../hzims/damsafety/wrapper/WrpSpgPztbWrapper.java | 27 - .../damsafety/wrapper/WrpSpgSpprmpWrapper.java | 27 - .../damsafety/wrapper/WrpSpgSpqnmpWrapper.java | 27 - .../src/main/resources/application-dev.yml | 30 - .../src/main/resources/application-prod.yml | 28 - .../dam-safety/src/main/resources/application.yml | 13 - hzims-service/digital-twin-display/pom.xml | 86 - .../twindisplay/DigitalTwinDisplayApplication.java | 44 - .../twindisplay/controller/BaseInfoController.java | 79 - .../twindisplay/controller/RouteController.java | 88 - .../controller/StatisticsController.java | 64 - .../twindisplay/controller/TaskController.java | 128 -- .../service/IDigitalBaseInfoService.java | 57 - .../hzims/twindisplay/service/RouteService.java | 44 - .../twindisplay/service/StatisticsService.java | 32 - .../hzims/twindisplay/service/TaskService.java | 78 - .../service/impl/DigitalBaseInfoServiceImpl.java | 203 -- .../twindisplay/service/impl/RouteServiceImpl.java | 82 - .../service/impl/StatisticsServiceImpl.java | 56 - .../twindisplay/service/impl/TaskServiceImpl.java | 135 -- .../src/main/resources/application-dev.yml | 30 - .../src/main/resources/application-prod.yml | 28 - .../src/main/resources/application.yml | 21 - .../service/impl/CentralMonitorServiceImpl.java | 21 +- .../controller/HydropowerStationController.java | 80 - .../station/controller/StationController.java | 34 +- .../station/service/IStationService.java | 53 +- .../station/service/impl/StationServiceImpl.java | 263 +-- hzims-service/pom.xml | 6 - hzims-service/video-image/pom.xml | 64 - .../hzims/videoimage/VideoImageApplication.java | 29 - .../videoimage/controller/HikVideoController.java | 259 --- .../controller/HikVideoSetController.java | 122 - .../controller/ImageConfigController.java | 235 -- .../videoimage/controller/ImageInfoController.java | 178 -- .../controller/ImagePointController.java | 629 ------ .../hnac/hzims/videoimage/entity/MonitorPoint.java | 64 - .../hzims/videoimage/entity/PointLeafNode.java | 44 - .../hzims/videoimage/entity/PointTreeNode.java | 73 - .../videoimage/entity/SysStationHikSecret.java | 48 - .../videoimage/entity/SysStationHikVideo.java | 114 - .../videoimage/entity/SysStationVideoSet.java | 57 - .../com/hnac/hzims/videoimage/entity/Video.java | 49 - .../hnac/hzims/videoimage/enums/CommandEnum.java | 46 - .../com/hnac/hzims/videoimage/enums/VideoEnum.java | 35 - .../com/hnac/hzims/videoimage/enums/VideoType.java | 51 - .../hzims/videoimage/manager/HikVideoManager.java | 106 - .../videoimage/manager/MonitorPointManager.java | 114 - .../hzims/videoimage/mapper/ImageConfigMapper.java | 34 - .../hzims/videoimage/mapper/ImageConfigMapper.xml | 298 --- .../hzims/videoimage/mapper/ImageInfoMapper.java | 63 - .../hzims/videoimage/mapper/ImageInfoMapper.xml | 342 --- .../hzims/videoimage/mapper/ImagePointMapper.java | 24 - .../hzims/videoimage/mapper/ImagePointMapper.xml | 68 - .../videoimage/mapper/MonitorPointMapper.java | 24 - .../hzims/videoimage/mapper/MonitorPointMapper.xml | 76 - .../mapper/SysStationHikSecretMapper.java | 36 - .../mapper/SysStationHikSecretMapper.xml | 196 -- .../mapper/SysStationHikVideoMapper.java | 26 - .../videoimage/mapper/SysStationHikVideoMapper.xml | 135 -- .../mapper/SysStationVideoSetMapper.java | 39 - .../videoimage/mapper/SysStationVideoSetMapper.xml | 223 -- .../search/SysStationHikSecretExample.java | 463 ---- .../search/SysStationHikVideoExample.java | 974 -------- .../videoimage/search/SysStationVideoSetEx.java | 41 - .../search/SysStationVideoSetExample.java | 513 ----- .../videoimage/search/VideoSearchCondition.java | 62 - .../hzims/videoimage/service/IHikVideoService.java | 37 - .../videoimage/service/IHikVideoSetService.java | 32 - .../videoimage/service/IMonitorPointService.java | 31 - .../videoimage/service/ImageConfigService.java | 24 - .../hzims/videoimage/service/ImageInfoService.java | 32 - .../videoimage/service/ImagePointService.java | 33 - .../hzims/videoimage/service/VideoBaseService.java | 22 - .../service/impl/HikVideoServiceImpl.java | 239 -- .../service/impl/HikVideoSetServiceImpl.java | 128 -- .../service/impl/ImageConfigServiceImpl.java | 119 - .../service/impl/ImageInfoServiceImpl.java | 280 --- .../service/impl/ImagePointServiceImpl.java | 169 -- .../service/impl/MonitorPointServiceImpl.java | 219 -- .../hzims/videoimage/utils/ArtemisPostUtils.java | 95 - .../com/hnac/hzims/videoimage/utils/Childable.java | 12 - .../com/hnac/hzims/videoimage/utils/Constants.java | 8 - .../com/hnac/hzims/videoimage/utils/Markable.java | 5 - .../hzims/videoimage/utils/PointTreeCache.java | 66 - .../hnac/hzims/videoimage/utils/SessionUtil.java | 39 - .../com/hnac/hzims/videoimage/utils/Stack.java | 51 - .../java/com/hnac/hzims/videoimage/utils/Tree.java | 85 - .../com/hnac/hzims/videoimage/utils/TreeNode.java | 43 - .../src/main/resources/application-dev.yml | 30 - .../src/main/resources/application-prod.yml | 28 - .../video-image/src/main/resources/application.yml | 13 - hzims-service/water-quality/pom.xml | 68 - .../waterquality/WaterQualityApplication.java | 51 - .../controller/WqConfigDController.java | 125 -- .../controller/WqDealDataController.java | 179 -- .../controller/WqWfrinfBController.java | 128 -- .../controller/WqWqsinfBController.java | 151 -- .../controller/WqWrrinfBController.java | 128 -- .../hzims/waterquality/mapper/WqConfigDMapper.java | 12 - .../hzims/waterquality/mapper/WqConfigDMapper.xml | 10 - .../hzims/waterquality/mapper/WqWfrinfBMapper.java | 8 - .../hzims/waterquality/mapper/WqWfrinfBMapper.xml | 5 - .../hzims/waterquality/mapper/WqWqsinfBMapper.java | 30 - .../hzims/waterquality/mapper/WqWqsinfBMapper.xml | 5 - .../hzims/waterquality/mapper/WqWrrinfBMapper.java | 8 - .../hzims/waterquality/mapper/WqWrrinfBMapper.xml | 5 - .../waterquality/service/IWqConfigDService.java | 21 - .../waterquality/service/IWqDealDataService.java | 20 - .../waterquality/service/IWqWfrinfBService.java | 9 - .../waterquality/service/IWqWqsinfBService.java | 30 - .../waterquality/service/IWqWrrinfBService.java | 8 - .../service/impl/WqConfigDServiceImpl.java | 48 - .../service/impl/WqDealDataServiceImpl.java | 397 ---- .../service/impl/WqWfrinfBServiceImpl.java | 13 - .../service/impl/WqWqsinfBServiceServiceImpl.java | 34 - .../service/impl/WqWrrinfBServiceImpl.java | 13 - .../hnac/hzims/waterquality/util/ParamUtil.java | 54 - .../waterquality/wrapper/WqWqsinfBWrapper.java | 26 - .../src/main/resources/application-dev.yml | 30 - .../src/main/resources/application-prod.yml | 28 - .../src/main/resources/application-test.yml | 28 - .../src/main/resources/application.yml | 13 - hzims-service/water-rain/pom.xml | 77 - .../hnac/hzims/waterrain/WaterRainApplication.java | 29 - .../controller/ReorganizeLogController.java | 51 - .../waterrain/controller/StStbprpBController.java | 151 -- .../controller/StStbprpBDataController.java | 163 -- .../controller/WaterRainReorganizeController.java | 145 -- .../hzims/waterrain/feign/StStbprpBClient.java | 26 - .../hzims/waterrain/feign/StStbprpBDataClient.java | 20 - .../listener/UploadWaterFlowRainDataListener.java | 336 --- .../waterrain/mapper/ReorganizeLogMapper.java | 11 - .../hzims/waterrain/mapper/ReorganizeLogMapper.xml | 33 - .../hzims/waterrain/mapper/StStbprpBMapper.java | 8 - .../hzims/waterrain/mapper/StStbprpBMapper.xml | 5 - .../mapper/WaterRainReorganizeMapper.java | 28 - .../waterrain/mapper/WaterRainReorganizeMapper.xml | 150 -- .../waterrain/service/IReorganizeLogService.java | 12 - .../waterrain/service/IStStbprpBDataService.java | 47 - .../hzims/waterrain/service/IStStbprpBService.java | 8 - .../service/IWaterRainReorganizeService.java | 34 - .../hzims/waterrain/service/IWaterRainService.java | 4 - .../service/impl/ReorganizeLogServiceImpl.java | 45 - .../service/impl/StStbprpBDataServiceImpl.java | 896 -------- .../service/impl/StStbprpBServiceImpl.java | 11 - .../impl/WaterRainReorganizeServiceImpl.java | 235 -- .../service/impl/WaterRainServiceImpl.java | 8 - .../com/hnac/hzims/waterrain/util/DateUtil.java | 31 - .../com/hnac/hzims/waterrain/util/GisUtil.java | 64 - .../com/hnac/hzims/waterrain/util/ParamUtil.java | 26 - .../hzims/waterrain/wrapper/StStbprpBWrapper.java | 27 - .../src/main/resources/application-dev.yml | 30 - .../src/main/resources/application-prod.yml | 28 - .../src/main/resources/application-test.yml | 28 - .../water-rain/src/main/resources/application.yml | 13 - .../water-rain/src/main/resources/banner.txt | 7 - 339 files changed, 39 insertions(+), 29579 deletions(-) delete mode 100644 hzims-service-api/base-info-api/pom.xml delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/FileReservoirInfo.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ImageReservoirInfo.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/IrrBIReach.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/IrrBIReachExample.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirInfo.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirInfoExample.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirRefdata.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirRefdataExample.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirWaterManage.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirWaterManageExample.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/StZvarlB.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/StZvarlBExample.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/WqLrinfB.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/WqLrinfBExample.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/vo/ReservoirInfoVo.java delete mode 100644 hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/vo/ReservoirRefdataVo.java delete mode 100644 hzims-service-api/dam-safety-api/pom.xml delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TBuilding.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TProjInfo.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TSectionConfig.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDamsB.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrhrdsmp.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrvrdsbp.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrvrdsmp.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSectionB.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgPztb.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgSpprmp.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgSpqnmp.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/feign/IWrpSectionBClient.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/TBuildingVo.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/TProjInfoVo.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrhrdsmpVo.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrvrdsbpVo.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrvrdsmpVo.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSectionBVO.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgPztbVo.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgSpprmpVo.java delete mode 100644 hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgSpqnmpVo.java delete mode 100644 hzims-service-api/digital-twin-display-api/pom.xml delete mode 100644 hzims-service-api/video-image-api/pom.xml delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageConfig.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageConfigExample.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageInfo.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageInfoExample.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImagePoint.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImagePointRelateInfo.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/util/Constants.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/util/ConvertUtils.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/vo/ImageInfoVo.java delete mode 100644 hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/vo/ImagePointVo.java delete mode 100644 hzims-service-api/water-quality-api/pom.xml delete mode 100644 hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqConfigD.java delete mode 100644 hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWfrinfB.java delete mode 100644 hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWqsinfB.java delete mode 100644 hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWrrinfB.java delete mode 100644 hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/feign/IWqWqsinfBClient.java delete mode 100644 hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/vo/WqWqsinfBVo.java delete mode 100644 hzims-service-api/water-rain-api/pom.xml delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/bo/StationResp.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStPptnR.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStRiverR.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStRsvrR.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/ReorganizeData.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/ReorganizeLog.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/StStbprpB.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/enums/HistoryDataCalcTypeEnum.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/enums/WaterFlowRainEnum.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/feign/IStStbprpBClient.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/feign/IStStbprpBDataClient.java delete mode 100644 hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/vo/StStbprpBVo.java delete mode 100644 hzims-service/base-info/pom.xml delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/BaseInfoApplication.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/IrrBIReachController.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/ReservoirInfoController.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/ReservoirRefdataController.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/StZvarlBController.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/WqLrinfBController.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/FileReservoirInfoMapper.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ImageReservoirInfoMapper.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/IrrBIReachMapper.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/IrrBIReachMapper.xml delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirInfoMapper.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirInfoMapper.xml delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirRefdataMapper.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirRefdataMapper.xml delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/StZvarlBMapper.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/StZvarlBMapper.xml delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/WqLrinfBMapper.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/WqLrinfBMapper.xml delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/FileReservoirInfoService.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ImageReservoirInfoService.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/IrrBIReachService.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirInfoService.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirRefDataService.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirWaterManageService.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/StZvarlBService.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/WqLrinfBService.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/FileReservoirInfoServiceImpl.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ImageReservoirInfoServiceImpl.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/IrrBIReachServiceImpl.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ReservoirInfoServiceImpl.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ReservoirRefDataServiceImpl.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/StZvarlBServiceImpl.java delete mode 100644 hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/WqLrinfBServiceImpl.java delete mode 100644 hzims-service/base-info/src/main/resources/application-dev.yml delete mode 100644 hzims-service/base-info/src/main/resources/application-prod.yml delete mode 100644 hzims-service/base-info/src/main/resources/application.yml delete mode 100644 hzims-service/dam-safety/pom.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/DamSafetyApplication.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/DamSafetyDataController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/FileUploadController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TBuildingController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TProjInfoController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TSectionConfigController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDamsBController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrhrdsmpController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrvrdsbpController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrvrdsmpController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSectionBController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgPztbController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgSpprmpController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgSpqnmpController.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/feign/WrpSectionBClient.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbBuildingMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbBuildingMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbProjInfoMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbProjInfoMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbSectionConfigMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbSectionConfigMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDamsBMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDamsBMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrhrdsmpMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrhrdsmpMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsbpMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsbpMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsmpMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsmpMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSectionBMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSectionBMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgPztbMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgPztbMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpprmpMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpprmpMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpqnmpMapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpqnmpMapper.xml delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IDamSafetyDataService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IFileUploadService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITBuildingService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITProjInfoService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITSectionConfigService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDamsBService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrhrdsmpService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrvrdsbpService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrvrdsmpService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSectionBService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgPztbService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgSpprmpService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgSpqnmpService.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/DamSafetyDataServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/FileUploadServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TBuildingServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TProjInfoServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TSectionConfigServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDamsBServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrhrdsmpServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrvrdsbpServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrvrdsmpServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSectionBServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgPztbServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgSpprmpServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgSpqnmpServiceImpl.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/util/DealSectionUtil.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/util/ParamUtil.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/TBuildingWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/TProjInfoWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrhrdsmpWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrvrdsbpWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrvrdsmpWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSectionBWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgPztbWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgSpprmpWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgSpqnmpWrapper.java delete mode 100644 hzims-service/dam-safety/src/main/resources/application-dev.yml delete mode 100644 hzims-service/dam-safety/src/main/resources/application-prod.yml delete mode 100644 hzims-service/dam-safety/src/main/resources/application.yml delete mode 100644 hzims-service/digital-twin-display/pom.xml delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/DigitalTwinDisplayApplication.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/BaseInfoController.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/RouteController.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/StatisticsController.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/TaskController.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/IDigitalBaseInfoService.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/RouteService.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/StatisticsService.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/TaskService.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/DigitalBaseInfoServiceImpl.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/RouteServiceImpl.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/StatisticsServiceImpl.java delete mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/TaskServiceImpl.java delete mode 100644 hzims-service/digital-twin-display/src/main/resources/application-dev.yml delete mode 100644 hzims-service/digital-twin-display/src/main/resources/application-prod.yml delete mode 100644 hzims-service/digital-twin-display/src/main/resources/application.yml delete mode 100644 hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/HydropowerStationController.java delete mode 100644 hzims-service/video-image/pom.xml delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/VideoImageApplication.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/controller/HikVideoController.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/controller/HikVideoSetController.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/controller/ImageConfigController.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/controller/ImageInfoController.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/controller/ImagePointController.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/entity/MonitorPoint.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/entity/PointLeafNode.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/entity/PointTreeNode.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/entity/SysStationHikSecret.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/entity/SysStationHikVideo.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/entity/SysStationVideoSet.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/entity/Video.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/enums/CommandEnum.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/enums/VideoEnum.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/enums/VideoType.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/manager/HikVideoManager.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/manager/MonitorPointManager.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/ImageConfigMapper.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/ImageConfigMapper.xml delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/ImageInfoMapper.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/ImageInfoMapper.xml delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/ImagePointMapper.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/ImagePointMapper.xml delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/MonitorPointMapper.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/MonitorPointMapper.xml delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/SysStationHikSecretMapper.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/SysStationHikSecretMapper.xml delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/SysStationHikVideoMapper.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/SysStationHikVideoMapper.xml delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/SysStationVideoSetMapper.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/mapper/SysStationVideoSetMapper.xml delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/search/SysStationHikSecretExample.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/search/SysStationHikVideoExample.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/search/SysStationVideoSetEx.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/search/SysStationVideoSetExample.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/search/VideoSearchCondition.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/IHikVideoService.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/IHikVideoSetService.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/IMonitorPointService.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/ImageConfigService.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/ImageInfoService.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/ImagePointService.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/VideoBaseService.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/impl/HikVideoServiceImpl.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/impl/HikVideoSetServiceImpl.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/impl/ImageConfigServiceImpl.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/impl/ImageInfoServiceImpl.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/impl/ImagePointServiceImpl.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/service/impl/MonitorPointServiceImpl.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/ArtemisPostUtils.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/Childable.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/Constants.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/Markable.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/PointTreeCache.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/SessionUtil.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/Stack.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/Tree.java delete mode 100644 hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/utils/TreeNode.java delete mode 100644 hzims-service/video-image/src/main/resources/application-dev.yml delete mode 100644 hzims-service/video-image/src/main/resources/application-prod.yml delete mode 100644 hzims-service/video-image/src/main/resources/application.yml delete mode 100644 hzims-service/water-quality/pom.xml delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/WaterQualityApplication.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/controller/WqConfigDController.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/controller/WqDealDataController.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/controller/WqWfrinfBController.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/controller/WqWqsinfBController.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/controller/WqWrrinfBController.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/mapper/WqConfigDMapper.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/mapper/WqConfigDMapper.xml delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/mapper/WqWfrinfBMapper.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/mapper/WqWfrinfBMapper.xml delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/mapper/WqWqsinfBMapper.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/mapper/WqWqsinfBMapper.xml delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/mapper/WqWrrinfBMapper.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/mapper/WqWrrinfBMapper.xml delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/IWqConfigDService.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/IWqDealDataService.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/IWqWfrinfBService.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/IWqWqsinfBService.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/IWqWrrinfBService.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/impl/WqConfigDServiceImpl.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/impl/WqDealDataServiceImpl.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/impl/WqWfrinfBServiceImpl.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/impl/WqWqsinfBServiceServiceImpl.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/service/impl/WqWrrinfBServiceImpl.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/util/ParamUtil.java delete mode 100644 hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/wrapper/WqWqsinfBWrapper.java delete mode 100644 hzims-service/water-quality/src/main/resources/application-dev.yml delete mode 100644 hzims-service/water-quality/src/main/resources/application-prod.yml delete mode 100644 hzims-service/water-quality/src/main/resources/application-test.yml delete mode 100644 hzims-service/water-quality/src/main/resources/application.yml delete mode 100644 hzims-service/water-rain/pom.xml delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/WaterRainApplication.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/controller/ReorganizeLogController.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/controller/StStbprpBController.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/controller/StStbprpBDataController.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/controller/WaterRainReorganizeController.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/feign/StStbprpBClient.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/feign/StStbprpBDataClient.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/listener/UploadWaterFlowRainDataListener.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/mapper/ReorganizeLogMapper.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/mapper/ReorganizeLogMapper.xml delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/mapper/StStbprpBMapper.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/mapper/StStbprpBMapper.xml delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/mapper/WaterRainReorganizeMapper.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/mapper/WaterRainReorganizeMapper.xml delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/IReorganizeLogService.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/IStStbprpBDataService.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/IStStbprpBService.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/IWaterRainReorganizeService.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/IWaterRainService.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/impl/ReorganizeLogServiceImpl.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/impl/StStbprpBDataServiceImpl.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/impl/StStbprpBServiceImpl.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/impl/WaterRainReorganizeServiceImpl.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/service/impl/WaterRainServiceImpl.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/util/DateUtil.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/util/GisUtil.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/util/ParamUtil.java delete mode 100644 hzims-service/water-rain/src/main/java/com/hnac/hzims/waterrain/wrapper/StStbprpBWrapper.java delete mode 100644 hzims-service/water-rain/src/main/resources/application-dev.yml delete mode 100644 hzims-service/water-rain/src/main/resources/application-prod.yml delete mode 100644 hzims-service/water-rain/src/main/resources/application-test.yml delete mode 100644 hzims-service/water-rain/src/main/resources/application.yml delete mode 100644 hzims-service/water-rain/src/main/resources/banner.txt diff --git a/hzims-service-api/base-info-api/pom.xml b/hzims-service-api/base-info-api/pom.xml deleted file mode 100644 index 3fcd836..0000000 --- a/hzims-service-api/base-info-api/pom.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service-api - 4.0.0-SNAPSHOT - - - - base-info-api - ${hzims.project.version} - jar - - - 8 - 8 - UTF-8 - - - \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/FileReservoirInfo.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/FileReservoirInfo.java deleted file mode 100644 index 379d842..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/FileReservoirInfo.java +++ /dev/null @@ -1,65 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableLogic; -import com.baomidou.mybatisplus.annotation.TableName; -import lombok.Data; -import lombok.experimental.Accessors; - -import java.io.Serializable; -import java.time.LocalDateTime; - -/** - * 文件 - * - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/8 16:01 - */ -@Data -@Accessors(chain = true) -@TableName("file_reservoir_info") -public class FileReservoirInfo implements Serializable { - - - /** - * 视频Id - */ - @TableId(type = IdType.ASSIGN_ID) - private Long id; - - - /** - * '视频地址' - */ - private String file; - - - /** - * 站点Id - */ - private String reservoirInfoId; - - - - - /** - * 创建时间 - */ - private LocalDateTime createTime; - - - /** - * 更新时间 - */ - private LocalDateTime updateTime; - - - /** - * 逻辑删除0 正常 1 删除 - */ - @TableLogic - private int isDeleted; -} diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ImageReservoirInfo.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ImageReservoirInfo.java deleted file mode 100644 index 687249f..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ImageReservoirInfo.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableLogic; -import com.baomidou.mybatisplus.annotation.TableName; -import lombok.Data; -import lombok.experimental.Accessors; - -import java.io.Serializable; -import java.time.LocalDateTime; - -/** - * 文件 - * - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/8 16:01 - */ -@Data -@Accessors(chain = true) -@TableName("image_reservoir_info") -public class ImageReservoirInfo implements Serializable { - - - /** - * 视频Id - */ - @TableId(type = IdType.ASSIGN_ID) - private Long id; - - - /** - * '视频地址' - */ - private String image; - - - /** - * 站点Id - */ - private String reservoirInfoId; - - /** - * 创建时间 - */ - private LocalDateTime createTime; - - - /** - * 更新时间 - */ - private LocalDateTime updateTime; - - - /** - * 逻辑删除0 正常 1 删除 - */ - @TableLogic - private int isDeleted; -} diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/IrrBIReach.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/IrrBIReach.java deleted file mode 100644 index 2513e9f..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/IrrBIReach.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.math.BigDecimal; - -/** - * 河流 <国标> - * - * @author moze - * - */ -public class IrrBIReach { - private String riverCode; // 河流代码 - - private String riverName; // 河流名称 - - private BigDecimal riverWidth; // 河槽平均宽度(米) - - private BigDecimal riverFlux; // 河槽平均流量(立方米/秒) - - private String coordinateset; // 经纬集合 - - public String getCoordinateset() { - return coordinateset; - } - - public void setCoordinateset(String coordinateset) { - this.coordinateset = coordinateset; - } - - public String getRiverCode() { - return riverCode; - } - - public void setRiverCode(String riverCode) { - this.riverCode = riverCode; - } - - public String getRiverName() { - return riverName; - } - - public void setRiverName(String riverName) { - this.riverName = riverName; - } - - public BigDecimal getRiverWidth() { - return riverWidth; - } - - public void setRiverWidth(BigDecimal riverWidth) { - this.riverWidth = riverWidth; - } - - public BigDecimal getRiverFlux() { - return riverFlux; - } - - public void setRiverFlux(BigDecimal riverFlux) { - this.riverFlux = riverFlux; - } - -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/IrrBIReachExample.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/IrrBIReachExample.java deleted file mode 100644 index 888d33a..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/IrrBIReachExample.java +++ /dev/null @@ -1,531 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class IrrBIReachExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public IrrBIReachExample() { - oredCriteria = new ArrayList(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andRiverCodeIsNull() { - addCriterion("RIVER_CODE is null"); - return (Criteria) this; - } - - public Criteria andRiverCodeIsNotNull() { - addCriterion("RIVER_CODE is not null"); - return (Criteria) this; - } - - public Criteria andRiverCodeEqualTo(String value) { - addCriterion("RIVER_CODE =", value, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeNotEqualTo(String value) { - addCriterion("RIVER_CODE <>", value, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeGreaterThan(String value) { - addCriterion("RIVER_CODE >", value, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeGreaterThanOrEqualTo(String value) { - addCriterion("RIVER_CODE >=", value, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeLessThan(String value) { - addCriterion("RIVER_CODE <", value, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeLessThanOrEqualTo(String value) { - addCriterion("RIVER_CODE <=", value, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeLike(String value) { - addCriterion("RIVER_CODE like", value, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeNotLike(String value) { - addCriterion("RIVER_CODE not like", value, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeIn(List values) { - addCriterion("RIVER_CODE in", values, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeNotIn(List values) { - addCriterion("RIVER_CODE not in", values, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeBetween(String value1, String value2) { - addCriterion("RIVER_CODE between", value1, value2, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverCodeNotBetween(String value1, String value2) { - addCriterion("RIVER_CODE not between", value1, value2, "riverCode"); - return (Criteria) this; - } - - public Criteria andRiverNameIsNull() { - addCriterion("RIVER_NAME is null"); - return (Criteria) this; - } - - public Criteria andRiverNameIsNotNull() { - addCriterion("RIVER_NAME is not null"); - return (Criteria) this; - } - - public Criteria andRiverNameEqualTo(String value) { - addCriterion("RIVER_NAME =", value, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameNotEqualTo(String value) { - addCriterion("RIVER_NAME <>", value, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameGreaterThan(String value) { - addCriterion("RIVER_NAME >", value, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameGreaterThanOrEqualTo(String value) { - addCriterion("RIVER_NAME >=", value, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameLessThan(String value) { - addCriterion("RIVER_NAME <", value, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameLessThanOrEqualTo(String value) { - addCriterion("RIVER_NAME <=", value, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameLike(String value) { - addCriterion("RIVER_NAME like", value, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameNotLike(String value) { - addCriterion("RIVER_NAME not like", value, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameIn(List values) { - addCriterion("RIVER_NAME in", values, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameNotIn(List values) { - addCriterion("RIVER_NAME not in", values, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameBetween(String value1, String value2) { - addCriterion("RIVER_NAME between", value1, value2, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverNameNotBetween(String value1, String value2) { - addCriterion("RIVER_NAME not between", value1, value2, "riverName"); - return (Criteria) this; - } - - public Criteria andRiverWidthIsNull() { - addCriterion("RIVER_WIDTH is null"); - return (Criteria) this; - } - - public Criteria andRiverWidthIsNotNull() { - addCriterion("RIVER_WIDTH is not null"); - return (Criteria) this; - } - - public Criteria andRiverWidthEqualTo(BigDecimal value) { - addCriterion("RIVER_WIDTH =", value, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthNotEqualTo(BigDecimal value) { - addCriterion("RIVER_WIDTH <>", value, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthGreaterThan(BigDecimal value) { - addCriterion("RIVER_WIDTH >", value, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("RIVER_WIDTH >=", value, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthLessThan(BigDecimal value) { - addCriterion("RIVER_WIDTH <", value, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthLessThanOrEqualTo(BigDecimal value) { - addCriterion("RIVER_WIDTH <=", value, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthIn(List values) { - addCriterion("RIVER_WIDTH in", values, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthNotIn(List values) { - addCriterion("RIVER_WIDTH not in", values, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RIVER_WIDTH between", value1, value2, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverWidthNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RIVER_WIDTH not between", value1, value2, "riverWidth"); - return (Criteria) this; - } - - public Criteria andRiverFluxIsNull() { - addCriterion("RIVER_FLUX is null"); - return (Criteria) this; - } - - public Criteria andRiverFluxIsNotNull() { - addCriterion("RIVER_FLUX is not null"); - return (Criteria) this; - } - - public Criteria andRiverFluxEqualTo(BigDecimal value) { - addCriterion("RIVER_FLUX =", value, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxNotEqualTo(BigDecimal value) { - addCriterion("RIVER_FLUX <>", value, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxGreaterThan(BigDecimal value) { - addCriterion("RIVER_FLUX >", value, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("RIVER_FLUX >=", value, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxLessThan(BigDecimal value) { - addCriterion("RIVER_FLUX <", value, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxLessThanOrEqualTo(BigDecimal value) { - addCriterion("RIVER_FLUX <=", value, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxIn(List values) { - addCriterion("RIVER_FLUX in", values, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxNotIn(List values) { - addCriterion("RIVER_FLUX not in", values, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RIVER_FLUX between", value1, value2, "riverFlux"); - return (Criteria) this; - } - - public Criteria andRiverFluxNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RIVER_FLUX not between", value1, value2, "riverFlux"); - return (Criteria) this; - } - - public Criteria andCoordinatesetIsNull() { - addCriterion("COORDINATESET is null"); - return (Criteria) this; - } - - public Criteria andCoordinatesetIsNotNull() { - addCriterion("COORDINATESET is not null"); - return (Criteria) this; - } - - public Criteria andCoordinatesetEqualTo(String value) { - addCriterion("COORDINATESET =", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetNotEqualTo(String value) { - addCriterion("COORDINATESET <>", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetGreaterThan(String value) { - addCriterion("COORDINATESET >", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetGreaterThanOrEqualTo(String value) { - addCriterion("COORDINATESET >=", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetLessThan(String value) { - addCriterion("COORDINATESET <", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetLessThanOrEqualTo(String value) { - addCriterion("COORDINATESET <=", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetLike(String value) { - addCriterion("COORDINATESET like", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetNotLike(String value) { - addCriterion("COORDINATESET not like", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetIn(List values) { - addCriterion("COORDINATESET in", values, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetNotIn(List values) { - addCriterion("COORDINATESET not in", values, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetBetween(String value1, String value2) { - addCriterion("COORDINATESET between", value1, value2, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetNotBetween(String value1, String value2) { - addCriterion("COORDINATESET not between", value1, value2, "coordinateset"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirInfo.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirInfo.java deleted file mode 100644 index c8af1b7..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirInfo.java +++ /dev/null @@ -1,408 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - - - -import com.hnac.hzims.baseinfo.vo.ReservoirInfoVo; - -import java.util.Date; - -/** - * 水库基本信息表 《参照国标自行设计》 - * - * @author moze - * - */ -public class ReservoirInfo { - private String stcd; // 水库编号 - - private String stationid; // 站点ID - - private Float discharge; // 水库核定下泄流量 m³/s - - private String name; // 水库名称 - - private String location; // 水库地址 - - private String village; // 所在乡镇村 - - private Float roadlength; // 防汛公路长度 m - - private String roadconditiion;// 防汛公路状况 - - private Date builddate;// 建设时间 - - private Date completeddate;// 竣工时间 - - private Float rainarea;// 积雨面积km² - - private Float designedfloodflow;// 设计洪水流量m³/s - - private Float chedkedfloodflow;// 校核洪水流量m³/s - - private Float designedfillarea;// 设计灌面km² - - private Float designedtotalflow;// 设计洪水总量 万m³ - - private Float checdedtotalflow;// 校核洪水总量 万m³ - - private Float averagerainfall;// 平均降雨量 mm - - private Float designedmaxflow;// 设计最大泄量 m³/s - - private Float checkedmaxflow;// 校核最大泄量m³/s - - private Float volume;// 总库容 万m³ - - private Float checkedfloodlevel;// 校核洪水位 - - private Float historicalmaxlevel;// 历史最高水位 - - private Float floodcontrolvolume;// 防洪库容 万m³ - - private Float designedfloodlevel; // 设计洪水位 m - - private Date maxleveltime; // 最高水位发生时间 - - private Float utilizablevolume; // 兴利库容万m³ - - private Float norrmallevel; // 正常蓄水位 m - - private Float flooddetentionvolume; // 滞洪库容 万m³ - - private Float deadlevel; // 死水位 m - - private String areaCode; // 行政区划Code - - private String lrcd; // 湖库代码 - - private String szhldm; // 所在河流代码 - - private Float dongj; // 东经 - - private Float beiw; // 北纬 - - private Float mjflsscnwl; //主汛期限制水位 - - public Float getMjflsscnwl() { - return mjflsscnwl; - } - - public void setMjflsscnwl(Float mjflsscnwl) { - this.mjflsscnwl = mjflsscnwl; - } - - public String getAreaCode() { - return areaCode; - } - - public void setAreaCode(String areaCode) { - this.areaCode = areaCode; - } - - public String getLrcd() { - return lrcd; - } - - public void setLrcd(String lrcd) { - this.lrcd = lrcd; - } - - public String getSzhldm() { - return szhldm; - } - - public void setSzhldm(String szhldm) { - this.szhldm = szhldm; - } - - public Float getDongj() { - return dongj; - } - - public void setDongj(Float dongj) { - this.dongj = dongj; - } - - public Float getBeiw() { - return beiw; - } - - public void setBeiw(Float beiw) { - this.beiw = beiw; - } - - public ReservoirInfo() { - } - - public ReservoirInfo(ReservoirInfoVo vo) { - this.averagerainfall = vo.getAveragerainfall(); - this.builddate = vo.getBuilddate(); - this.checdedtotalflow = vo.getChecdedtotalflow(); - this.checkedfloodlevel = vo.getCheckedfloodlevel(); - this.checkedmaxflow = vo.getCheckedmaxflow(); - this.chedkedfloodflow = vo.getChedkedfloodflow(); - this.completeddate = vo.getCompleteddate(); - this.deadlevel = vo.getDeadlevel(); - this.designedfillarea = vo.getDesignedfillarea(); - this.designedfloodflow = vo.getDesignedfloodflow(); - this.designedfloodlevel = vo.getDesignedfloodlevel(); - this.designedmaxflow = vo.getDesignedmaxflow(); - this.designedtotalflow = vo.getDesignedtotalflow(); - this.discharge = vo.getDischarge(); - this.floodcontrolvolume = vo.getFloodcontrolvolume(); - this.flooddetentionvolume = vo.getFlooddetentionvolume(); - this.historicalmaxlevel = vo.getHistoricalmaxlevel(); - this.location = vo.getLocation(); - this.maxleveltime = vo.getMaxleveltime(); - this.name = vo.getName(); - this.norrmallevel = vo.getNorrmallevel(); - this.rainarea = vo.getRainarea(); - this.roadconditiion = vo.getRoadconditiion(); - this.roadlength = vo.getRoadlength(); - this.stationid = vo.getStationid(); - this.stcd = vo.getStcd(); - this.utilizablevolume = vo.getUtilizablevolume(); - this.village = vo.getVillage(); - this.volume = vo.getVolume(); - this.areaCode = vo.getAreaCode(); - this.beiw = vo.getBeiw(); - this.dongj = vo.getDongj(); - this.lrcd = vo.getLrcd(); - this.szhldm = vo.getSzhldm(); - this.areaCode = vo.getAreaCode(); - this.mjflsscnwl = vo.getMjflsscnwl(); - } - - public String getStcd() { - return stcd; - } - - public void setStcd(String stcd) { - this.stcd = stcd; - } - - public String getStationid() { - return stationid; - } - - public void setStationid(String stationid) { - this.stationid = stationid; - } - - public Float getDischarge() { - return discharge; - } - - public void setDischarge(Float discharge) { - this.discharge = discharge; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public String getVillage() { - return village; - } - - public void setVillage(String village) { - this.village = village; - } - - public Float getRoadlength() { - return roadlength; - } - - public void setRoadlength(Float roadlength) { - this.roadlength = roadlength; - } - - public String getRoadconditiion() { - return roadconditiion; - } - - public void setRoadconditiion(String roadconditiion) { - this.roadconditiion = roadconditiion; - } - - public Date getBuilddate() { - return builddate; - } - - public void setBuilddate(Date builddate) { - this.builddate = builddate; - } - - public Date getCompleteddate() { - return completeddate; - } - - public void setCompleteddate(Date completeddate) { - this.completeddate = completeddate; - } - - public Float getRainarea() { - return rainarea; - } - - public void setRainarea(Float rainarea) { - this.rainarea = rainarea; - } - - public Float getDesignedfloodflow() { - return designedfloodflow; - } - - public void setDesignedfloodflow(Float designedfloodflow) { - this.designedfloodflow = designedfloodflow; - } - - public Float getChedkedfloodflow() { - return chedkedfloodflow; - } - - public void setChedkedfloodflow(Float chedkedfloodflow) { - this.chedkedfloodflow = chedkedfloodflow; - } - - public Float getDesignedfillarea() { - return designedfillarea; - } - - public void setDesignedfillarea(Float designedfillarea) { - this.designedfillarea = designedfillarea; - } - - public Float getDesignedtotalflow() { - return designedtotalflow; - } - - public void setDesignedtotalflow(Float designedtotalflow) { - this.designedtotalflow = designedtotalflow; - } - - public Float getChecdedtotalflow() { - return checdedtotalflow; - } - - public void setChecdedtotalflow(Float checdedtotalflow) { - this.checdedtotalflow = checdedtotalflow; - } - - public Float getAveragerainfall() { - return averagerainfall; - } - - public void setAveragerainfall(Float averagerainfall) { - this.averagerainfall = averagerainfall; - } - - public Float getDesignedmaxflow() { - return designedmaxflow; - } - - public void setDesignedmaxflow(Float designedmaxflow) { - this.designedmaxflow = designedmaxflow; - } - - public Float getCheckedmaxflow() { - return checkedmaxflow; - } - - public void setCheckedmaxflow(Float checkedmaxflow) { - this.checkedmaxflow = checkedmaxflow; - } - - public Float getVolume() { - return volume; - } - - public void setVolume(Float volume) { - this.volume = volume; - } - - public Float getCheckedfloodlevel() { - return checkedfloodlevel; - } - - public void setCheckedfloodlevel(Float checkedfloodlevel) { - this.checkedfloodlevel = checkedfloodlevel; - } - - public Float getHistoricalmaxlevel() { - return historicalmaxlevel; - } - - public void setHistoricalmaxlevel(Float historicalmaxlevel) { - this.historicalmaxlevel = historicalmaxlevel; - } - - public Float getFloodcontrolvolume() { - return floodcontrolvolume; - } - - public void setFloodcontrolvolume(Float floodcontrolvolume) { - this.floodcontrolvolume = floodcontrolvolume; - } - - public Float getDesignedfloodlevel() { - return designedfloodlevel; - } - - public void setDesignedfloodlevel(Float designedfloodlevel) { - this.designedfloodlevel = designedfloodlevel; - } - - public Date getMaxleveltime() { - return maxleveltime; - } - - public void setMaxleveltime(Date maxleveltime) { - this.maxleveltime = maxleveltime; - } - - public Float getUtilizablevolume() { - return utilizablevolume; - } - - public void setUtilizablevolume(Float utilizablevolume) { - this.utilizablevolume = utilizablevolume; - } - - public Float getNorrmallevel() { - return norrmallevel; - } - - public void setNorrmallevel(Float norrmallevel) { - this.norrmallevel = norrmallevel; - } - - public Float getFlooddetentionvolume() { - return flooddetentionvolume; - } - - public void setFlooddetentionvolume(Float flooddetentionvolume) { - this.flooddetentionvolume = flooddetentionvolume; - } - - public Float getDeadlevel() { - return deadlevel; - } - - public void setDeadlevel(Float deadlevel) { - this.deadlevel = deadlevel; - } - -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirInfoExample.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirInfoExample.java deleted file mode 100644 index 51e78e3..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirInfoExample.java +++ /dev/null @@ -1,2358 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.Iterator; -import java.util.List; - -public class ReservoirInfoExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public ReservoirInfoExample() { - oredCriteria = new ArrayList(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - protected void addCriterionForJDBCDate(String condition, Date value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - addCriterion(condition, new java.sql.Date(value.getTime()), property); - } - - protected void addCriterionForJDBCDate(String condition, List values, String property) { - if (values == null || values.size() == 0) { - throw new RuntimeException("Value list for " + property + " cannot be null or empty"); - } - List dateList = new ArrayList(); - Iterator iter = values.iterator(); - while (iter.hasNext()) { - dateList.add(new java.sql.Date(iter.next().getTime())); - } - addCriterion(condition, dateList, property); - } - - protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); - } - - public Criteria andStcdIsNull() { - addCriterion("STCD is null"); - return (Criteria) this; - } - - public Criteria andStcdIsNotNull() { - addCriterion("STCD is not null"); - return (Criteria) this; - } - - public Criteria andStcdEqualTo(String value) { - addCriterion("STCD =", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotEqualTo(String value) { - addCriterion("STCD <>", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThan(String value) { - addCriterion("STCD >", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThanOrEqualTo(String value) { - addCriterion("STCD >=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThan(String value) { - addCriterion("STCD <", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThanOrEqualTo(String value) { - addCriterion("STCD <=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLike(String value) { - addCriterion("STCD like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotLike(String value) { - addCriterion("STCD not like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdIn(List values) { - addCriterion("STCD in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotIn(List values) { - addCriterion("STCD not in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdBetween(String value1, String value2) { - addCriterion("STCD between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotBetween(String value1, String value2) { - addCriterion("STCD not between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andStationidIsNull() { - addCriterion("STATIONID is null"); - return (Criteria) this; - } - - public Criteria andStationidIsNotNull() { - addCriterion("STATIONID is not null"); - return (Criteria) this; - } - - public Criteria andStationidEqualTo(String value) { - addCriterion("STATIONID =", value, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidNotEqualTo(String value) { - addCriterion("STATIONID <>", value, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidGreaterThan(String value) { - addCriterion("STATIONID >", value, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidGreaterThanOrEqualTo(String value) { - addCriterion("STATIONID >=", value, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidLessThan(String value) { - addCriterion("STATIONID <", value, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidLessThanOrEqualTo(String value) { - addCriterion("STATIONID <=", value, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidLike(String value) { - addCriterion("STATIONID like", value, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidNotLike(String value) { - addCriterion("STATIONID not like", value, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidIn(List values) { - addCriterion("STATIONID in", values, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidNotIn(List values) { - addCriterion("STATIONID not in", values, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidBetween(String value1, String value2) { - addCriterion("STATIONID between", value1, value2, "stationid"); - return (Criteria) this; - } - - public Criteria andStationidNotBetween(String value1, String value2) { - addCriterion("STATIONID not between", value1, value2, "stationid"); - return (Criteria) this; - } - - public Criteria andDischargeIsNull() { - addCriterion("DISCHARGE is null"); - return (Criteria) this; - } - - public Criteria andDischargeIsNotNull() { - addCriterion("DISCHARGE is not null"); - return (Criteria) this; - } - - public Criteria andDischargeEqualTo(Float value) { - addCriterion("DISCHARGE =", value, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeNotEqualTo(Float value) { - addCriterion("DISCHARGE <>", value, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeGreaterThan(Float value) { - addCriterion("DISCHARGE >", value, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeGreaterThanOrEqualTo(Float value) { - addCriterion("DISCHARGE >=", value, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeLessThan(Float value) { - addCriterion("DISCHARGE <", value, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeLessThanOrEqualTo(Float value) { - addCriterion("DISCHARGE <=", value, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeIn(List values) { - addCriterion("DISCHARGE in", values, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeNotIn(List values) { - addCriterion("DISCHARGE not in", values, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeBetween(Float value1, Float value2) { - addCriterion("DISCHARGE between", value1, value2, "discharge"); - return (Criteria) this; - } - - public Criteria andDischargeNotBetween(Float value1, Float value2) { - addCriterion("DISCHARGE not between", value1, value2, "discharge"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("NAME is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("NAME is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("NAME =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("NAME <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("NAME >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("NAME >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("NAME <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("NAME <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("NAME like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("NAME not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("NAME in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("NAME not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("NAME between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("NAME not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andLocationIsNull() { - addCriterion("LOCATION is null"); - return (Criteria) this; - } - - public Criteria andLocationIsNotNull() { - addCriterion("LOCATION is not null"); - return (Criteria) this; - } - - public Criteria andLocationEqualTo(String value) { - addCriterion("LOCATION =", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationNotEqualTo(String value) { - addCriterion("LOCATION <>", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationGreaterThan(String value) { - addCriterion("LOCATION >", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationGreaterThanOrEqualTo(String value) { - addCriterion("LOCATION >=", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationLessThan(String value) { - addCriterion("LOCATION <", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationLessThanOrEqualTo(String value) { - addCriterion("LOCATION <=", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationLike(String value) { - addCriterion("LOCATION like", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationNotLike(String value) { - addCriterion("LOCATION not like", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationIn(List values) { - addCriterion("LOCATION in", values, "location"); - return (Criteria) this; - } - - public Criteria andLocationNotIn(List values) { - addCriterion("LOCATION not in", values, "location"); - return (Criteria) this; - } - - public Criteria andLocationBetween(String value1, String value2) { - addCriterion("LOCATION between", value1, value2, "location"); - return (Criteria) this; - } - - public Criteria andLocationNotBetween(String value1, String value2) { - addCriterion("LOCATION not between", value1, value2, "location"); - return (Criteria) this; - } - - public Criteria andVillageIsNull() { - addCriterion("VILLAGE is null"); - return (Criteria) this; - } - - public Criteria andVillageIsNotNull() { - addCriterion("VILLAGE is not null"); - return (Criteria) this; - } - - public Criteria andVillageEqualTo(String value) { - addCriterion("VILLAGE =", value, "village"); - return (Criteria) this; - } - - public Criteria andVillageNotEqualTo(String value) { - addCriterion("VILLAGE <>", value, "village"); - return (Criteria) this; - } - - public Criteria andVillageGreaterThan(String value) { - addCriterion("VILLAGE >", value, "village"); - return (Criteria) this; - } - - public Criteria andVillageGreaterThanOrEqualTo(String value) { - addCriterion("VILLAGE >=", value, "village"); - return (Criteria) this; - } - - public Criteria andVillageLessThan(String value) { - addCriterion("VILLAGE <", value, "village"); - return (Criteria) this; - } - - public Criteria andVillageLessThanOrEqualTo(String value) { - addCriterion("VILLAGE <=", value, "village"); - return (Criteria) this; - } - - public Criteria andVillageLike(String value) { - addCriterion("VILLAGE like", value, "village"); - return (Criteria) this; - } - - public Criteria andVillageNotLike(String value) { - addCriterion("VILLAGE not like", value, "village"); - return (Criteria) this; - } - - public Criteria andVillageIn(List values) { - addCriterion("VILLAGE in", values, "village"); - return (Criteria) this; - } - - public Criteria andVillageNotIn(List values) { - addCriterion("VILLAGE not in", values, "village"); - return (Criteria) this; - } - - public Criteria andVillageBetween(String value1, String value2) { - addCriterion("VILLAGE between", value1, value2, "village"); - return (Criteria) this; - } - - public Criteria andVillageNotBetween(String value1, String value2) { - addCriterion("VILLAGE not between", value1, value2, "village"); - return (Criteria) this; - } - - public Criteria andRoadlengthIsNull() { - addCriterion("ROADLENGTH is null"); - return (Criteria) this; - } - - public Criteria andRoadlengthIsNotNull() { - addCriterion("ROADLENGTH is not null"); - return (Criteria) this; - } - - public Criteria andRoadlengthEqualTo(Float value) { - addCriterion("ROADLENGTH =", value, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthNotEqualTo(Float value) { - addCriterion("ROADLENGTH <>", value, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthGreaterThan(Float value) { - addCriterion("ROADLENGTH >", value, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthGreaterThanOrEqualTo(Float value) { - addCriterion("ROADLENGTH >=", value, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthLessThan(Float value) { - addCriterion("ROADLENGTH <", value, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthLessThanOrEqualTo(Float value) { - addCriterion("ROADLENGTH <=", value, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthIn(List values) { - addCriterion("ROADLENGTH in", values, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthNotIn(List values) { - addCriterion("ROADLENGTH not in", values, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthBetween(Float value1, Float value2) { - addCriterion("ROADLENGTH between", value1, value2, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadlengthNotBetween(Float value1, Float value2) { - addCriterion("ROADLENGTH not between", value1, value2, "roadlength"); - return (Criteria) this; - } - - public Criteria andRoadconditiionIsNull() { - addCriterion("ROADCONDITIION is null"); - return (Criteria) this; - } - - public Criteria andRoadconditiionIsNotNull() { - addCriterion("ROADCONDITIION is not null"); - return (Criteria) this; - } - - public Criteria andRoadconditiionEqualTo(String value) { - addCriterion("ROADCONDITIION =", value, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionNotEqualTo(String value) { - addCriterion("ROADCONDITIION <>", value, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionGreaterThan(String value) { - addCriterion("ROADCONDITIION >", value, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionGreaterThanOrEqualTo(String value) { - addCriterion("ROADCONDITIION >=", value, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionLessThan(String value) { - addCriterion("ROADCONDITIION <", value, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionLessThanOrEqualTo(String value) { - addCriterion("ROADCONDITIION <=", value, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionLike(String value) { - addCriterion("ROADCONDITIION like", value, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionNotLike(String value) { - addCriterion("ROADCONDITIION not like", value, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionIn(List values) { - addCriterion("ROADCONDITIION in", values, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionNotIn(List values) { - addCriterion("ROADCONDITIION not in", values, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionBetween(String value1, String value2) { - addCriterion("ROADCONDITIION between", value1, value2, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andRoadconditiionNotBetween(String value1, String value2) { - addCriterion("ROADCONDITIION not between", value1, value2, "roadconditiion"); - return (Criteria) this; - } - - public Criteria andBuilddateIsNull() { - addCriterion("BUILDDATE is null"); - return (Criteria) this; - } - - public Criteria andBuilddateIsNotNull() { - addCriterion("BUILDDATE is not null"); - return (Criteria) this; - } - - public Criteria andBuilddateEqualTo(Date value) { - addCriterionForJDBCDate("BUILDDATE =", value, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateNotEqualTo(Date value) { - addCriterionForJDBCDate("BUILDDATE <>", value, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateGreaterThan(Date value) { - addCriterionForJDBCDate("BUILDDATE >", value, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateGreaterThanOrEqualTo(Date value) { - addCriterionForJDBCDate("BUILDDATE >=", value, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateLessThan(Date value) { - addCriterionForJDBCDate("BUILDDATE <", value, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateLessThanOrEqualTo(Date value) { - addCriterionForJDBCDate("BUILDDATE <=", value, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateIn(List values) { - addCriterionForJDBCDate("BUILDDATE in", values, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateNotIn(List values) { - addCriterionForJDBCDate("BUILDDATE not in", values, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateBetween(Date value1, Date value2) { - addCriterionForJDBCDate("BUILDDATE between", value1, value2, "builddate"); - return (Criteria) this; - } - - public Criteria andBuilddateNotBetween(Date value1, Date value2) { - addCriterionForJDBCDate("BUILDDATE not between", value1, value2, "builddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateIsNull() { - addCriterion("COMPLETEDDATE is null"); - return (Criteria) this; - } - - public Criteria andCompleteddateIsNotNull() { - addCriterion("COMPLETEDDATE is not null"); - return (Criteria) this; - } - - public Criteria andCompleteddateEqualTo(Date value) { - addCriterionForJDBCDate("COMPLETEDDATE =", value, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateNotEqualTo(Date value) { - addCriterionForJDBCDate("COMPLETEDDATE <>", value, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateGreaterThan(Date value) { - addCriterionForJDBCDate("COMPLETEDDATE >", value, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateGreaterThanOrEqualTo(Date value) { - addCriterionForJDBCDate("COMPLETEDDATE >=", value, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateLessThan(Date value) { - addCriterionForJDBCDate("COMPLETEDDATE <", value, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateLessThanOrEqualTo(Date value) { - addCriterionForJDBCDate("COMPLETEDDATE <=", value, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateIn(List values) { - addCriterionForJDBCDate("COMPLETEDDATE in", values, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateNotIn(List values) { - addCriterionForJDBCDate("COMPLETEDDATE not in", values, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateBetween(Date value1, Date value2) { - addCriterionForJDBCDate("COMPLETEDDATE between", value1, value2, "completeddate"); - return (Criteria) this; - } - - public Criteria andCompleteddateNotBetween(Date value1, Date value2) { - addCriterionForJDBCDate("COMPLETEDDATE not between", value1, value2, "completeddate"); - return (Criteria) this; - } - - public Criteria andRainareaIsNull() { - addCriterion("RAINAREA is null"); - return (Criteria) this; - } - - public Criteria andRainareaIsNotNull() { - addCriterion("RAINAREA is not null"); - return (Criteria) this; - } - - public Criteria andRainareaEqualTo(Float value) { - addCriterion("RAINAREA =", value, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaNotEqualTo(Float value) { - addCriterion("RAINAREA <>", value, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaGreaterThan(Float value) { - addCriterion("RAINAREA >", value, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaGreaterThanOrEqualTo(Float value) { - addCriterion("RAINAREA >=", value, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaLessThan(Float value) { - addCriterion("RAINAREA <", value, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaLessThanOrEqualTo(Float value) { - addCriterion("RAINAREA <=", value, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaIn(List values) { - addCriterion("RAINAREA in", values, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaNotIn(List values) { - addCriterion("RAINAREA not in", values, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaBetween(Float value1, Float value2) { - addCriterion("RAINAREA between", value1, value2, "rainarea"); - return (Criteria) this; - } - - public Criteria andRainareaNotBetween(Float value1, Float value2) { - addCriterion("RAINAREA not between", value1, value2, "rainarea"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowIsNull() { - addCriterion("DESIGNEDFLOODFLOW is null"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowIsNotNull() { - addCriterion("DESIGNEDFLOODFLOW is not null"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowEqualTo(Float value) { - addCriterion("DESIGNEDFLOODFLOW =", value, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowNotEqualTo(Float value) { - addCriterion("DESIGNEDFLOODFLOW <>", value, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowGreaterThan(Float value) { - addCriterion("DESIGNEDFLOODFLOW >", value, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowGreaterThanOrEqualTo(Float value) { - addCriterion("DESIGNEDFLOODFLOW >=", value, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowLessThan(Float value) { - addCriterion("DESIGNEDFLOODFLOW <", value, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowLessThanOrEqualTo(Float value) { - addCriterion("DESIGNEDFLOODFLOW <=", value, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowIn(List values) { - addCriterion("DESIGNEDFLOODFLOW in", values, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowNotIn(List values) { - addCriterion("DESIGNEDFLOODFLOW not in", values, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowBetween(Float value1, Float value2) { - addCriterion("DESIGNEDFLOODFLOW between", value1, value2, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfloodflowNotBetween(Float value1, Float value2) { - addCriterion("DESIGNEDFLOODFLOW not between", value1, value2, "designedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowIsNull() { - addCriterion("CHEDKEDFLOODFLOW is null"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowIsNotNull() { - addCriterion("CHEDKEDFLOODFLOW is not null"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowEqualTo(Float value) { - addCriterion("CHEDKEDFLOODFLOW =", value, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowNotEqualTo(Float value) { - addCriterion("CHEDKEDFLOODFLOW <>", value, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowGreaterThan(Float value) { - addCriterion("CHEDKEDFLOODFLOW >", value, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowGreaterThanOrEqualTo(Float value) { - addCriterion("CHEDKEDFLOODFLOW >=", value, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowLessThan(Float value) { - addCriterion("CHEDKEDFLOODFLOW <", value, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowLessThanOrEqualTo(Float value) { - addCriterion("CHEDKEDFLOODFLOW <=", value, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowIn(List values) { - addCriterion("CHEDKEDFLOODFLOW in", values, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowNotIn(List values) { - addCriterion("CHEDKEDFLOODFLOW not in", values, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowBetween(Float value1, Float value2) { - addCriterion("CHEDKEDFLOODFLOW between", value1, value2, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andChedkedfloodflowNotBetween(Float value1, Float value2) { - addCriterion("CHEDKEDFLOODFLOW not between", value1, value2, "chedkedfloodflow"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaIsNull() { - addCriterion("DESIGNEDFILLAREA is null"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaIsNotNull() { - addCriterion("DESIGNEDFILLAREA is not null"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaEqualTo(Float value) { - addCriterion("DESIGNEDFILLAREA =", value, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaNotEqualTo(Float value) { - addCriterion("DESIGNEDFILLAREA <>", value, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaGreaterThan(Float value) { - addCriterion("DESIGNEDFILLAREA >", value, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaGreaterThanOrEqualTo(Float value) { - addCriterion("DESIGNEDFILLAREA >=", value, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaLessThan(Float value) { - addCriterion("DESIGNEDFILLAREA <", value, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaLessThanOrEqualTo(Float value) { - addCriterion("DESIGNEDFILLAREA <=", value, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaIn(List values) { - addCriterion("DESIGNEDFILLAREA in", values, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaNotIn(List values) { - addCriterion("DESIGNEDFILLAREA not in", values, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaBetween(Float value1, Float value2) { - addCriterion("DESIGNEDFILLAREA between", value1, value2, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedfillareaNotBetween(Float value1, Float value2) { - addCriterion("DESIGNEDFILLAREA not between", value1, value2, "designedfillarea"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowIsNull() { - addCriterion("DESIGNEDTOTALFLOW is null"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowIsNotNull() { - addCriterion("DESIGNEDTOTALFLOW is not null"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowEqualTo(Float value) { - addCriterion("DESIGNEDTOTALFLOW =", value, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowNotEqualTo(Float value) { - addCriterion("DESIGNEDTOTALFLOW <>", value, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowGreaterThan(Float value) { - addCriterion("DESIGNEDTOTALFLOW >", value, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowGreaterThanOrEqualTo(Float value) { - addCriterion("DESIGNEDTOTALFLOW >=", value, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowLessThan(Float value) { - addCriterion("DESIGNEDTOTALFLOW <", value, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowLessThanOrEqualTo(Float value) { - addCriterion("DESIGNEDTOTALFLOW <=", value, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowIn(List values) { - addCriterion("DESIGNEDTOTALFLOW in", values, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowNotIn(List values) { - addCriterion("DESIGNEDTOTALFLOW not in", values, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowBetween(Float value1, Float value2) { - addCriterion("DESIGNEDTOTALFLOW between", value1, value2, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andDesignedtotalflowNotBetween(Float value1, Float value2) { - addCriterion("DESIGNEDTOTALFLOW not between", value1, value2, "designedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowIsNull() { - addCriterion("CHECDEDTOTALFLOW is null"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowIsNotNull() { - addCriterion("CHECDEDTOTALFLOW is not null"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowEqualTo(Float value) { - addCriterion("CHECDEDTOTALFLOW =", value, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowNotEqualTo(Float value) { - addCriterion("CHECDEDTOTALFLOW <>", value, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowGreaterThan(Float value) { - addCriterion("CHECDEDTOTALFLOW >", value, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowGreaterThanOrEqualTo(Float value) { - addCriterion("CHECDEDTOTALFLOW >=", value, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowLessThan(Float value) { - addCriterion("CHECDEDTOTALFLOW <", value, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowLessThanOrEqualTo(Float value) { - addCriterion("CHECDEDTOTALFLOW <=", value, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowIn(List values) { - addCriterion("CHECDEDTOTALFLOW in", values, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowNotIn(List values) { - addCriterion("CHECDEDTOTALFLOW not in", values, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowBetween(Float value1, Float value2) { - addCriterion("CHECDEDTOTALFLOW between", value1, value2, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andChecdedtotalflowNotBetween(Float value1, Float value2) { - addCriterion("CHECDEDTOTALFLOW not between", value1, value2, "checdedtotalflow"); - return (Criteria) this; - } - - public Criteria andAveragerainfallIsNull() { - addCriterion("AVERAGERAINFALL is null"); - return (Criteria) this; - } - - public Criteria andAveragerainfallIsNotNull() { - addCriterion("AVERAGERAINFALL is not null"); - return (Criteria) this; - } - - public Criteria andAveragerainfallEqualTo(Float value) { - addCriterion("AVERAGERAINFALL =", value, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallNotEqualTo(Float value) { - addCriterion("AVERAGERAINFALL <>", value, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallGreaterThan(Float value) { - addCriterion("AVERAGERAINFALL >", value, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallGreaterThanOrEqualTo(Float value) { - addCriterion("AVERAGERAINFALL >=", value, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallLessThan(Float value) { - addCriterion("AVERAGERAINFALL <", value, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallLessThanOrEqualTo(Float value) { - addCriterion("AVERAGERAINFALL <=", value, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallIn(List values) { - addCriterion("AVERAGERAINFALL in", values, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallNotIn(List values) { - addCriterion("AVERAGERAINFALL not in", values, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallBetween(Float value1, Float value2) { - addCriterion("AVERAGERAINFALL between", value1, value2, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andAveragerainfallNotBetween(Float value1, Float value2) { - addCriterion("AVERAGERAINFALL not between", value1, value2, "averagerainfall"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowIsNull() { - addCriterion("DESIGNEDMAXFLOW is null"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowIsNotNull() { - addCriterion("DESIGNEDMAXFLOW is not null"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowEqualTo(Float value) { - addCriterion("DESIGNEDMAXFLOW =", value, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowNotEqualTo(Float value) { - addCriterion("DESIGNEDMAXFLOW <>", value, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowGreaterThan(Float value) { - addCriterion("DESIGNEDMAXFLOW >", value, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowGreaterThanOrEqualTo(Float value) { - addCriterion("DESIGNEDMAXFLOW >=", value, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowLessThan(Float value) { - addCriterion("DESIGNEDMAXFLOW <", value, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowLessThanOrEqualTo(Float value) { - addCriterion("DESIGNEDMAXFLOW <=", value, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowIn(List values) { - addCriterion("DESIGNEDMAXFLOW in", values, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowNotIn(List values) { - addCriterion("DESIGNEDMAXFLOW not in", values, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowBetween(Float value1, Float value2) { - addCriterion("DESIGNEDMAXFLOW between", value1, value2, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andDesignedmaxflowNotBetween(Float value1, Float value2) { - addCriterion("DESIGNEDMAXFLOW not between", value1, value2, "designedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowIsNull() { - addCriterion("CHECKEDMAXFLOW is null"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowIsNotNull() { - addCriterion("CHECKEDMAXFLOW is not null"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowEqualTo(Float value) { - addCriterion("CHECKEDMAXFLOW =", value, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowNotEqualTo(Float value) { - addCriterion("CHECKEDMAXFLOW <>", value, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowGreaterThan(Float value) { - addCriterion("CHECKEDMAXFLOW >", value, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowGreaterThanOrEqualTo(Float value) { - addCriterion("CHECKEDMAXFLOW >=", value, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowLessThan(Float value) { - addCriterion("CHECKEDMAXFLOW <", value, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowLessThanOrEqualTo(Float value) { - addCriterion("CHECKEDMAXFLOW <=", value, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowIn(List values) { - addCriterion("CHECKEDMAXFLOW in", values, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowNotIn(List values) { - addCriterion("CHECKEDMAXFLOW not in", values, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowBetween(Float value1, Float value2) { - addCriterion("CHECKEDMAXFLOW between", value1, value2, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andCheckedmaxflowNotBetween(Float value1, Float value2) { - addCriterion("CHECKEDMAXFLOW not between", value1, value2, "checkedmaxflow"); - return (Criteria) this; - } - - public Criteria andVolumeIsNull() { - addCriterion("VOLUME is null"); - return (Criteria) this; - } - - public Criteria andVolumeIsNotNull() { - addCriterion("VOLUME is not null"); - return (Criteria) this; - } - - public Criteria andVolumeEqualTo(Float value) { - addCriterion("VOLUME =", value, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeNotEqualTo(Float value) { - addCriterion("VOLUME <>", value, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeGreaterThan(Float value) { - addCriterion("VOLUME >", value, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeGreaterThanOrEqualTo(Float value) { - addCriterion("VOLUME >=", value, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeLessThan(Float value) { - addCriterion("VOLUME <", value, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeLessThanOrEqualTo(Float value) { - addCriterion("VOLUME <=", value, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeIn(List values) { - addCriterion("VOLUME in", values, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeNotIn(List values) { - addCriterion("VOLUME not in", values, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeBetween(Float value1, Float value2) { - addCriterion("VOLUME between", value1, value2, "volume"); - return (Criteria) this; - } - - public Criteria andVolumeNotBetween(Float value1, Float value2) { - addCriterion("VOLUME not between", value1, value2, "volume"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelIsNull() { - addCriterion("CHECKEDFLOODLEVEL is null"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelIsNotNull() { - addCriterion("CHECKEDFLOODLEVEL is not null"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelEqualTo(Float value) { - addCriterion("CHECKEDFLOODLEVEL =", value, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelNotEqualTo(Float value) { - addCriterion("CHECKEDFLOODLEVEL <>", value, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelGreaterThan(Float value) { - addCriterion("CHECKEDFLOODLEVEL >", value, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelGreaterThanOrEqualTo(Float value) { - addCriterion("CHECKEDFLOODLEVEL >=", value, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelLessThan(Float value) { - addCriterion("CHECKEDFLOODLEVEL <", value, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelLessThanOrEqualTo(Float value) { - addCriterion("CHECKEDFLOODLEVEL <=", value, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelIn(List values) { - addCriterion("CHECKEDFLOODLEVEL in", values, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelNotIn(List values) { - addCriterion("CHECKEDFLOODLEVEL not in", values, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelBetween(Float value1, Float value2) { - addCriterion("CHECKEDFLOODLEVEL between", value1, value2, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andCheckedfloodlevelNotBetween(Float value1, Float value2) { - addCriterion("CHECKEDFLOODLEVEL not between", value1, value2, "checkedfloodlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelIsNull() { - addCriterion("HISTORICALMAXLEVEL is null"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelIsNotNull() { - addCriterion("HISTORICALMAXLEVEL is not null"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelEqualTo(Float value) { - addCriterion("HISTORICALMAXLEVEL =", value, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelNotEqualTo(Float value) { - addCriterion("HISTORICALMAXLEVEL <>", value, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelGreaterThan(Float value) { - addCriterion("HISTORICALMAXLEVEL >", value, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelGreaterThanOrEqualTo(Float value) { - addCriterion("HISTORICALMAXLEVEL >=", value, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelLessThan(Float value) { - addCriterion("HISTORICALMAXLEVEL <", value, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelLessThanOrEqualTo(Float value) { - addCriterion("HISTORICALMAXLEVEL <=", value, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelIn(List values) { - addCriterion("HISTORICALMAXLEVEL in", values, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelNotIn(List values) { - addCriterion("HISTORICALMAXLEVEL not in", values, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelBetween(Float value1, Float value2) { - addCriterion("HISTORICALMAXLEVEL between", value1, value2, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andHistoricalmaxlevelNotBetween(Float value1, Float value2) { - addCriterion("HISTORICALMAXLEVEL not between", value1, value2, "historicalmaxlevel"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeIsNull() { - addCriterion("FLOODCONTROLVOLUME is null"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeIsNotNull() { - addCriterion("FLOODCONTROLVOLUME is not null"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeEqualTo(Float value) { - addCriterion("FLOODCONTROLVOLUME =", value, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeNotEqualTo(Float value) { - addCriterion("FLOODCONTROLVOLUME <>", value, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeGreaterThan(Float value) { - addCriterion("FLOODCONTROLVOLUME >", value, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeGreaterThanOrEqualTo(Float value) { - addCriterion("FLOODCONTROLVOLUME >=", value, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeLessThan(Float value) { - addCriterion("FLOODCONTROLVOLUME <", value, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeLessThanOrEqualTo(Float value) { - addCriterion("FLOODCONTROLVOLUME <=", value, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeIn(List values) { - addCriterion("FLOODCONTROLVOLUME in", values, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeNotIn(List values) { - addCriterion("FLOODCONTROLVOLUME not in", values, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeBetween(Float value1, Float value2) { - addCriterion("FLOODCONTROLVOLUME between", value1, value2, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andFloodcontrolvolumeNotBetween(Float value1, Float value2) { - addCriterion("FLOODCONTROLVOLUME not between", value1, value2, "floodcontrolvolume"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelIsNull() { - addCriterion("DESIGNEDFLOODLEVEL is null"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelIsNotNull() { - addCriterion("DESIGNEDFLOODLEVEL is not null"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelEqualTo(Float value) { - addCriterion("DESIGNEDFLOODLEVEL =", value, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelNotEqualTo(Float value) { - addCriterion("DESIGNEDFLOODLEVEL <>", value, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelGreaterThan(Float value) { - addCriterion("DESIGNEDFLOODLEVEL >", value, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelGreaterThanOrEqualTo(Float value) { - addCriterion("DESIGNEDFLOODLEVEL >=", value, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelLessThan(Float value) { - addCriterion("DESIGNEDFLOODLEVEL <", value, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelLessThanOrEqualTo(Float value) { - addCriterion("DESIGNEDFLOODLEVEL <=", value, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelIn(List values) { - addCriterion("DESIGNEDFLOODLEVEL in", values, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelNotIn(List values) { - addCriterion("DESIGNEDFLOODLEVEL not in", values, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelBetween(Float value1, Float value2) { - addCriterion("DESIGNEDFLOODLEVEL between", value1, value2, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andDesignedfloodlevelNotBetween(Float value1, Float value2) { - addCriterion("DESIGNEDFLOODLEVEL not between", value1, value2, "designedfloodlevel"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeIsNull() { - addCriterion("MAXLEVELTIME is null"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeIsNotNull() { - addCriterion("MAXLEVELTIME is not null"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeEqualTo(Date value) { - addCriterion("MAXLEVELTIME =", value, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeNotEqualTo(Date value) { - addCriterion("MAXLEVELTIME <>", value, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeGreaterThan(Date value) { - addCriterion("MAXLEVELTIME >", value, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeGreaterThanOrEqualTo(Date value) { - addCriterion("MAXLEVELTIME >=", value, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeLessThan(Date value) { - addCriterion("MAXLEVELTIME <", value, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeLessThanOrEqualTo(Date value) { - addCriterion("MAXLEVELTIME <=", value, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeIn(List values) { - addCriterion("MAXLEVELTIME in", values, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeNotIn(List values) { - addCriterion("MAXLEVELTIME not in", values, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeBetween(Date value1, Date value2) { - addCriterion("MAXLEVELTIME between", value1, value2, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andMaxleveltimeNotBetween(Date value1, Date value2) { - addCriterion("MAXLEVELTIME not between", value1, value2, "maxleveltime"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeIsNull() { - addCriterion("UTILIZABLEVOLUME is null"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeIsNotNull() { - addCriterion("UTILIZABLEVOLUME is not null"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeEqualTo(Float value) { - addCriterion("UTILIZABLEVOLUME =", value, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeNotEqualTo(Float value) { - addCriterion("UTILIZABLEVOLUME <>", value, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeGreaterThan(Float value) { - addCriterion("UTILIZABLEVOLUME >", value, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeGreaterThanOrEqualTo(Float value) { - addCriterion("UTILIZABLEVOLUME >=", value, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeLessThan(Float value) { - addCriterion("UTILIZABLEVOLUME <", value, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeLessThanOrEqualTo(Float value) { - addCriterion("UTILIZABLEVOLUME <=", value, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeIn(List values) { - addCriterion("UTILIZABLEVOLUME in", values, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeNotIn(List values) { - addCriterion("UTILIZABLEVOLUME not in", values, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeBetween(Float value1, Float value2) { - addCriterion("UTILIZABLEVOLUME between", value1, value2, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andUtilizablevolumeNotBetween(Float value1, Float value2) { - addCriterion("UTILIZABLEVOLUME not between", value1, value2, "utilizablevolume"); - return (Criteria) this; - } - - public Criteria andNorrmallevelIsNull() { - addCriterion("NORRMALLEVEL is null"); - return (Criteria) this; - } - - public Criteria andNorrmallevelIsNotNull() { - addCriterion("NORRMALLEVEL is not null"); - return (Criteria) this; - } - - public Criteria andNorrmallevelEqualTo(Float value) { - addCriterion("NORRMALLEVEL =", value, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelNotEqualTo(Float value) { - addCriterion("NORRMALLEVEL <>", value, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelGreaterThan(Float value) { - addCriterion("NORRMALLEVEL >", value, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelGreaterThanOrEqualTo(Float value) { - addCriterion("NORRMALLEVEL >=", value, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelLessThan(Float value) { - addCriterion("NORRMALLEVEL <", value, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelLessThanOrEqualTo(Float value) { - addCriterion("NORRMALLEVEL <=", value, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelIn(List values) { - addCriterion("NORRMALLEVEL in", values, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelNotIn(List values) { - addCriterion("NORRMALLEVEL not in", values, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelBetween(Float value1, Float value2) { - addCriterion("NORRMALLEVEL between", value1, value2, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andNorrmallevelNotBetween(Float value1, Float value2) { - addCriterion("NORRMALLEVEL not between", value1, value2, "norrmallevel"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeIsNull() { - addCriterion("FLOODDETENTIONVOLUME is null"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeIsNotNull() { - addCriterion("FLOODDETENTIONVOLUME is not null"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeEqualTo(Float value) { - addCriterion("FLOODDETENTIONVOLUME =", value, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeNotEqualTo(Float value) { - addCriterion("FLOODDETENTIONVOLUME <>", value, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeGreaterThan(Float value) { - addCriterion("FLOODDETENTIONVOLUME >", value, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeGreaterThanOrEqualTo(Float value) { - addCriterion("FLOODDETENTIONVOLUME >=", value, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeLessThan(Float value) { - addCriterion("FLOODDETENTIONVOLUME <", value, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeLessThanOrEqualTo(Float value) { - addCriterion("FLOODDETENTIONVOLUME <=", value, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeIn(List values) { - addCriterion("FLOODDETENTIONVOLUME in", values, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeNotIn(List values) { - addCriterion("FLOODDETENTIONVOLUME not in", values, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeBetween(Float value1, Float value2) { - addCriterion("FLOODDETENTIONVOLUME between", value1, value2, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andFlooddetentionvolumeNotBetween(Float value1, Float value2) { - addCriterion("FLOODDETENTIONVOLUME not between", value1, value2, "flooddetentionvolume"); - return (Criteria) this; - } - - public Criteria andDeadlevelIsNull() { - addCriterion("DEADLEVEL is null"); - return (Criteria) this; - } - - public Criteria andDeadlevelIsNotNull() { - addCriterion("DEADLEVEL is not null"); - return (Criteria) this; - } - - public Criteria andDeadlevelEqualTo(Float value) { - addCriterion("DEADLEVEL =", value, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelNotEqualTo(Float value) { - addCriterion("DEADLEVEL <>", value, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelGreaterThan(Float value) { - addCriterion("DEADLEVEL >", value, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelGreaterThanOrEqualTo(Float value) { - addCriterion("DEADLEVEL >=", value, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelLessThan(Float value) { - addCriterion("DEADLEVEL <", value, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelLessThanOrEqualTo(Float value) { - addCriterion("DEADLEVEL <=", value, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelIn(List values) { - addCriterion("DEADLEVEL in", values, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelNotIn(List values) { - addCriterion("DEADLEVEL not in", values, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelBetween(Float value1, Float value2) { - addCriterion("DEADLEVEL between", value1, value2, "deadlevel"); - return (Criteria) this; - } - - public Criteria andDeadlevelNotBetween(Float value1, Float value2) { - addCriterion("DEADLEVEL not between", value1, value2, "deadlevel"); - return (Criteria) this; - } - - public Criteria andAreaCodeIsNull() { - addCriterion("AREA_CODE is null"); - return (Criteria) this; - } - - public Criteria andAreaCodeIsNotNull() { - addCriterion("AREA_CODE is not null"); - return (Criteria) this; - } - - public Criteria andAreaCodeEqualTo(String value) { - addCriterion("AREA_CODE =", value, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeNotEqualTo(String value) { - addCriterion("AREA_CODE <>", value, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeGreaterThan(String value) { - addCriterion("AREA_CODE >", value, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeGreaterThanOrEqualTo(String value) { - addCriterion("AREA_CODE >=", value, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeLessThan(String value) { - addCriterion("AREA_CODE <", value, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeLessThanOrEqualTo(String value) { - addCriterion("AREA_CODE <=", value, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeLike(String value) { - addCriterion("AREA_CODE like", value, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeNotLike(String value) { - addCriterion("AREA_CODE not like", value, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeIn(List values) { - addCriterion("AREA_CODE in", values, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeNotIn(List values) { - addCriterion("AREA_CODE not in", values, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeBetween(String value1, String value2) { - addCriterion("AREA_CODE between", value1, value2, "areaCode"); - return (Criteria) this; - } - - public Criteria andAreaCodeNotBetween(String value1, String value2) { - addCriterion("AREA_CODE not between", value1, value2, "areaCode"); - return (Criteria) this; - } - - public Criteria andLrcdIsNull() { - addCriterion("LRCD is null"); - return (Criteria) this; - } - - public Criteria andLrcdIsNotNull() { - addCriterion("LRCD is not null"); - return (Criteria) this; - } - - public Criteria andLrcdEqualTo(String value) { - addCriterion("LRCD =", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdNotEqualTo(String value) { - addCriterion("LRCD <>", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdGreaterThan(String value) { - addCriterion("LRCD >", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdGreaterThanOrEqualTo(String value) { - addCriterion("LRCD >=", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdLessThan(String value) { - addCriterion("LRCD <", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdLessThanOrEqualTo(String value) { - addCriterion("LRCD <=", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdLike(String value) { - addCriterion("LRCD like", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdNotLike(String value) { - addCriterion("LRCD not like", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdIn(List values) { - addCriterion("LRCD in", values, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdNotIn(List values) { - addCriterion("LRCD not in", values, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdBetween(String value1, String value2) { - addCriterion("LRCD between", value1, value2, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdNotBetween(String value1, String value2) { - addCriterion("LRCD not between", value1, value2, "lrcd"); - return (Criteria) this; - } - - public Criteria andSzhldmIsNull() { - addCriterion("SZHLDM is null"); - return (Criteria) this; - } - - public Criteria andSzhldmIsNotNull() { - addCriterion("SZHLDM is not null"); - return (Criteria) this; - } - - public Criteria andSzhldmEqualTo(String value) { - addCriterion("SZHLDM =", value, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmNotEqualTo(String value) { - addCriterion("SZHLDM <>", value, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmGreaterThan(String value) { - addCriterion("SZHLDM >", value, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmGreaterThanOrEqualTo(String value) { - addCriterion("SZHLDM >=", value, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmLessThan(String value) { - addCriterion("SZHLDM <", value, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmLessThanOrEqualTo(String value) { - addCriterion("SZHLDM <=", value, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmLike(String value) { - addCriterion("SZHLDM like", value, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmNotLike(String value) { - addCriterion("SZHLDM not like", value, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmIn(List values) { - addCriterion("SZHLDM in", values, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmNotIn(List values) { - addCriterion("SZHLDM not in", values, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmBetween(String value1, String value2) { - addCriterion("SZHLDM between", value1, value2, "szhldm"); - return (Criteria) this; - } - - public Criteria andSzhldmNotBetween(String value1, String value2) { - addCriterion("SZHLDM not between", value1, value2, "szhldm"); - return (Criteria) this; - } - - public Criteria andDongjIsNull() { - addCriterion("DONGJ is null"); - return (Criteria) this; - } - - public Criteria andDongjIsNotNull() { - addCriterion("DONGJ is not null"); - return (Criteria) this; - } - - public Criteria andDongjEqualTo(Float value) { - addCriterion("DONGJ =", value, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjNotEqualTo(Float value) { - addCriterion("DONGJ <>", value, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjGreaterThan(Float value) { - addCriterion("DONGJ >", value, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjGreaterThanOrEqualTo(Float value) { - addCriterion("DONGJ >=", value, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjLessThan(Float value) { - addCriterion("DONGJ <", value, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjLessThanOrEqualTo(Float value) { - addCriterion("DONGJ <=", value, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjIn(List values) { - addCriterion("DONGJ in", values, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjNotIn(List values) { - addCriterion("DONGJ not in", values, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjBetween(Float value1, Float value2) { - addCriterion("DONGJ between", value1, value2, "dongj"); - return (Criteria) this; - } - - public Criteria andDongjNotBetween(Float value1, Float value2) { - addCriterion("DONGJ not between", value1, value2, "dongj"); - return (Criteria) this; - } - - public Criteria andBeiwIsNull() { - addCriterion("BEIW is null"); - return (Criteria) this; - } - - public Criteria andBeiwIsNotNull() { - addCriterion("BEIW is not null"); - return (Criteria) this; - } - - public Criteria andBeiwEqualTo(Float value) { - addCriterion("BEIW =", value, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwNotEqualTo(Float value) { - addCriterion("BEIW <>", value, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwGreaterThan(Float value) { - addCriterion("BEIW >", value, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwGreaterThanOrEqualTo(Float value) { - addCriterion("BEIW >=", value, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwLessThan(Float value) { - addCriterion("BEIW <", value, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwLessThanOrEqualTo(Float value) { - addCriterion("BEIW <=", value, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwIn(List values) { - addCriterion("BEIW in", values, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwNotIn(List values) { - addCriterion("BEIW not in", values, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwBetween(Float value1, Float value2) { - addCriterion("BEIW between", value1, value2, "beiw"); - return (Criteria) this; - } - - public Criteria andBeiwNotBetween(Float value1, Float value2) { - addCriterion("BEIW not between", value1, value2, "beiw"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirRefdata.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirRefdata.java deleted file mode 100644 index d389af5..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirRefdata.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -/** - * 水库数据扩展表 - * - * @author moze - * - */ -public class ReservoirRefdata { - private String stcd; // 水库编号 - - private String refstcd; // 关联测站 - - private String refqpoint; // 关联流量数据点 - - private String refzpoint; // 关联水位数据点 - - public String getStcd() { - return stcd; - } - - public void setStcd(String stcd) { - this.stcd = stcd; - } - - public String getRefstcd() { - return refstcd; - } - - public void setRefstcd(String refstcd) { - this.refstcd = refstcd; - } - - public String getRefqpoint() { - return refqpoint; - } - - public void setRefqpoint(String refqpoint) { - this.refqpoint = refqpoint; - } - - public String getRefzpoint() { - return refzpoint; - } - - public void setRefzpoint(String refzpoint) { - this.refzpoint = refzpoint; - } - -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirRefdataExample.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirRefdataExample.java deleted file mode 100644 index c59eabc..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirRefdataExample.java +++ /dev/null @@ -1,480 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.util.ArrayList; -import java.util.List; - -public class ReservoirRefdataExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public ReservoirRefdataExample() { - oredCriteria = new ArrayList(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andStcdIsNull() { - addCriterion("STCD is null"); - return (Criteria) this; - } - - public Criteria andStcdIsNotNull() { - addCriterion("STCD is not null"); - return (Criteria) this; - } - - public Criteria andStcdEqualTo(String value) { - addCriterion("STCD =", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotEqualTo(String value) { - addCriterion("STCD <>", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThan(String value) { - addCriterion("STCD >", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThanOrEqualTo(String value) { - addCriterion("STCD >=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThan(String value) { - addCriterion("STCD <", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThanOrEqualTo(String value) { - addCriterion("STCD <=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLike(String value) { - addCriterion("STCD like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotLike(String value) { - addCriterion("STCD not like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdIn(List values) { - addCriterion("STCD in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotIn(List values) { - addCriterion("STCD not in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdBetween(String value1, String value2) { - addCriterion("STCD between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotBetween(String value1, String value2) { - addCriterion("STCD not between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andRefstcdIsNull() { - addCriterion("REFSTCD is null"); - return (Criteria) this; - } - - public Criteria andRefstcdIsNotNull() { - addCriterion("REFSTCD is not null"); - return (Criteria) this; - } - - public Criteria andRefstcdEqualTo(String value) { - addCriterion("REFSTCD =", value, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdNotEqualTo(String value) { - addCriterion("REFSTCD <>", value, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdGreaterThan(String value) { - addCriterion("REFSTCD >", value, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdGreaterThanOrEqualTo(String value) { - addCriterion("REFSTCD >=", value, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdLessThan(String value) { - addCriterion("REFSTCD <", value, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdLessThanOrEqualTo(String value) { - addCriterion("REFSTCD <=", value, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdLike(String value) { - addCriterion("REFSTCD like", value, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdNotLike(String value) { - addCriterion("REFSTCD not like", value, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdIn(List values) { - addCriterion("REFSTCD in", values, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdNotIn(List values) { - addCriterion("REFSTCD not in", values, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdBetween(String value1, String value2) { - addCriterion("REFSTCD between", value1, value2, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefstcdNotBetween(String value1, String value2) { - addCriterion("REFSTCD not between", value1, value2, "refstcd"); - return (Criteria) this; - } - - public Criteria andRefqpointIsNull() { - addCriterion("REFQPOINT is null"); - return (Criteria) this; - } - - public Criteria andRefqpointIsNotNull() { - addCriterion("REFQPOINT is not null"); - return (Criteria) this; - } - - public Criteria andRefqpointEqualTo(String value) { - addCriterion("REFQPOINT =", value, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointNotEqualTo(String value) { - addCriterion("REFQPOINT <>", value, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointGreaterThan(String value) { - addCriterion("REFQPOINT >", value, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointGreaterThanOrEqualTo(String value) { - addCriterion("REFQPOINT >=", value, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointLessThan(String value) { - addCriterion("REFQPOINT <", value, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointLessThanOrEqualTo(String value) { - addCriterion("REFQPOINT <=", value, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointLike(String value) { - addCriterion("REFQPOINT like", value, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointNotLike(String value) { - addCriterion("REFQPOINT not like", value, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointIn(List values) { - addCriterion("REFQPOINT in", values, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointNotIn(List values) { - addCriterion("REFQPOINT not in", values, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointBetween(String value1, String value2) { - addCriterion("REFQPOINT between", value1, value2, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefqpointNotBetween(String value1, String value2) { - addCriterion("REFQPOINT not between", value1, value2, "refqpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointIsNull() { - addCriterion("REFZPOINT is null"); - return (Criteria) this; - } - - public Criteria andRefzpointIsNotNull() { - addCriterion("REFZPOINT is not null"); - return (Criteria) this; - } - - public Criteria andRefzpointEqualTo(String value) { - addCriterion("REFZPOINT =", value, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointNotEqualTo(String value) { - addCriterion("REFZPOINT <>", value, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointGreaterThan(String value) { - addCriterion("REFZPOINT >", value, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointGreaterThanOrEqualTo(String value) { - addCriterion("REFZPOINT >=", value, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointLessThan(String value) { - addCriterion("REFZPOINT <", value, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointLessThanOrEqualTo(String value) { - addCriterion("REFZPOINT <=", value, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointLike(String value) { - addCriterion("REFZPOINT like", value, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointNotLike(String value) { - addCriterion("REFZPOINT not like", value, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointIn(List values) { - addCriterion("REFZPOINT in", values, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointNotIn(List values) { - addCriterion("REFZPOINT not in", values, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointBetween(String value1, String value2) { - addCriterion("REFZPOINT between", value1, value2, "refzpoint"); - return (Criteria) this; - } - - public Criteria andRefzpointNotBetween(String value1, String value2) { - addCriterion("REFZPOINT not between", value1, value2, "refzpoint"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirWaterManage.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirWaterManage.java deleted file mode 100644 index fdb15f0..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirWaterManage.java +++ /dev/null @@ -1,95 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.math.BigDecimal; - -public class ReservoirWaterManage { - private Integer id; - - private Integer month; - - private BigDecimal firstArea; - - private BigDecimal secondArea; - - private BigDecimal thirdArea; - - private BigDecimal fourthArea; - - private BigDecimal fivthArea; - - private BigDecimal sixthArea; - - private String stcd; - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public Integer getMonth() { - return month; - } - - public void setMonth(Integer month) { - this.month = month; - } - - public BigDecimal getFirstArea() { - return firstArea; - } - - public void setFirstArea(BigDecimal firstArea) { - this.firstArea = firstArea; - } - - public BigDecimal getSecondArea() { - return secondArea; - } - - public void setSecondArea(BigDecimal secondArea) { - this.secondArea = secondArea; - } - - public BigDecimal getThirdArea() { - return thirdArea; - } - - public void setThirdArea(BigDecimal thirdArea) { - this.thirdArea = thirdArea; - } - - public BigDecimal getFourthArea() { - return fourthArea; - } - - public void setFourthArea(BigDecimal fourthArea) { - this.fourthArea = fourthArea; - } - - public BigDecimal getFivthArea() { - return fivthArea; - } - - public void setFivthArea(BigDecimal fivthArea) { - this.fivthArea = fivthArea; - } - - public BigDecimal getSixthArea() { - return sixthArea; - } - - public void setSixthArea(BigDecimal sixthArea) { - this.sixthArea = sixthArea; - } - - public String getStcd() { - return stcd; - } - - public void setStcd(String stcd) { - this.stcd = stcd; - } -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirWaterManageExample.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirWaterManageExample.java deleted file mode 100644 index 64bf2f4..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/ReservoirWaterManageExample.java +++ /dev/null @@ -1,751 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class ReservoirWaterManageExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public ReservoirWaterManageExample() { - oredCriteria = new ArrayList(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("ID is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("ID is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Integer value) { - addCriterion("ID =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Integer value) { - addCriterion("ID <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Integer value) { - addCriterion("ID >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Integer value) { - addCriterion("ID >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Integer value) { - addCriterion("ID <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Integer value) { - addCriterion("ID <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("ID in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("ID not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Integer value1, Integer value2) { - addCriterion("ID between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Integer value1, Integer value2) { - addCriterion("ID not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMonthIsNull() { - addCriterion("MONTH is null"); - return (Criteria) this; - } - - public Criteria andMonthIsNotNull() { - addCriterion("MONTH is not null"); - return (Criteria) this; - } - - public Criteria andMonthEqualTo(Integer value) { - addCriterion("MONTH =", value, "month"); - return (Criteria) this; - } - - public Criteria andMonthNotEqualTo(Integer value) { - addCriterion("MONTH <>", value, "month"); - return (Criteria) this; - } - - public Criteria andMonthGreaterThan(Integer value) { - addCriterion("MONTH >", value, "month"); - return (Criteria) this; - } - - public Criteria andMonthGreaterThanOrEqualTo(Integer value) { - addCriterion("MONTH >=", value, "month"); - return (Criteria) this; - } - - public Criteria andMonthLessThan(Integer value) { - addCriterion("MONTH <", value, "month"); - return (Criteria) this; - } - - public Criteria andMonthLessThanOrEqualTo(Integer value) { - addCriterion("MONTH <=", value, "month"); - return (Criteria) this; - } - - public Criteria andMonthIn(List values) { - addCriterion("MONTH in", values, "month"); - return (Criteria) this; - } - - public Criteria andMonthNotIn(List values) { - addCriterion("MONTH not in", values, "month"); - return (Criteria) this; - } - - public Criteria andMonthBetween(Integer value1, Integer value2) { - addCriterion("MONTH between", value1, value2, "month"); - return (Criteria) this; - } - - public Criteria andMonthNotBetween(Integer value1, Integer value2) { - addCriterion("MONTH not between", value1, value2, "month"); - return (Criteria) this; - } - - public Criteria andFirstAreaIsNull() { - addCriterion("FIRST_AREA is null"); - return (Criteria) this; - } - - public Criteria andFirstAreaIsNotNull() { - addCriterion("FIRST_AREA is not null"); - return (Criteria) this; - } - - public Criteria andFirstAreaEqualTo(BigDecimal value) { - addCriterion("FIRST_AREA =", value, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaNotEqualTo(BigDecimal value) { - addCriterion("FIRST_AREA <>", value, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaGreaterThan(BigDecimal value) { - addCriterion("FIRST_AREA >", value, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("FIRST_AREA >=", value, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaLessThan(BigDecimal value) { - addCriterion("FIRST_AREA <", value, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaLessThanOrEqualTo(BigDecimal value) { - addCriterion("FIRST_AREA <=", value, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaIn(List values) { - addCriterion("FIRST_AREA in", values, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaNotIn(List values) { - addCriterion("FIRST_AREA not in", values, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("FIRST_AREA between", value1, value2, "firstArea"); - return (Criteria) this; - } - - public Criteria andFirstAreaNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("FIRST_AREA not between", value1, value2, "firstArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaIsNull() { - addCriterion("SECOND_AREA is null"); - return (Criteria) this; - } - - public Criteria andSecondAreaIsNotNull() { - addCriterion("SECOND_AREA is not null"); - return (Criteria) this; - } - - public Criteria andSecondAreaEqualTo(BigDecimal value) { - addCriterion("SECOND_AREA =", value, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaNotEqualTo(BigDecimal value) { - addCriterion("SECOND_AREA <>", value, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaGreaterThan(BigDecimal value) { - addCriterion("SECOND_AREA >", value, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("SECOND_AREA >=", value, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaLessThan(BigDecimal value) { - addCriterion("SECOND_AREA <", value, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaLessThanOrEqualTo(BigDecimal value) { - addCriterion("SECOND_AREA <=", value, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaIn(List values) { - addCriterion("SECOND_AREA in", values, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaNotIn(List values) { - addCriterion("SECOND_AREA not in", values, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("SECOND_AREA between", value1, value2, "secondArea"); - return (Criteria) this; - } - - public Criteria andSecondAreaNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("SECOND_AREA not between", value1, value2, "secondArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaIsNull() { - addCriterion("THIRD_AREA is null"); - return (Criteria) this; - } - - public Criteria andThirdAreaIsNotNull() { - addCriterion("THIRD_AREA is not null"); - return (Criteria) this; - } - - public Criteria andThirdAreaEqualTo(BigDecimal value) { - addCriterion("THIRD_AREA =", value, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaNotEqualTo(BigDecimal value) { - addCriterion("THIRD_AREA <>", value, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaGreaterThan(BigDecimal value) { - addCriterion("THIRD_AREA >", value, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("THIRD_AREA >=", value, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaLessThan(BigDecimal value) { - addCriterion("THIRD_AREA <", value, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaLessThanOrEqualTo(BigDecimal value) { - addCriterion("THIRD_AREA <=", value, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaIn(List values) { - addCriterion("THIRD_AREA in", values, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaNotIn(List values) { - addCriterion("THIRD_AREA not in", values, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("THIRD_AREA between", value1, value2, "thirdArea"); - return (Criteria) this; - } - - public Criteria andThirdAreaNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("THIRD_AREA not between", value1, value2, "thirdArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaIsNull() { - addCriterion("FOURTH_AREA is null"); - return (Criteria) this; - } - - public Criteria andFourthAreaIsNotNull() { - addCriterion("FOURTH_AREA is not null"); - return (Criteria) this; - } - - public Criteria andFourthAreaEqualTo(BigDecimal value) { - addCriterion("FOURTH_AREA =", value, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaNotEqualTo(BigDecimal value) { - addCriterion("FOURTH_AREA <>", value, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaGreaterThan(BigDecimal value) { - addCriterion("FOURTH_AREA >", value, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("FOURTH_AREA >=", value, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaLessThan(BigDecimal value) { - addCriterion("FOURTH_AREA <", value, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaLessThanOrEqualTo(BigDecimal value) { - addCriterion("FOURTH_AREA <=", value, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaIn(List values) { - addCriterion("FOURTH_AREA in", values, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaNotIn(List values) { - addCriterion("FOURTH_AREA not in", values, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("FOURTH_AREA between", value1, value2, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFourthAreaNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("FOURTH_AREA not between", value1, value2, "fourthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaIsNull() { - addCriterion("FIVTH_AREA is null"); - return (Criteria) this; - } - - public Criteria andFivthAreaIsNotNull() { - addCriterion("FIVTH_AREA is not null"); - return (Criteria) this; - } - - public Criteria andFivthAreaEqualTo(BigDecimal value) { - addCriterion("FIVTH_AREA =", value, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaNotEqualTo(BigDecimal value) { - addCriterion("FIVTH_AREA <>", value, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaGreaterThan(BigDecimal value) { - addCriterion("FIVTH_AREA >", value, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("FIVTH_AREA >=", value, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaLessThan(BigDecimal value) { - addCriterion("FIVTH_AREA <", value, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaLessThanOrEqualTo(BigDecimal value) { - addCriterion("FIVTH_AREA <=", value, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaIn(List values) { - addCriterion("FIVTH_AREA in", values, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaNotIn(List values) { - addCriterion("FIVTH_AREA not in", values, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("FIVTH_AREA between", value1, value2, "fivthArea"); - return (Criteria) this; - } - - public Criteria andFivthAreaNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("FIVTH_AREA not between", value1, value2, "fivthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaIsNull() { - addCriterion("SIXTH_AREA is null"); - return (Criteria) this; - } - - public Criteria andSixthAreaIsNotNull() { - addCriterion("SIXTH_AREA is not null"); - return (Criteria) this; - } - - public Criteria andSixthAreaEqualTo(BigDecimal value) { - addCriterion("SIXTH_AREA =", value, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaNotEqualTo(BigDecimal value) { - addCriterion("SIXTH_AREA <>", value, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaGreaterThan(BigDecimal value) { - addCriterion("SIXTH_AREA >", value, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("SIXTH_AREA >=", value, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaLessThan(BigDecimal value) { - addCriterion("SIXTH_AREA <", value, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaLessThanOrEqualTo(BigDecimal value) { - addCriterion("SIXTH_AREA <=", value, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaIn(List values) { - addCriterion("SIXTH_AREA in", values, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaNotIn(List values) { - addCriterion("SIXTH_AREA not in", values, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("SIXTH_AREA between", value1, value2, "sixthArea"); - return (Criteria) this; - } - - public Criteria andSixthAreaNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("SIXTH_AREA not between", value1, value2, "sixthArea"); - return (Criteria) this; - } - - public Criteria andStcdIsNull() { - addCriterion("STCD is null"); - return (Criteria) this; - } - - public Criteria andStcdIsNotNull() { - addCriterion("STCD is not null"); - return (Criteria) this; - } - - public Criteria andStcdEqualTo(String value) { - addCriterion("STCD =", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotEqualTo(String value) { - addCriterion("STCD <>", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThan(String value) { - addCriterion("STCD >", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThanOrEqualTo(String value) { - addCriterion("STCD >=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThan(String value) { - addCriterion("STCD <", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThanOrEqualTo(String value) { - addCriterion("STCD <=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLike(String value) { - addCriterion("STCD like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotLike(String value) { - addCriterion("STCD not like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdIn(List values) { - addCriterion("STCD in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotIn(List values) { - addCriterion("STCD not in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdBetween(String value1, String value2) { - addCriterion("STCD between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotBetween(String value1, String value2) { - addCriterion("STCD not between", value1, value2, "stcd"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/StZvarlB.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/StZvarlB.java deleted file mode 100644 index 3bc009f..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/StZvarlB.java +++ /dev/null @@ -1,92 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.math.BigDecimal; -import java.util.Date; - -/** - * 库(湖)容曲线表 - * - * @author moze - * - */ -public class StZvarlB { - private Integer id; - - private String stcd; // 水库编码 - - private Date mstm; // 施测时间 - - private Integer ptno; // 点序号 - - private BigDecimal rz; // 库水位 - - private BigDecimal w; // 蓄水量 - - private BigDecimal wsfa; // 水位面积 - - private Date moditime; // 时间戳 - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public String getStcd() { - return stcd; - } - - public void setStcd(String stcd) { - this.stcd = stcd; - } - - public Date getMstm() { - return mstm; - } - - public void setMstm(Date mstm) { - this.mstm = mstm; - } - - public Integer getPtno() { - return ptno; - } - - public void setPtno(Integer ptno) { - this.ptno = ptno; - } - - public BigDecimal getRz() { - return rz; - } - - public void setRz(BigDecimal rz) { - this.rz = rz; - } - - public BigDecimal getW() { - return w; - } - - public void setW(BigDecimal w) { - this.w = w; - } - - public BigDecimal getWsfa() { - return wsfa; - } - - public void setWsfa(BigDecimal wsfa) { - this.wsfa = wsfa; - } - - public Date getModitime() { - return moditime; - } - - public void setModitime(Date moditime) { - this.moditime = moditime; - } -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/StZvarlBExample.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/StZvarlBExample.java deleted file mode 100644 index d510e14..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/StZvarlBExample.java +++ /dev/null @@ -1,692 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class StZvarlBExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public StZvarlBExample() { - oredCriteria = new ArrayList(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("ID is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("ID is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Integer value) { - addCriterion("ID =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Integer value) { - addCriterion("ID <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Integer value) { - addCriterion("ID >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Integer value) { - addCriterion("ID >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Integer value) { - addCriterion("ID <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Integer value) { - addCriterion("ID <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("ID in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("ID not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Integer value1, Integer value2) { - addCriterion("ID between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Integer value1, Integer value2) { - addCriterion("ID not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andStcdIsNull() { - addCriterion("STCD is null"); - return (Criteria) this; - } - - public Criteria andStcdIsNotNull() { - addCriterion("STCD is not null"); - return (Criteria) this; - } - - public Criteria andStcdEqualTo(String value) { - addCriterion("STCD =", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotEqualTo(String value) { - addCriterion("STCD <>", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThan(String value) { - addCriterion("STCD >", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThanOrEqualTo(String value) { - addCriterion("STCD >=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThan(String value) { - addCriterion("STCD <", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThanOrEqualTo(String value) { - addCriterion("STCD <=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLike(String value) { - addCriterion("STCD like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotLike(String value) { - addCriterion("STCD not like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdIn(List values) { - addCriterion("STCD in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotIn(List values) { - addCriterion("STCD not in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdBetween(String value1, String value2) { - addCriterion("STCD between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotBetween(String value1, String value2) { - addCriterion("STCD not between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andMstmIsNull() { - addCriterion("MSTM is null"); - return (Criteria) this; - } - - public Criteria andMstmIsNotNull() { - addCriterion("MSTM is not null"); - return (Criteria) this; - } - - public Criteria andMstmEqualTo(Date value) { - addCriterion("MSTM =", value, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmNotEqualTo(Date value) { - addCriterion("MSTM <>", value, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmGreaterThan(Date value) { - addCriterion("MSTM >", value, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmGreaterThanOrEqualTo(Date value) { - addCriterion("MSTM >=", value, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmLessThan(Date value) { - addCriterion("MSTM <", value, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmLessThanOrEqualTo(Date value) { - addCriterion("MSTM <=", value, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmIn(List values) { - addCriterion("MSTM in", values, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmNotIn(List values) { - addCriterion("MSTM not in", values, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmBetween(Date value1, Date value2) { - addCriterion("MSTM between", value1, value2, "mstm"); - return (Criteria) this; - } - - public Criteria andMstmNotBetween(Date value1, Date value2) { - addCriterion("MSTM not between", value1, value2, "mstm"); - return (Criteria) this; - } - - public Criteria andPtnoIsNull() { - addCriterion("PTNO is null"); - return (Criteria) this; - } - - public Criteria andPtnoIsNotNull() { - addCriterion("PTNO is not null"); - return (Criteria) this; - } - - public Criteria andPtnoEqualTo(Integer value) { - addCriterion("PTNO =", value, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoNotEqualTo(Integer value) { - addCriterion("PTNO <>", value, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoGreaterThan(Integer value) { - addCriterion("PTNO >", value, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoGreaterThanOrEqualTo(Integer value) { - addCriterion("PTNO >=", value, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoLessThan(Integer value) { - addCriterion("PTNO <", value, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoLessThanOrEqualTo(Integer value) { - addCriterion("PTNO <=", value, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoIn(List values) { - addCriterion("PTNO in", values, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoNotIn(List values) { - addCriterion("PTNO not in", values, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoBetween(Integer value1, Integer value2) { - addCriterion("PTNO between", value1, value2, "ptno"); - return (Criteria) this; - } - - public Criteria andPtnoNotBetween(Integer value1, Integer value2) { - addCriterion("PTNO not between", value1, value2, "ptno"); - return (Criteria) this; - } - - public Criteria andRzIsNull() { - addCriterion("RZ is null"); - return (Criteria) this; - } - - public Criteria andRzIsNotNull() { - addCriterion("RZ is not null"); - return (Criteria) this; - } - - public Criteria andRzEqualTo(BigDecimal value) { - addCriterion("RZ =", value, "rz"); - return (Criteria) this; - } - - public Criteria andRzNotEqualTo(BigDecimal value) { - addCriterion("RZ <>", value, "rz"); - return (Criteria) this; - } - - public Criteria andRzGreaterThan(BigDecimal value) { - addCriterion("RZ >", value, "rz"); - return (Criteria) this; - } - - public Criteria andRzGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("RZ >=", value, "rz"); - return (Criteria) this; - } - - public Criteria andRzLessThan(BigDecimal value) { - addCriterion("RZ <", value, "rz"); - return (Criteria) this; - } - - public Criteria andRzLessThanOrEqualTo(BigDecimal value) { - addCriterion("RZ <=", value, "rz"); - return (Criteria) this; - } - - public Criteria andRzIn(List values) { - addCriterion("RZ in", values, "rz"); - return (Criteria) this; - } - - public Criteria andRzNotIn(List values) { - addCriterion("RZ not in", values, "rz"); - return (Criteria) this; - } - - public Criteria andRzBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RZ between", value1, value2, "rz"); - return (Criteria) this; - } - - public Criteria andRzNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RZ not between", value1, value2, "rz"); - return (Criteria) this; - } - - public Criteria andWIsNull() { - addCriterion("W is null"); - return (Criteria) this; - } - - public Criteria andWIsNotNull() { - addCriterion("W is not null"); - return (Criteria) this; - } - - public Criteria andWEqualTo(BigDecimal value) { - addCriterion("W =", value, "w"); - return (Criteria) this; - } - - public Criteria andWNotEqualTo(BigDecimal value) { - addCriterion("W <>", value, "w"); - return (Criteria) this; - } - - public Criteria andWGreaterThan(BigDecimal value) { - addCriterion("W >", value, "w"); - return (Criteria) this; - } - - public Criteria andWGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("W >=", value, "w"); - return (Criteria) this; - } - - public Criteria andWLessThan(BigDecimal value) { - addCriterion("W <", value, "w"); - return (Criteria) this; - } - - public Criteria andWLessThanOrEqualTo(BigDecimal value) { - addCriterion("W <=", value, "w"); - return (Criteria) this; - } - - public Criteria andWIn(List values) { - addCriterion("W in", values, "w"); - return (Criteria) this; - } - - public Criteria andWNotIn(List values) { - addCriterion("W not in", values, "w"); - return (Criteria) this; - } - - public Criteria andWBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("W between", value1, value2, "w"); - return (Criteria) this; - } - - public Criteria andWNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("W not between", value1, value2, "w"); - return (Criteria) this; - } - - public Criteria andWsfaIsNull() { - addCriterion("WSFA is null"); - return (Criteria) this; - } - - public Criteria andWsfaIsNotNull() { - addCriterion("WSFA is not null"); - return (Criteria) this; - } - - public Criteria andWsfaEqualTo(Integer value) { - addCriterion("WSFA =", value, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaNotEqualTo(Integer value) { - addCriterion("WSFA <>", value, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaGreaterThan(Integer value) { - addCriterion("WSFA >", value, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaGreaterThanOrEqualTo(Integer value) { - addCriterion("WSFA >=", value, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaLessThan(Integer value) { - addCriterion("WSFA <", value, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaLessThanOrEqualTo(Integer value) { - addCriterion("WSFA <=", value, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaIn(List values) { - addCriterion("WSFA in", values, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaNotIn(List values) { - addCriterion("WSFA not in", values, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaBetween(Integer value1, Integer value2) { - addCriterion("WSFA between", value1, value2, "wsfa"); - return (Criteria) this; - } - - public Criteria andWsfaNotBetween(Integer value1, Integer value2) { - addCriterion("WSFA not between", value1, value2, "wsfa"); - return (Criteria) this; - } - - public Criteria andModitimeIsNull() { - addCriterion("MODITIME is null"); - return (Criteria) this; - } - - public Criteria andModitimeIsNotNull() { - addCriterion("MODITIME is not null"); - return (Criteria) this; - } - - public Criteria andModitimeEqualTo(Date value) { - addCriterion("MODITIME =", value, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeNotEqualTo(Date value) { - addCriterion("MODITIME <>", value, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeGreaterThan(Date value) { - addCriterion("MODITIME >", value, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeGreaterThanOrEqualTo(Date value) { - addCriterion("MODITIME >=", value, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeLessThan(Date value) { - addCriterion("MODITIME <", value, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeLessThanOrEqualTo(Date value) { - addCriterion("MODITIME <=", value, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeIn(List values) { - addCriterion("MODITIME in", values, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeNotIn(List values) { - addCriterion("MODITIME not in", values, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeBetween(Date value1, Date value2) { - addCriterion("MODITIME between", value1, value2, "moditime"); - return (Criteria) this; - } - - public Criteria andModitimeNotBetween(Date value1, Date value2) { - addCriterion("MODITIME not between", value1, value2, "moditime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/WqLrinfB.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/WqLrinfB.java deleted file mode 100644 index 3c71b9b..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/WqLrinfB.java +++ /dev/null @@ -1,72 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.math.BigDecimal; - -/** - * 湖库<国标> - * - * @author moze - * - */ -public class WqLrinfB { - private String lrcd; // 湖库代码 - - private String watp; // 水域类型 - - private String lrnm; // 湖(库)名称 - - private BigDecimal lrar; // 湖(库)面积 - - private BigDecimal rscp; // 水库库容 - - private String coordinateset; // 经纬集合 - - public String getCoordinateset() { - return coordinateset; - } - - public void setCoordinateset(String coordinateset) { - this.coordinateset = coordinateset; - } - - public String getLrcd() { - return lrcd; - } - - public void setLrcd(String lrcd) { - this.lrcd = lrcd; - } - - public String getWatp() { - return watp; - } - - public void setWatp(String watp) { - this.watp = watp; - } - - public String getLrnm() { - return lrnm; - } - - public void setLrnm(String lrnm) { - this.lrnm = lrnm; - } - - public BigDecimal getLrar() { - return lrar; - } - - public void setLrar(BigDecimal lrar) { - this.lrar = lrar; - } - - public BigDecimal getRscp() { - return rscp; - } - - public void setRscp(BigDecimal rscp) { - this.rscp = rscp; - } - -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/WqLrinfBExample.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/WqLrinfBExample.java deleted file mode 100644 index e8ef6c8..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/entity/WqLrinfBExample.java +++ /dev/null @@ -1,601 +0,0 @@ -package com.hnac.hzims.baseinfo.entity; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class WqLrinfBExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public WqLrinfBExample() { - oredCriteria = new ArrayList(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andLrcdIsNull() { - addCriterion("LRCD is null"); - return (Criteria) this; - } - - public Criteria andLrcdIsNotNull() { - addCriterion("LRCD is not null"); - return (Criteria) this; - } - - public Criteria andLrcdEqualTo(String value) { - addCriterion("LRCD =", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdNotEqualTo(String value) { - addCriterion("LRCD <>", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdGreaterThan(String value) { - addCriterion("LRCD >", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdGreaterThanOrEqualTo(String value) { - addCriterion("LRCD >=", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdLessThan(String value) { - addCriterion("LRCD <", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdLessThanOrEqualTo(String value) { - addCriterion("LRCD <=", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdLike(String value) { - addCriterion("LRCD like", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdNotLike(String value) { - addCriterion("LRCD not like", value, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdIn(List values) { - addCriterion("LRCD in", values, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdNotIn(List values) { - addCriterion("LRCD not in", values, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdBetween(String value1, String value2) { - addCriterion("LRCD between", value1, value2, "lrcd"); - return (Criteria) this; - } - - public Criteria andLrcdNotBetween(String value1, String value2) { - addCriterion("LRCD not between", value1, value2, "lrcd"); - return (Criteria) this; - } - - public Criteria andWatpIsNull() { - addCriterion("WATP is null"); - return (Criteria) this; - } - - public Criteria andWatpIsNotNull() { - addCriterion("WATP is not null"); - return (Criteria) this; - } - - public Criteria andWatpEqualTo(String value) { - addCriterion("WATP =", value, "watp"); - return (Criteria) this; - } - - public Criteria andWatpNotEqualTo(String value) { - addCriterion("WATP <>", value, "watp"); - return (Criteria) this; - } - - public Criteria andWatpGreaterThan(String value) { - addCriterion("WATP >", value, "watp"); - return (Criteria) this; - } - - public Criteria andWatpGreaterThanOrEqualTo(String value) { - addCriterion("WATP >=", value, "watp"); - return (Criteria) this; - } - - public Criteria andWatpLessThan(String value) { - addCriterion("WATP <", value, "watp"); - return (Criteria) this; - } - - public Criteria andWatpLessThanOrEqualTo(String value) { - addCriterion("WATP <=", value, "watp"); - return (Criteria) this; - } - - public Criteria andWatpLike(String value) { - addCriterion("WATP like", value, "watp"); - return (Criteria) this; - } - - public Criteria andWatpNotLike(String value) { - addCriterion("WATP not like", value, "watp"); - return (Criteria) this; - } - - public Criteria andWatpIn(List values) { - addCriterion("WATP in", values, "watp"); - return (Criteria) this; - } - - public Criteria andWatpNotIn(List values) { - addCriterion("WATP not in", values, "watp"); - return (Criteria) this; - } - - public Criteria andWatpBetween(String value1, String value2) { - addCriterion("WATP between", value1, value2, "watp"); - return (Criteria) this; - } - - public Criteria andWatpNotBetween(String value1, String value2) { - addCriterion("WATP not between", value1, value2, "watp"); - return (Criteria) this; - } - - public Criteria andLrnmIsNull() { - addCriterion("LRNM is null"); - return (Criteria) this; - } - - public Criteria andLrnmIsNotNull() { - addCriterion("LRNM is not null"); - return (Criteria) this; - } - - public Criteria andLrnmEqualTo(String value) { - addCriterion("LRNM =", value, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmNotEqualTo(String value) { - addCriterion("LRNM <>", value, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmGreaterThan(String value) { - addCriterion("LRNM >", value, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmGreaterThanOrEqualTo(String value) { - addCriterion("LRNM >=", value, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmLessThan(String value) { - addCriterion("LRNM <", value, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmLessThanOrEqualTo(String value) { - addCriterion("LRNM <=", value, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmLike(String value) { - addCriterion("LRNM like", value, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmNotLike(String value) { - addCriterion("LRNM not like", value, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmIn(List values) { - addCriterion("LRNM in", values, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmNotIn(List values) { - addCriterion("LRNM not in", values, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmBetween(String value1, String value2) { - addCriterion("LRNM between", value1, value2, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrnmNotBetween(String value1, String value2) { - addCriterion("LRNM not between", value1, value2, "lrnm"); - return (Criteria) this; - } - - public Criteria andLrarIsNull() { - addCriterion("LRAR is null"); - return (Criteria) this; - } - - public Criteria andLrarIsNotNull() { - addCriterion("LRAR is not null"); - return (Criteria) this; - } - - public Criteria andLrarEqualTo(BigDecimal value) { - addCriterion("LRAR =", value, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarNotEqualTo(BigDecimal value) { - addCriterion("LRAR <>", value, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarGreaterThan(BigDecimal value) { - addCriterion("LRAR >", value, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("LRAR >=", value, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarLessThan(BigDecimal value) { - addCriterion("LRAR <", value, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarLessThanOrEqualTo(BigDecimal value) { - addCriterion("LRAR <=", value, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarIn(List values) { - addCriterion("LRAR in", values, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarNotIn(List values) { - addCriterion("LRAR not in", values, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("LRAR between", value1, value2, "lrar"); - return (Criteria) this; - } - - public Criteria andLrarNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("LRAR not between", value1, value2, "lrar"); - return (Criteria) this; - } - - public Criteria andRscpIsNull() { - addCriterion("RSCP is null"); - return (Criteria) this; - } - - public Criteria andRscpIsNotNull() { - addCriterion("RSCP is not null"); - return (Criteria) this; - } - - public Criteria andRscpEqualTo(BigDecimal value) { - addCriterion("RSCP =", value, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpNotEqualTo(BigDecimal value) { - addCriterion("RSCP <>", value, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpGreaterThan(BigDecimal value) { - addCriterion("RSCP >", value, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("RSCP >=", value, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpLessThan(BigDecimal value) { - addCriterion("RSCP <", value, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpLessThanOrEqualTo(BigDecimal value) { - addCriterion("RSCP <=", value, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpIn(List values) { - addCriterion("RSCP in", values, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpNotIn(List values) { - addCriterion("RSCP not in", values, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RSCP between", value1, value2, "rscp"); - return (Criteria) this; - } - - public Criteria andRscpNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RSCP not between", value1, value2, "rscp"); - return (Criteria) this; - } - - public Criteria andCoordinatesetIsNull() { - addCriterion("COORDINATESET is null"); - return (Criteria) this; - } - - public Criteria andCoordinatesetIsNotNull() { - addCriterion("COORDINATESET is not null"); - return (Criteria) this; - } - - public Criteria andCoordinatesetEqualTo(String value) { - addCriterion("COORDINATESET =", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetNotEqualTo(String value) { - addCriterion("COORDINATESET <>", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetGreaterThan(String value) { - addCriterion("COORDINATESET >", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetGreaterThanOrEqualTo(String value) { - addCriterion("COORDINATESET >=", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetLessThan(String value) { - addCriterion("COORDINATESET <", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetLessThanOrEqualTo(String value) { - addCriterion("COORDINATESET <=", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetLike(String value) { - addCriterion("COORDINATESET like", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetNotLike(String value) { - addCriterion("COORDINATESET not like", value, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetIn(List values) { - addCriterion("COORDINATESET in", values, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetNotIn(List values) { - addCriterion("COORDINATESET not in", values, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetBetween(String value1, String value2) { - addCriterion("COORDINATESET between", value1, value2, "coordinateset"); - return (Criteria) this; - } - - public Criteria andCoordinatesetNotBetween(String value1, String value2) { - addCriterion("COORDINATESET not between", value1, value2, "coordinateset"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/vo/ReservoirInfoVo.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/vo/ReservoirInfoVo.java deleted file mode 100644 index 16797da..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/vo/ReservoirInfoVo.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.hnac.hzims.baseinfo.vo; - - -import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; -import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; -import com.hnac.hzims.baseinfo.entity.ReservoirInfo; -import lombok.Data; - -import java.util.List; - -@Data -public class ReservoirInfoVo extends ReservoirInfo { - private String rz; // 水位 - private String INQ; // 流量 - - - private List imageReservoirInfoList; - - private List fileReservoirInfoList; - - public ReservoirInfoVo() { - - } - - public ReservoirInfoVo(ReservoirInfo vo) { - this.setAveragerainfall(vo.getAveragerainfall()); - this.setBuilddate(vo.getBuilddate()); - this.setChecdedtotalflow(vo.getChecdedtotalflow()); - this.setCheckedfloodlevel(vo.getCheckedfloodlevel()); - this.setCheckedmaxflow(vo.getCheckedmaxflow()); - this.setChedkedfloodflow(vo.getChedkedfloodflow()); - this.setCompleteddate(vo.getCompleteddate()); - this.setDeadlevel(vo.getDeadlevel()); - this.setDesignedfillarea(vo.getDesignedfillarea()); - this.setDesignedfloodflow(vo.getDesignedfloodflow()); - this.setDesignedfloodlevel(vo.getDesignedfloodlevel()); - this.setDesignedmaxflow(vo.getDesignedmaxflow()); - this.setDesignedtotalflow(vo.getDesignedtotalflow()); - this.setDischarge(vo.getDischarge()); - this.setFloodcontrolvolume(vo.getFloodcontrolvolume()); - this.setFlooddetentionvolume(vo.getFlooddetentionvolume()); - this.setHistoricalmaxlevel(vo.getHistoricalmaxlevel()); - this.setLocation(vo.getLocation()); - this.setMaxleveltime(vo.getMaxleveltime()); - this.setName(vo.getName()); - this.setNorrmallevel(vo.getNorrmallevel()); - this.setRainarea(vo.getRainarea()); - this.setRoadconditiion(vo.getRoadconditiion()); - this.setRoadlength(vo.getRoadlength()); - this.setStationid(vo.getStationid()); - this.setStcd(vo.getStcd()); - this.setUtilizablevolume(vo.getUtilizablevolume()); - this.setVillage(vo.getVillage()); - this.setVolume(vo.getVolume()); - this.setBeiw(vo.getBeiw()); - this.setDongj(vo.getDongj()); - this.setMjflsscnwl(vo.getMjflsscnwl()); - setAreaCode(vo.getAreaCode()); - setLrcd(vo.getLrcd()); - setSzhldm(vo.getSzhldm()); - - } - -} diff --git a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/vo/ReservoirRefdataVo.java b/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/vo/ReservoirRefdataVo.java deleted file mode 100644 index 046ab2f..0000000 --- a/hzims-service-api/base-info-api/src/main/java/com/hnac/hzims/baseinfo/vo/ReservoirRefdataVo.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.hnac.hzims.baseinfo.vo; - - -import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; - -public class ReservoirRefdataVo extends ReservoirRefdata { - private String refqFactory; // 关联流量数据点point - private String refqGroupId; // 关联流量数据点point - private String refzFactory; // 关联水位数据点 - private String refzGroupId; // 关联水位数据点 - - public ReservoirRefdataVo(){ - - } - - public ReservoirRefdataVo(ReservoirRefdata model){ - setStcd(model.getStcd()); - setRefstcd(model.getRefstcd()); - setRefzpoint(model.getRefzpoint()); - setRefqpoint(model.getRefqpoint()); - } - - public String getRefqFactory() { - return refqFactory; - } - - public void setRefqFactory(String refqFactory) { - this.refqFactory = refqFactory; - } - - public String getRefqGroupId() { - return refqGroupId; - } - - public void setRefqGroupId(String refqGroupId) { - this.refqGroupId = refqGroupId; - } - - public String getRefzFactory() { - return refzFactory; - } - - public void setRefzFactory(String refzFactory) { - this.refzFactory = refzFactory; - } - - public String getRefzGroupId() { - return refzGroupId; - } - - public void setRefzGroupId(String refzGroupId) { - this.refzGroupId = refzGroupId; - } - - - -} diff --git a/hzims-service-api/dam-safety-api/pom.xml b/hzims-service-api/dam-safety-api/pom.xml deleted file mode 100644 index 6d4ee93..0000000 --- a/hzims-service-api/dam-safety-api/pom.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - 4.0.0 - - - com.hnac.hzinfo.data - hzinfo-data-sdk - - - - com.hnac.hzims - hzims-service-api - 4.0.0-SNAPSHOT - - - dam-safety-api - - - 8 - 8 - UTF-8 - - - \ No newline at end of file diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TBuilding.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TBuilding.java deleted file mode 100644 index 21fe57a..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TBuilding.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; - -/** - * 大坝信息表 - */ -@Data -@TableName("t_building") -public class TBuilding extends BaseEntity { - @ApiModelProperty("水库编号") - private String rscd; - @ApiModelProperty("建筑物名称") - private String name; - @ApiModelProperty("建筑物分级路径") - private String ipath; - @ApiModelProperty("简介") - private String brief; - @ApiModelProperty("图片地址") - private String attach; - @ApiModelProperty("文件地址") - private String filePath; - - //大坝信息 - @ApiModelProperty("坝类型") - private String type;//坝类型 - @ApiModelProperty("地址") - private String address;//地址 - @ApiModelProperty("坝高") - private BigDecimal damHeight;//坝高 - -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TProjInfo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TProjInfo.java deleted file mode 100644 index 0670671..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TProjInfo.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.util.Date; - -/** - * 工程物信息表 - */ -@Data -@TableName("t_projinfo") -@EqualsAndHashCode(callSuper = true) -public class TProjInfo extends BaseEntity { - @ApiModelProperty("水库编码") - private String rscd; - @ApiModelProperty("工程名称") - private String projName; - @ApiModelProperty("工程编号") - private String projCode; - @ApiModelProperty("开工日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date startDate; - @ApiModelProperty("竣工日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date completeDate; - @ApiModelProperty("蓄水日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date storeWaterDate; - @ApiModelProperty("工程所在位置") - private String location; - @ApiModelProperty("备注") - private String rm; -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TSectionConfig.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TSectionConfig.java deleted file mode 100644 index 5eaf6a8..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/TSectionConfig.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.io.Serializable; -import java.math.BigDecimal; - -/** - * 大坝断面数据配置表 - */ -@Data -@TableName("t_section_config") -public class TSectionConfig implements Serializable { - @ApiModelProperty("渗流量测点编号") - @TableId(type = IdType.INPUT) - private String stcd; - @ApiModelProperty("断面编号") - private String sectionNo; - @ApiModelProperty("是否显示浸润线") - private String opinion; - @ApiModelProperty("x轴") - private BigDecimal xzhou; - @ApiModelProperty("y轴最大值") - private BigDecimal ymax; - @ApiModelProperty("y轴最小值") - private BigDecimal ymin; - @ApiModelProperty("警戒值") - private BigDecimal warm; - -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDamsB.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDamsB.java deleted file mode 100644 index a6160f2..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDamsB.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.math.BigDecimal; -import java.util.Date; - -/** - * 断面特征点信息表 - */ -@Data -@TableName("wrp_dams_b") -public class WrpDamsB{ - @ApiModelProperty("断面编号") - private String damcd; - @ApiModelProperty("特征点编号") - @TableId(type= IdType.INPUT) - private String damscd; - @ApiModelProperty("特征点名称") - private String damsnm; - @ApiModelProperty("起点距(m)") - private BigDecimal redi; - @ApiModelProperty("高程(m)") - private BigDecimal poel; - @ApiModelProperty("更新时间") - private Date dtuptm; -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrhrdsmp.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrhrdsmp.java deleted file mode 100644 index 0b165bf..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrhrdsmp.java +++ /dev/null @@ -1,56 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; -import java.util.Date; - -/** - *水平位移监测测点 - */ -@Data -@TableName("wrp_dfr_srhrdsmp") -@EqualsAndHashCode(callSuper = true) -public class WrpDfrSrhrdsmp extends BaseEntity { - @ApiModelProperty("测站编码") - private String stcd; - @ApiModelProperty("断面编号") - private String damcd; - @ApiModelProperty("测点编号") - private String mpcd; - @ApiModelProperty("桩号") - private String ch; - @ApiModelProperty("轴距") - private BigDecimal ofax; - @ApiModelProperty("高程") - private BigDecimal el; - @ApiModelProperty("基准值 X") - private BigDecimal stvlx; - @ApiModelProperty("基准值 Y") - private BigDecimal stvly; - @ApiModelProperty("位移阈值") - private BigDecimal xyhrds; - @ApiModelProperty("型式") - private String tp; - @ApiModelProperty("基础情况") - private String bsin; - @ApiModelProperty("安装日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date indt; - @ApiModelProperty("测定日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date dtdt; - @ApiModelProperty("仪器编号") - private String dvcd; - @ApiModelProperty("经度") - private BigDecimal eslg; - @ApiModelProperty("纬度") - private BigDecimal nrlt; - @ApiModelProperty("备注") - private String rm; -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrvrdsbp.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrvrdsbp.java deleted file mode 100644 index 60ee6aa..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrvrdsbp.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; -import java.util.Date; - -/** - * 监测基点表 - */ -@Data -@TableName("wrp_dfr_srvrdsbp") -@EqualsAndHashCode(callSuper = true) -public class WrpDfrSrvrdsbp extends BaseEntity { - @ApiModelProperty("水库代码") - private String rscd; - @ApiModelProperty("水工建筑物id") - private Long hycncd; - @ApiModelProperty("基点编号") - private String bpcd; - @ApiModelProperty("考证信息日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date txindt; - @ApiModelProperty("基点类型") - private String bptp; - @ApiModelProperty("桩号") - private String ch; - @ApiModelProperty("轴距") - private BigDecimal ofax; - @ApiModelProperty("高程") - private BigDecimal el; - @ApiModelProperty("型式") - private String tp; - @ApiModelProperty("基础情况") - private String bsin; - @ApiModelProperty("安装日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date indt; - @ApiModelProperty("测定日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date dtdt; - @ApiModelProperty("经度") - private BigDecimal lgtd; - @ApiModelProperty("纬度") - private BigDecimal lttd; - @ApiModelProperty("工作状态") - private String wkcn; - @ApiModelProperty("备注") - private String rm; -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrvrdsmp.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrvrdsmp.java deleted file mode 100644 index 54af217..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpDfrSrvrdsmp.java +++ /dev/null @@ -1,53 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; -import java.util.Date; - -/** - * 垂直位移监测测点 - */ -@Data -@TableName("wrp_dfr_srvrdsmp") -@EqualsAndHashCode(callSuper = true) -public class WrpDfrSrvrdsmp extends BaseEntity { - @ApiModelProperty("测站编码") - private String stcd; - @ApiModelProperty("断面编号") - private String damcd; - @ApiModelProperty("测点编号") - private String mpcd; - @ApiModelProperty("桩号") - private String ch; - @ApiModelProperty("轴距") - private BigDecimal ofax; - @ApiModelProperty("初始高程") - private BigDecimal inel; - @ApiModelProperty("位移阈值") - private BigDecimal vrds; - @ApiModelProperty("型式") - private String tp; - @ApiModelProperty("基础情况") - private String bsin; - @ApiModelProperty("安装日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date indt; - @ApiModelProperty("测定日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date dtdt; - @ApiModelProperty("仪器编号") - private String dvcd; - @ApiModelProperty("经度") - private BigDecimal eslg; - @ApiModelProperty("纬度") - private BigDecimal nrlt; - @ApiModelProperty("备注") - private String rm; - -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSectionB.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSectionB.java deleted file mode 100644 index 26b408b..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSectionB.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; - -/** - * 大坝断面信息表 - */ -@Data -@TableName("wrp_section_b") -@EqualsAndHashCode(callSuper = true) -public class WrpSectionB extends BaseEntity { - @ApiModelProperty("水库编号") - private String rscd; - @ApiModelProperty("建筑物id") - private Long buildingId; - @ApiModelProperty("断面编码") - private String damcd; - @ApiModelProperty("断面名称") - private String damnm; - @ApiModelProperty("防渗墙类型") - private String wallType; - @ApiModelProperty("断面长度") - private BigDecimal damlen; - @ApiModelProperty("断面宽度") - private BigDecimal damwd; - @ApiModelProperty("备注") - private String rm; - @ApiModelProperty("预留字段") - private String text; - @ApiModelProperty("图片地址") - private String attach; -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgPztb.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgPztb.java deleted file mode 100644 index 4ed8686..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgPztb.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; - -/** - * 测压管测点 - */ -@Data -@TableName("wrp_spg_pztb") -@EqualsAndHashCode(callSuper = true) -public class WrpSpgPztb extends BaseEntity { - @ApiModelProperty("测站编码") - private String stcd; - @ApiModelProperty("测点编号") - private String mpcd; - @ApiModelProperty("断面编号") - private String damcd; - @ApiModelProperty("桩号") - private String ch; - @ApiModelProperty("坝轴距") - private BigDecimal ofax; - @ApiModelProperty("监测部位") - private String msps; - - @ApiModelProperty("监测类型") - private String mstp; - @ApiModelProperty("安装高程") - private BigDecimal el; - @ApiModelProperty("进水段底高程") - private BigDecimal ipbtel; - @ApiModelProperty("进水段顶高程") - private BigDecimal iptpel; - @ApiModelProperty("管口高程") - private BigDecimal tbtpel; - @ApiModelProperty("管底高程") - private BigDecimal tbbtel; - @ApiModelProperty("水位阈值高程") - private BigDecimal pztbtel; - - @ApiModelProperty("仪器编号") - private String dvcd; - @ApiModelProperty("经度") - private BigDecimal eslg; - @ApiModelProperty("纬度") - private BigDecimal nrlt; - @ApiModelProperty("备注") - private String rm; - - - -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgSpprmp.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgSpprmp.java deleted file mode 100644 index b9ed7aa..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgSpprmp.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; -import java.util.Date; - -/** - * 渗流压力测点信息表 - */ -@Data -@TableName("wrp_spg_spprmp") -@EqualsAndHashCode(callSuper = true) -public class WrpSpgSpprmp extends BaseEntity { - @ApiModelProperty("测站编码") - private String stcd; - @ApiModelProperty("断面编码") - private String damcd; - @ApiModelProperty("测点编号") - private String mpcd; - @ApiModelProperty("考证信息日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date txindt; - @ApiModelProperty("桩号") - private String ch; - @ApiModelProperty("轴距") - private BigDecimal ofax; - @ApiModelProperty("高程") - private BigDecimal el; - @ApiModelProperty("监测类型") - private String mstp; - @ApiModelProperty("透水段底高程") - private BigDecimal pmbtel; - @ApiModelProperty("透水段顶高程") - private BigDecimal pmtpel; - @ApiModelProperty("安装日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date indt; - @ApiModelProperty("仪器出厂编号") - private String dvfccd; - @ApiModelProperty("工作状态") - private String wkcn; - @ApiModelProperty("备注") - private String rm; - - -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgSpqnmp.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgSpqnmp.java deleted file mode 100644 index d6a47ae..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/entity/WrpSpgSpqnmp.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.hnac.hzims.damsafety.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; -import java.util.Date; - -/** - * 渗流量测点 - */ -@Data -@TableName("wrp_spg_spqnmp") -@EqualsAndHashCode(callSuper = true) -public class WrpSpgSpqnmp extends BaseEntity { - @ApiModelProperty("测站编码") - private String stcd; - @ApiModelProperty("测点编号") - private String mpcd; - @ApiModelProperty("断面编号") - private String damcd; - @ApiModelProperty("桩号") - private String ch; - @ApiModelProperty("轴距") - private BigDecimal ofax; - @ApiModelProperty("高程") - private BigDecimal el; - @ApiModelProperty("渗流阈值") - private BigDecimal spprwl; - @ApiModelProperty("安装日期") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date indt; - @ApiModelProperty("仪器编号") - private String dvcd; - @ApiModelProperty("经度") - private BigDecimal eslg; - @ApiModelProperty("纬度") - private BigDecimal nrlt; - @ApiModelProperty("备注") - private String rm; -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/feign/IWrpSectionBClient.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/feign/IWrpSectionBClient.java deleted file mode 100644 index 874e072..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/feign/IWrpSectionBClient.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.hnac.hzims.damsafety.feign; - -import com.hnac.hzims.damsafety.vo.WrpSectionBVO; -import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; -import org.springblade.core.tool.api.R; -import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.web.bind.annotation.GetMapping; - -import java.util.List; -import java.util.Map; - -@FeignClient( - value = "dam-safety", - url = "${feign.dam-safety:}" -) -public interface IWrpSectionBClient { - String API_PREFIX = "/wrpSectionBClient"; - String LIST = API_PREFIX + "/list"; - String GET_REAL_DATA = API_PREFIX + "/getRealData"; - - /** - * 获取断面列表 - * - * @return - */ - @GetMapping(LIST) - R> list(Map param); - - @GetMapping(GET_REAL_DATA) - R> getRealData(String deviceCode); -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/TBuildingVo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/TBuildingVo.java deleted file mode 100644 index c61c0e5..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/TBuildingVo.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - - -import com.hnac.hzims.damsafety.entity.TBuilding; - -public class TBuildingVo extends TBuilding { - -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/TProjInfoVo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/TProjInfoVo.java deleted file mode 100644 index 96ccab5..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/TProjInfoVo.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - - -import com.hnac.hzims.damsafety.entity.TProjInfo; - -public class TProjInfoVo extends TProjInfo { - -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrhrdsmpVo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrhrdsmpVo.java deleted file mode 100644 index 23143d7..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrhrdsmpVo.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrhrdsmp; - -public class WrpDfrSrhrdsmpVo extends WrpDfrSrhrdsmp { - -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrvrdsbpVo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrvrdsbpVo.java deleted file mode 100644 index 755bb19..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrvrdsbpVo.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; - -public class WrpDfrSrvrdsbpVo extends WrpDfrSrvrdsbp { -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrvrdsmpVo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrvrdsmpVo.java deleted file mode 100644 index 8511d94..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpDfrSrvrdsmpVo.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsmp; - -public class WrpDfrSrvrdsmpVo extends WrpDfrSrvrdsmp { -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSectionBVO.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSectionBVO.java deleted file mode 100644 index 04ab4ad..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSectionBVO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; -import com.hnac.hzims.damsafety.entity.WrpSectionB; -import lombok.Data; -import lombok.EqualsAndHashCode; - - -import java.util.List; - -@Data -@EqualsAndHashCode(callSuper = true) -public class WrpSectionBVO extends WrpSectionB { - //测点集合 - private List points; -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgPztbVo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgPztbVo.java deleted file mode 100644 index b6bfa5e..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgPztbVo.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - - -import com.hnac.hzims.damsafety.entity.WrpSpgPztb; - -public class WrpSpgPztbVo extends WrpSpgPztb { -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgSpprmpVo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgSpprmpVo.java deleted file mode 100644 index 902d0e8..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgSpprmpVo.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - - -import com.hnac.hzims.damsafety.entity.WrpSpgSpprmp; - -public class WrpSpgSpprmpVo extends WrpSpgSpprmp { -} diff --git a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgSpqnmpVo.java b/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgSpqnmpVo.java deleted file mode 100644 index 269abd7..0000000 --- a/hzims-service-api/dam-safety-api/src/main/java/com/hnac/hzims/damsafety/vo/WrpSpgSpqnmpVo.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.vo; - - -import com.hnac.hzims.damsafety.entity.WrpSpgSpqnmp; - -public class WrpSpgSpqnmpVo extends WrpSpgSpqnmp { -} diff --git a/hzims-service-api/digital-twin-display-api/pom.xml b/hzims-service-api/digital-twin-display-api/pom.xml deleted file mode 100644 index 0ca55dc..0000000 --- a/hzims-service-api/digital-twin-display-api/pom.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service-api - 4.0.0-SNAPSHOT - - - - digital-twin-display-api - jar - ${hzims.project.version} - - - 8 - 8 - UTF-8 - - - \ No newline at end of file diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/entity/StationEntity.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/entity/StationEntity.java index 30bd222..fbad1fb 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/entity/StationEntity.java +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/entity/StationEntity.java @@ -21,7 +21,6 @@ import javax.validation.constraints.NotNull; import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; -import java.util.List; @EqualsAndHashCode(callSuper = true) @Data @@ -76,10 +75,10 @@ public class StationEntity extends TenantEntity implements Serializable { private String name; @DateTimeFormat( - pattern = "yyyy-MM-dd HH:mm:ss" + pattern = "yyyy-MM-dd HH:mm:ss" ) @JsonFormat( - pattern = "yyyy-MM-dd HH:mm:ss" + pattern = "yyyy-MM-dd HH:mm:ss" ) @ApiModelProperty("投运时间,用于计算安全运行天数") @TableField(updateStrategy = FieldStrategy.IGNORED) @@ -175,48 +174,7 @@ public class StationEntity extends TenantEntity implements Serializable { @TableField(updateStrategy = FieldStrategy.IGNORED) private Boolean isAbroad; - - - /** - * 生态流量泄放设施 - */ - private String dischargeFacilities; - - /** - * 监测方式 - */ - private String monitoringMode; - - - /** - * 是否绿色小水电示范电站 0 否 1 是 - */ - private Boolean isPowerStation; - - - /** - * 核定值 - */ - private Float discharge; - - - /** - * 图片 list - */ - @TableField(exist = false) - private List imageStationList; - - - /** - * 视频 list - */ - @TableField(exist = false) - private List videoStationList; - - - /** - * 文件 list - */ - @TableField(exist = false) - private List fileStationList; + @QueryField(condition = SqlCondition.EQUAL) + @ApiModelProperty("是否归属中国") + private String refCountry; } diff --git a/hzims-service-api/pom.xml b/hzims-service-api/pom.xml index 6fc1e55..397a172 100644 --- a/hzims-service-api/pom.xml +++ b/hzims-service-api/pom.xml @@ -27,12 +27,6 @@ weather-api common-api middle-api - base-info-api - digital-twin-display-api - dam-safety-api - video-image-api - water-quality-api - water-rain-api diff --git a/hzims-service-api/video-image-api/pom.xml b/hzims-service-api/video-image-api/pom.xml deleted file mode 100644 index b05af54..0000000 --- a/hzims-service-api/video-image-api/pom.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service-api - 4.0.0-SNAPSHOT - - - video-image-api - - - 8 - 8 - UTF-8 - - - \ No newline at end of file diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageConfig.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageConfig.java deleted file mode 100644 index 966b016..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageConfig.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.hnac.hzims.videoimage.entity; - -import io.swagger.annotations.ApiParam; -import lombok.Data; - -@Data -public class ImageConfig { - private Long id; - - private String stcd; - - private String name; - - @ApiParam(value="配置参数中的type有两种:0 代表常量数据, 1代表热点数据") - private String type; - - private String realid;//旧版本的实时数据id - - private String deviceCode;//分析模型code 获取实时数据 - - private Integer dataSource; - - private String code;//属性编码 - - private String value; - - private String unit; - -} \ No newline at end of file diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageConfigExample.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageConfigExample.java deleted file mode 100644 index 2e1905e..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageConfigExample.java +++ /dev/null @@ -1,680 +0,0 @@ -package com.hnac.hzims.videoimage.entity; - -import java.util.ArrayList; -import java.util.List; - -public class ImageConfigExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public ImageConfigExample() { - oredCriteria = new ArrayList(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("ID is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("ID is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("ID =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("ID <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("ID >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("ID >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("ID <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("ID <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("ID in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("ID not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("ID between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("ID not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andStcdIsNull() { - addCriterion("STCD is null"); - return (Criteria) this; - } - - public Criteria andStcdIsNotNull() { - addCriterion("STCD is not null"); - return (Criteria) this; - } - - public Criteria andStcdEqualTo(String value) { - addCriterion("STCD =", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotEqualTo(String value) { - addCriterion("STCD <>", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThan(String value) { - addCriterion("STCD >", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThanOrEqualTo(String value) { - addCriterion("STCD >=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThan(String value) { - addCriterion("STCD <", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThanOrEqualTo(String value) { - addCriterion("STCD <=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLike(String value) { - addCriterion("STCD like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotLike(String value) { - addCriterion("STCD not like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdIn(List values) { - addCriterion("STCD in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotIn(List values) { - addCriterion("STCD not in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdBetween(String value1, String value2) { - addCriterion("STCD between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotBetween(String value1, String value2) { - addCriterion("STCD not between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("NAME is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("NAME is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("NAME =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("NAME <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("NAME >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("NAME >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("NAME <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("NAME <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("NAME like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("NAME not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("NAME in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("NAME not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("NAME between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("NAME not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("TYPE is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("TYPE is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(String value) { - addCriterion("TYPE =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(String value) { - addCriterion("TYPE <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(String value) { - addCriterion("TYPE >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(String value) { - addCriterion("TYPE >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(String value) { - addCriterion("TYPE <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(String value) { - addCriterion("TYPE <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLike(String value) { - addCriterion("TYPE like", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotLike(String value) { - addCriterion("TYPE not like", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("TYPE in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("TYPE not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(String value1, String value2) { - addCriterion("TYPE between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(String value1, String value2) { - addCriterion("TYPE not between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andRealidIsNull() { - addCriterion("REALID is null"); - return (Criteria) this; - } - - public Criteria andRealidIsNotNull() { - addCriterion("REALID is not null"); - return (Criteria) this; - } - - public Criteria andRealidEqualTo(String value) { - addCriterion("REALID =", value, "realid"); - return (Criteria) this; - } - - public Criteria andRealidNotEqualTo(String value) { - addCriterion("REALID <>", value, "realid"); - return (Criteria) this; - } - - public Criteria andRealidGreaterThan(String value) { - addCriterion("REALID >", value, "realid"); - return (Criteria) this; - } - - public Criteria andRealidGreaterThanOrEqualTo(String value) { - addCriterion("REALID >=", value, "realid"); - return (Criteria) this; - } - - public Criteria andRealidLessThan(String value) { - addCriterion("REALID <", value, "realid"); - return (Criteria) this; - } - - public Criteria andRealidLessThanOrEqualTo(String value) { - addCriterion("REALID <=", value, "realid"); - return (Criteria) this; - } - - public Criteria andRealidLike(String value) { - addCriterion("REALID like", value, "realid"); - return (Criteria) this; - } - - public Criteria andRealidNotLike(String value) { - addCriterion("REALID not like", value, "realid"); - return (Criteria) this; - } - - public Criteria andRealidIn(List values) { - addCriterion("REALID in", values, "realid"); - return (Criteria) this; - } - - public Criteria andRealidNotIn(List values) { - addCriterion("REALID not in", values, "realid"); - return (Criteria) this; - } - - public Criteria andRealidBetween(String value1, String value2) { - addCriterion("REALID between", value1, value2, "realid"); - return (Criteria) this; - } - - public Criteria andRealidNotBetween(String value1, String value2) { - addCriterion("REALID not between", value1, value2, "realid"); - return (Criteria) this; - } - - public Criteria andValueIsNull() { - addCriterion("VALUE is null"); - return (Criteria) this; - } - - public Criteria andValueIsNotNull() { - addCriterion("VALUE is not null"); - return (Criteria) this; - } - - public Criteria andValueEqualTo(String value) { - addCriterion("VALUE =", value, "value"); - return (Criteria) this; - } - - public Criteria andValueNotEqualTo(String value) { - addCriterion("VALUE <>", value, "value"); - return (Criteria) this; - } - - public Criteria andValueGreaterThan(String value) { - addCriterion("VALUE >", value, "value"); - return (Criteria) this; - } - - public Criteria andValueGreaterThanOrEqualTo(String value) { - addCriterion("VALUE >=", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLessThan(String value) { - addCriterion("VALUE <", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLessThanOrEqualTo(String value) { - addCriterion("VALUE <=", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLike(String value) { - addCriterion("VALUE like", value, "value"); - return (Criteria) this; - } - - public Criteria andValueNotLike(String value) { - addCriterion("VALUE not like", value, "value"); - return (Criteria) this; - } - - public Criteria andValueIn(List values) { - addCriterion("VALUE in", values, "value"); - return (Criteria) this; - } - - public Criteria andValueNotIn(List values) { - addCriterion("VALUE not in", values, "value"); - return (Criteria) this; - } - - public Criteria andValueBetween(String value1, String value2) { - addCriterion("VALUE between", value1, value2, "value"); - return (Criteria) this; - } - - public Criteria andValueNotBetween(String value1, String value2) { - addCriterion("VALUE not between", value1, value2, "value"); - return (Criteria) this; - } - - public Criteria andUnitIsNull() { - addCriterion("UNIT is null"); - return (Criteria) this; - } - - public Criteria andUnitIsNotNull() { - addCriterion("UNIT is not null"); - return (Criteria) this; - } - - public Criteria andUnitEqualTo(String value) { - addCriterion("UNIT =", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotEqualTo(String value) { - addCriterion("UNIT <>", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitGreaterThan(String value) { - addCriterion("UNIT >", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitGreaterThanOrEqualTo(String value) { - addCriterion("UNIT >=", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLessThan(String value) { - addCriterion("UNIT <", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLessThanOrEqualTo(String value) { - addCriterion("UNIT <=", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLike(String value) { - addCriterion("UNIT like", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotLike(String value) { - addCriterion("UNIT not like", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitIn(List values) { - addCriterion("UNIT in", values, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotIn(List values) { - addCriterion("UNIT not in", values, "unit"); - return (Criteria) this; - } - - public Criteria andUnitBetween(String value1, String value2) { - addCriterion("UNIT between", value1, value2, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotBetween(String value1, String value2) { - addCriterion("UNIT not between", value1, value2, "unit"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageInfo.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageInfo.java deleted file mode 100644 index 5ddd835..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageInfo.java +++ /dev/null @@ -1,60 +0,0 @@ -package com.hnac.hzims.videoimage.entity; - -import com.fasterxml.jackson.annotation.JsonFormat; -import org.springframework.format.annotation.DateTimeFormat; - -import java.util.Date; - -public class ImageInfo { - private Long id; - - private String stcd; - - @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") - @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") - private Date time; - - private String data; - - private String manualpath; - - public String getManualpath() { - return manualpath; - } - - public void setManualpath(String manualpath) { - this.manualpath = manualpath; - } - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getStcd() { - return stcd; - } - - public void setStcd(String stcd) { - this.stcd = stcd == null ? null : stcd.trim(); - } - - public Date getTime() { - return time; - } - - public void setTime(Date time) { - this.time = time; - } - - public String getData() { - return data; - } - - public void setData(String data) { - this.data = data; - } -} \ No newline at end of file diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageInfoExample.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageInfoExample.java deleted file mode 100644 index 0ad64f0..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImageInfoExample.java +++ /dev/null @@ -1,391 +0,0 @@ -package com.hnac.hzims.videoimage.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class ImageInfoExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public ImageInfoExample() { - oredCriteria = new ArrayList(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("ID is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("ID is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("ID =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("ID <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("ID >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("ID >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("ID <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("ID <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("ID in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("ID not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("ID between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("ID not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andStcdIsNull() { - addCriterion("STCD is null"); - return (Criteria) this; - } - - public Criteria andStcdIsNotNull() { - addCriterion("STCD is not null"); - return (Criteria) this; - } - - public Criteria andStcdEqualTo(String value) { - addCriterion("STCD =", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotEqualTo(String value) { - addCriterion("STCD <>", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThan(String value) { - addCriterion("STCD >", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdGreaterThanOrEqualTo(String value) { - addCriterion("STCD >=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThan(String value) { - addCriterion("STCD <", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLessThanOrEqualTo(String value) { - addCriterion("STCD <=", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdLike(String value) { - addCriterion("STCD like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotLike(String value) { - addCriterion("STCD not like", value, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdIn(List values) { - addCriterion("STCD in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotIn(List values) { - addCriterion("STCD not in", values, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdBetween(String value1, String value2) { - addCriterion("STCD between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andStcdNotBetween(String value1, String value2) { - addCriterion("STCD not between", value1, value2, "stcd"); - return (Criteria) this; - } - - public Criteria andTimeIsNull() { - addCriterion("TIME is null"); - return (Criteria) this; - } - - public Criteria andTimeIsNotNull() { - addCriterion("TIME is not null"); - return (Criteria) this; - } - - public Criteria andTimeEqualTo(Date value) { - addCriterion("TIME =", value, "time"); - return (Criteria) this; - } - - public Criteria andTimeNotEqualTo(Date value) { - addCriterion("TIME <>", value, "time"); - return (Criteria) this; - } - - public Criteria andTimeGreaterThan(Date value) { - addCriterion("TIME >", value, "time"); - return (Criteria) this; - } - - public Criteria andTimeGreaterThanOrEqualTo(Date value) { - addCriterion("TIME >=", value, "time"); - return (Criteria) this; - } - - public Criteria andTimeLessThan(Date value) { - addCriterion("TIME <", value, "time"); - return (Criteria) this; - } - - public Criteria andTimeLessThanOrEqualTo(Date value) { - addCriterion("TIME <=", value, "time"); - return (Criteria) this; - } - - public Criteria andTimeIn(List values) { - addCriterion("TIME in", values, "time"); - return (Criteria) this; - } - - public Criteria andTimeNotIn(List values) { - addCriterion("TIME not in", values, "time"); - return (Criteria) this; - } - - public Criteria andTimeBetween(Date value1, Date value2) { - addCriterion("TIME between", value1, value2, "time"); - return (Criteria) this; - } - - public Criteria andTimeNotBetween(Date value1, Date value2) { - addCriterion("TIME not between", value1, value2, "time"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImagePoint.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImagePoint.java deleted file mode 100644 index 3cf3098..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImagePoint.java +++ /dev/null @@ -1,105 +0,0 @@ -package com.hnac.hzims.videoimage.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import org.springblade.core.mp.base.BaseEntity; - -import java.math.BigDecimal; - -@TableName("image_point") -public class ImagePoint extends BaseEntity { - private String stcd; - - private Integer pno; - - private String stnm; - - private Double lgtd; - - private Double ltid; - - private String address; - - private String remark; - - private String defaultimagepath; - - private Integer open; - - public String getStcd() { - return stcd; - } - - public void setStcd(String stcd) { - this.stcd = stcd == null ? null : stcd.trim(); - } - - public Integer getOpen() { - return open; - } - - public void setOpen(Integer open) { - this.open = open; - } - - public Integer getPno() { - return pno; - } - - public void setPno(Integer pno) { - this.pno = pno; - } - - public String getStnm() { - return stnm; - } - - public void setStnm(String stnm) { - this.stnm = stnm == null ? null : stnm.trim(); - } - - public Double getLgtd() { - return lgtd; - } - - public void setLgtd(Double lgtd) { - if(lgtd!=null){ - lgtd = new BigDecimal(lgtd).setScale(6,BigDecimal.ROUND_CEILING).doubleValue(); - } - this.lgtd = lgtd; - } - - public Double getLtid() { - return ltid; - } - - public void setLtid(Double ltid) { - if(ltid!=null){ - ltid = new BigDecimal(ltid).setScale(6,BigDecimal.ROUND_CEILING).doubleValue(); - } - this.ltid = ltid; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address == null ? null : address.trim(); - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - public String getDefaultimagepath() { - return defaultimagepath; - } - - public void setDefaultimagepath(String defaultimagepath) { - this.defaultimagepath = defaultimagepath == null ? null : defaultimagepath.trim(); - } -} \ No newline at end of file diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImagePointRelateInfo.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImagePointRelateInfo.java deleted file mode 100644 index 19af260..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/entity/ImagePointRelateInfo.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.hnac.hzims.videoimage.entity; - -import java.util.List; - -public class ImagePointRelateInfo extends ImagePoint{ - - //属性配置 - private List imageConfigs; - - //最新快照图片,只有一张 - private ImageInfo newestImageInfo; - - public List getImageConfigs() { - return imageConfigs; - } - - public void setImageConfigs(List imageConfigs) { - this.imageConfigs = imageConfigs; - } - - public ImageInfo getNewestImageInfo() { - return newestImageInfo; - } - - public void setNewestImageInfo(ImageInfo newestImageInfo) { - this.newestImageInfo = newestImageInfo; - } - - - - - - -} diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/util/Constants.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/util/Constants.java deleted file mode 100644 index d53152c..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/util/Constants.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.hnac.hzims.videoimage.util; - -public class Constants { - - //传入空对象 - public static final int ERROR_CODE_EMPTY_OBJ = -1000; - //定义测站设备编码重复 - public static final int ERROR_CODE_DUPLICATE_STCB = -100; - //定义测站设备名称重复 - public static final int ERROR_CODE_DUPLICATE_STNM = -101; - //定义逻辑删除 - public static final Boolean DELETED = true; - //定义逻辑删除 - public static final Boolean NOT_DELETED = false; - //定义没有找到删除的记录 - public static final int ERROR_CODE_DELETE_ITEM_NOT_FOUND = -102; - //定义给同一个设备配置属性名称重复 - public static final int ERROR_CODE_DUPLICATE_DEVICE_ATTRIBUTE = -103; - //定义配置属性数据无效 - public static final int ERROR_CODE_LACK_NECESSARY_DATA = -104; - //定义测站属性数据类型 - public static final String CONSTANT_TYPE = "0"; - public static final String REAL_DATA_TYPE = "1"; - //定义更新测站设备不存在 - public static final int ERROR_CODE_UPDATE_DEVICE_NOT_EXIST = -105; - //未传递时间参数 - public static final int ERROR_CODE_NO_TIME = -106; - //已经存在同一个时刻的手动上传图片 - public static final int ERROR_CODE_DUPLICATE_MANUAL_TIME = -107; - - -} \ No newline at end of file diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/util/ConvertUtils.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/util/ConvertUtils.java deleted file mode 100644 index 26428f1..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/util/ConvertUtils.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.hnac.hzims.videoimage.util; - - -public class ConvertUtils { - - public static String errorCodeToMsg(int errorCode) { - String msg = ""; - switch (errorCode) { - case Constants.ERROR_CODE_EMPTY_OBJ: - msg = "空对象操作"; - break; - case Constants.ERROR_CODE_DUPLICATE_STCB: - msg = "设备编号重复"; - break; - case Constants.ERROR_CODE_DUPLICATE_STNM: - msg = "设备名称重复"; - break; - case Constants.ERROR_CODE_DELETE_ITEM_NOT_FOUND: - msg = "删除记录没有找到"; - break; - case Constants.ERROR_CODE_DUPLICATE_DEVICE_ATTRIBUTE: - msg = "配置属性名称重复"; - break; - case Constants.ERROR_CODE_LACK_NECESSARY_DATA: - msg = "缺少必要数据"; - break; - case Constants.ERROR_CODE_UPDATE_DEVICE_NOT_EXIST: - msg = "更新测站设备不存在"; - break; - case Constants.ERROR_CODE_NO_TIME: - msg = "请传入时间参数"; - break; - case Constants.ERROR_CODE_DUPLICATE_MANUAL_TIME: - msg = "已经存在当前时刻的手动上传图片"; - break; - default: - msg = "未知错误"; - break; - } - - return msg; - } -} diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/vo/ImageInfoVo.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/vo/ImageInfoVo.java deleted file mode 100644 index 8530c6f..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/vo/ImageInfoVo.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hnac.hzims.videoimage.vo; - -import lombok.Data; -import com.hnac.hzims.videoimage.entity.ImageConfig; -import com.hnac.hzims.videoimage.entity.ImageInfo; - -import java.util.List; - -@Data -public class ImageInfoVo extends ImageInfo { - List list; -} diff --git a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/vo/ImagePointVo.java b/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/vo/ImagePointVo.java deleted file mode 100644 index 7094f81..0000000 --- a/hzims-service-api/video-image-api/src/main/java/com/hnac/hzims/videoimage/vo/ImagePointVo.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.hnac.hzims.videoimage.vo; - -import com.hnac.hzims.videoimage.entity.ImagePoint; - -public class ImagePointVo extends ImagePoint { - private String deptName; - - public String getDeptName() { - return deptName; - } - - public void setDeptName(String deptName) { - this.deptName = deptName; - } -} diff --git a/hzims-service-api/water-quality-api/pom.xml b/hzims-service-api/water-quality-api/pom.xml deleted file mode 100644 index c203bd2..0000000 --- a/hzims-service-api/water-quality-api/pom.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service-api - 4.0.0-SNAPSHOT - - - water-quality-api - - - 8 - 8 - UTF-8 - - - \ No newline at end of file diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqConfigD.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqConfigD.java deleted file mode 100644 index c69e21a..0000000 --- a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqConfigD.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.hnac.hzims.waterquality.entity; - -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.io.Serializable; - -/** - *水质监测指标配置 - */ -@Data -@TableName("wq_config_d") -public class WqConfigD implements Serializable { - @ApiModelProperty("测站编码") - @TableId(type=IdType.INPUT) - private String stcd; - @ApiModelProperty("指标类型") - private String type; - @ApiModelProperty("指标值") - private String value; -} diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWfrinfB.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWfrinfB.java deleted file mode 100644 index 6cd688b..0000000 --- a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWfrinfB.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.hnac.hzims.waterquality.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - - -/** - *水功能区基本信息 - */ -@Data -@TableName("wq_wfrinf_b") -@EqualsAndHashCode(callSuper = true) -public class WqWfrinfB extends BaseEntity { - @ApiModelProperty("水功能区代码") - private String wfrcd; - @ApiModelProperty("水功能区名称") - private String wfrnm; - @ApiModelProperty("流域名称") - private String bsnm; - @ApiModelProperty("水系名称") - private String hnnm; - @ApiModelProperty("河流名称") - private String rvnm; - @ApiModelProperty("水功能区起始断面名称") - private String wfrscsnm; - @ApiModelProperty("水功能区起始断面经度") - private Double wfrscslgtd; - @ApiModelProperty("水功能区起始断面纬度") - private Double wfrscslttd; - @ApiModelProperty("水功能区终止断面名称") - private String wfrecsnm; - @ApiModelProperty("水功能区终止断面经度") - private Double wfrecslgtd; - @ApiModelProperty("水功能区终止断面纬度") - private Double wfrecslttd; - - @ApiModelProperty("行政区划码") - private String addvcd; - @ApiModelProperty("水功能区长度") - private Double wfrln; - @ApiModelProperty("水功能区库容") - private Double wfrrc; - @ApiModelProperty("水功能区面积") - private Double wfrar; - @ApiModelProperty("水功能区水质目标") - private String wfrwqt; - @ApiModelProperty("水功能区功能排序") - private String wfrwfo; - @ApiModelProperty("备注") - private String nt; -} diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWqsinfB.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWqsinfB.java deleted file mode 100644 index 96c7c70..0000000 --- a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWqsinfB.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.hnac.hzims.waterquality.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.EqualsAndHashCode; -import org.springblade.core.mp.base.BaseEntity; - -import java.util.Date; - -/** - *水质监测站 - */ -@Data -@TableName("wq_wqsinf_b") -@EqualsAndHashCode(callSuper = true) -public class WqWqsinfB extends BaseEntity { - @ApiModelProperty("测站编码") - private String stcd; - @ApiModelProperty("测站名称") - private String stnm; - @ApiModelProperty("测站等级") - private String stgrd; - @ApiModelProperty("流域名称") - private String bsnm; - @ApiModelProperty("水系名称") - private String hnnm; - @ApiModelProperty("河流名称") - private String rvnm; - @ApiModelProperty("经度") - private Double lgtd; - @ApiModelProperty("纬度") - private Double lttd; - @ApiModelProperty("站址") - private String stlc; - @ApiModelProperty("行政区划码") - private String addvcd; - @ApiModelProperty("水资源分区码") - private String wrrcd; - @ApiModelProperty("水功能区划码") - private String wfrcd; - @ApiModelProperty("管理单位") - private String adag; - @ApiModelProperty("监测单位") - private String mnag; - @ApiModelProperty("监测频次") - private Integer mnfrq; - @ApiModelProperty("自动监测") - private Integer atmn; - @ApiModelProperty("建站年月") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date esstym; - @ApiModelProperty("撤站年月") - @JsonFormat(pattern = "yyyy-MM-dd") - private Date wdstym; - @ApiModelProperty("备注") - private String nt; -} diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWrrinfB.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWrrinfB.java deleted file mode 100644 index b09563b..0000000 --- a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWrrinfB.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.hnac.hzims.waterquality.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import org.springblade.core.mp.base.BaseEntity; - - -/** - * 水资源分区基本信息 - */ -@Data -@TableName("wq_wrrinf_b") -public class WqWrrinfB extends BaseEntity { - @ApiModelProperty("水资源分区码") - private String wrrcd; - @ApiModelProperty("水资源分区名称") - private String wrrnm; - @ApiModelProperty("水资源分区面积") - private Double wrr5r; - -} diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/feign/IWqWqsinfBClient.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/feign/IWqWqsinfBClient.java deleted file mode 100644 index a80f5c4..0000000 --- a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/feign/IWqWqsinfBClient.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright Example, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * Example, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the dreamlu.net developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: Chill 庄骞 (smallchill@163.com) - */ -package com.hnac.hzims.waterquality.feign; - -import com.hnac.hzims.waterquality.vo.WqWqsinfBVo; -import org.springblade.core.launch.constant.AppConstant; -import org.springblade.core.tool.api.R; -import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestParam; - -import java.util.List; - -/** - * Example Feign接口类 - * - * @author Chill - */ -@FeignClient( - value = AppConstant.APPLICATION_DESK_NAME -) -public interface IWqWqsinfBClient { - - String API_PREFIX = "/wqWqsinfBClient"; - String LIST = API_PREFIX + "/list"; - - /** - * 获取Example列表 - * - * @param number - * @return - */ - @GetMapping(LIST) - R> list(@RequestParam("number") Integer number); - -} diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/vo/WqWqsinfBVo.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/vo/WqWqsinfBVo.java deleted file mode 100644 index 9d05b72..0000000 --- a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/vo/WqWqsinfBVo.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.waterquality.vo; - - -import com.hnac.hzims.waterquality.entity.WqWqsinfB; - -public class WqWqsinfBVo extends WqWqsinfB { -} diff --git a/hzims-service-api/water-rain-api/pom.xml b/hzims-service-api/water-rain-api/pom.xml deleted file mode 100644 index a919a96..0000000 --- a/hzims-service-api/water-rain-api/pom.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service-api - 4.0.0-SNAPSHOT - - - water-rain-api - - - 8 - 8 - UTF-8 - - - \ No newline at end of file diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/bo/StationResp.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/bo/StationResp.java deleted file mode 100644 index 2691c22..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/bo/StationResp.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.hnac.hzims.waterrain.bo; - - -import com.hnac.hzims.waterrain.entity.StStbprpB; - -public class StationResp { - private StStbprpB stStbprpB; - - private Object obj; - - public StStbprpB getStStbprpB() { - return stStbprpB; - } - - public void setStStbprpB(StStbprpB stStbprpB) { - this.stStbprpB = stStbprpB; - } - - public Object getObj() { - return obj; - } - - public void setObj(Object obj) { - this.obj = obj; - } -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStPptnR.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStPptnR.java deleted file mode 100644 index dda2d53..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStPptnR.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hnac.hzims.waterrain.entity; - -import lombok.Data; - -import java.io.Serializable; -import java.util.Date; - -@Data -public class HzStPptnR implements Serializable { - private String stcd; - private Date tm; - private Double drp; -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStRiverR.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStRiverR.java deleted file mode 100644 index d69750a..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStRiverR.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.hnac.hzims.waterrain.entity; - -import lombok.Data; - -import java.io.Serializable; -import java.util.Date; - -@Data -public class HzStRiverR implements Serializable { - private String stcd; - private Date tm; - private Double z; - private Double q; -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStRsvrR.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStRsvrR.java deleted file mode 100644 index feb5928..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/HzStRsvrR.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.hnac.hzims.waterrain.entity; - -import lombok.Data; - -import java.io.Serializable; -import java.util.Date; - -@Data -public class HzStRsvrR implements Serializable { - private String stcd;//测站编码 - private Date tm;//时间 - private Double rz; //水位 - private Double inq;//流量 -} - diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/ReorganizeData.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/ReorganizeData.java deleted file mode 100644 index fee68a4..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/ReorganizeData.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.hnac.hzims.waterrain.entity; - -import lombok.Data; - -import java.util.List; -import java.util.Map; - -@Data -public class ReorganizeData { - private String yearMonth; - private String stcd; - private String sttp; - private List> data; -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/ReorganizeLog.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/ReorganizeLog.java deleted file mode 100644 index 355fb4a..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/ReorganizeLog.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hnac.hzims.waterrain.entity; - -import lombok.Data; - -import java.io.Serializable; - -@Data -public class ReorganizeLog implements Serializable { - private String stcd; - private String yearMonth; - private String operateUser; - private String checkUser; -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/StStbprpB.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/StStbprpB.java deleted file mode 100644 index 5c8fb95..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/entity/StStbprpB.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.hnac.hzims.waterrain.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import org.springblade.core.mp.base.BaseEntity; - -/** - * 水雨情测站信息表 - */ -@Data -@TableName("st_stbprp_b") -public class StStbprpB extends BaseEntity { - @ApiModelProperty("机构id") - private String orgId; - @ApiModelProperty("河流id") - private String rvid; - @ApiModelProperty("水系id") - private String hnid; - @ApiModelProperty("流域id") - private String bsid; - @ApiModelProperty("测站编码") - private String stcd; - @ApiModelProperty("测站名称") - private String stnm; - @ApiModelProperty("河流名称") - private String rvnm; - @ApiModelProperty("水系名称") - private String hnnm; - @ApiModelProperty("流域名称") - private String bsnm; - @ApiModelProperty("经度(度分秒)") - private String lgtd; - @ApiModelProperty("纬度(度分秒)") - private String lttd; - @ApiModelProperty("站址") - private String stlc; - @ApiModelProperty("行政区划码") - private String addvcd; - @ApiModelProperty("基面修正基值") - private Double mdbz; - @ApiModelProperty("基面修正参数") - private Double mdpr; - @ApiModelProperty("基面名称") - private String dtmnm; - @ApiModelProperty("基面高程") - private Double dtmel; - @ApiModelProperty("站类") - private String sttp; - @ApiModelProperty("拍报段次") - private Double dfrtms; - @ApiModelProperty("拍报项目") - private String fritm; - @ApiModelProperty("报讯等级") - private String frgrd; - @ApiModelProperty("始报年月") - private String bgfrym; - @ApiModelProperty("截报年月") - private String edfrym; - @ApiModelProperty("管理机构") - private String admauth; - @ApiModelProperty("测站岸别") - private String stbk; - @ApiModelProperty("集水面积") - private Double drna; - @ApiModelProperty("拼音码") - private String phcd; - @ApiModelProperty("数值经度") - private Double nlgtd; - @ApiModelProperty("数值纬度") - private Double nlttd; - @ApiModelProperty("水库编码") - private String rscd; -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/enums/HistoryDataCalcTypeEnum.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/enums/HistoryDataCalcTypeEnum.java deleted file mode 100644 index a840f68..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/enums/HistoryDataCalcTypeEnum.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.hnac.hzims.waterrain.enums; - -public enum HistoryDataCalcTypeEnum { - ZERO(0,"整点值/最早值"), - ONE(1,"最大值"), - TWO(2,"最小值"), - THREE(3,"平均值"), - FOUR(4,"累计值/和值"), - FIVE(5,"变化值/差值"), - SIX(6,"最新值"); - - Integer strategy; - String desc; - - HistoryDataCalcTypeEnum(Integer strategy, String desc){ - this.strategy = strategy; - this.desc = desc; - } - - public Integer getStrategy() { - return strategy; - } - - public void setStrategy(Integer strategy) { - this.strategy = strategy; - } - - public String getDesc() { - return desc; - } - - public void setDesc(String desc) { - this.desc = desc; - } -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/enums/WaterFlowRainEnum.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/enums/WaterFlowRainEnum.java deleted file mode 100644 index 9858933..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/enums/WaterFlowRainEnum.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.hnac.hzims.waterrain.enums; - -public enum WaterFlowRainEnum { - RR("RR","水库水文站"), - ZZ("ZZ","河道水位站"), - ZQ("ZQ","河道水文站"), - PP("PP","雨量站"), - - LEVEL("level","水位"), - FLOW("flow","流量"), - RAIN("rain","降水"); - private String code; - private String name; - - WaterFlowRainEnum(String code,String name){ - this.code=code; - this.name=name; - } - - public String getCode() { - return code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/feign/IStStbprpBClient.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/feign/IStStbprpBClient.java deleted file mode 100644 index 13c92ea..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/feign/IStStbprpBClient.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.hnac.hzims.waterrain.feign; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.hnac.hzims.waterrain.entity.StStbprpB; -import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.web.bind.annotation.GetMapping; - -import java.util.List; - -@FeignClient( - value = "water-rain-monitor", - url = "${feign.water-rain-monitor:}" -) -public interface IStStbprpBClient { - String API_PREFIX = "/stStbprpBClient"; - String DETAIL = API_PREFIX + "/detail"; - String LIST = API_PREFIX + "/list"; - - /** - * 获取测站详情 - * @return - */ - @GetMapping(DETAIL) - StStbprpB detail(LambdaQueryWrapper wrapper); - - @GetMapping(LIST) - List list(LambdaQueryWrapper wrapper); -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/feign/IStStbprpBDataClient.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/feign/IStStbprpBDataClient.java deleted file mode 100644 index 091e381..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/feign/IStStbprpBDataClient.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.hnac.hzims.waterrain.feign; - -import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.web.bind.annotation.GetMapping; - -import java.util.Date; -import java.util.Map; - -@FeignClient( - value = "water-rain-monitor", - url = "${feign.water-rain-monitor:}" -) -public interface IStStbprpBDataClient { - String API_PREFIX = "/stStbprpBDataClient"; - String QUERYMAXORMIN = API_PREFIX + "/queryMaxOrMin"; - - @GetMapping(QUERYMAXORMIN) - Map queryMaxOrMin(String deviceCode, Date startTime, Date endTime, Integer calcType,Integer saveTimeType,Integer timeInterval, String col); -} diff --git a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/vo/StStbprpBVo.java b/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/vo/StStbprpBVo.java deleted file mode 100644 index 8d1dfb8..0000000 --- a/hzims-service-api/water-rain-api/src/main/java/com/hnac/hzims/waterrain/vo/StStbprpBVo.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.hnac.hzims.waterrain.vo; - -import com.hnac.hzims.waterrain.entity.StStbprpB; -import lombok.Data; - -@Data -public class StStbprpBVo extends StStbprpB { - private String sttpName; -} diff --git a/hzims-service/base-info/pom.xml b/hzims-service/base-info/pom.xml deleted file mode 100644 index e5e862e..0000000 --- a/hzims-service/base-info/pom.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service - 4.0.0-SNAPSHOT - - - base-info - - - 8 - 8 - UTF-8 - - - - - - com.hnac.hzims - base-info-api - ${hzims.project.version} - - - org.springblade - blade-common - - - - org.springblade - blade-core-boot - - - org.springblade - blade-starter-swagger - - - org.springblade - blade-core-test - test - - - org.springblade - blade-core-auto - provided - - - - - - com.baomidou - mybatis-plus-generator - - - - - org.apache.velocity - velocity-engine-core - 2.2 - - - - \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/BaseInfoApplication.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/BaseInfoApplication.java deleted file mode 100644 index eb1d8f3..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/BaseInfoApplication.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.hnac.hzims.baseinfo; - -import org.mybatis.spring.annotation.MapperScan; -import org.springblade.core.cloud.feign.EnableBladeFeign; -import org.springblade.core.launch.BladeApplication; -import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; -import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.context.annotation.ComponentScan; -import org.springframework.scheduling.annotation.EnableScheduling; - -//基础信息模块 电站 水库 大坝信息管理 -@EnableBladeFeign(basePackages = {"org.springblade", "com.hnac"}) -@SpringCloudApplication -@MapperScan("com.hnac.hzims.**.mapper.**") -@EnableScheduling -@ComponentScan(basePackages = {"com.hnac.hzims.*"}) -public class BaseInfoApplication extends SpringBootServletInitializer { - - - static { - System.setProperty("spring.cloud.nacos.discovery.server-addr", "http://hadoop:8848"); - System.setProperty("spring.cloud.nacos.config.server-addr", "http://hadoop:8848"); - System.setProperty("spring.cloud.nacos.username", "nacos"); - System.setProperty("spring.cloud.nacos.password", "nacos"); - } - - - public final static String APP_NAME = "base-info"; - - public static void main(String[] args) { -// System.setProperty("nacos.standalone", "true"); - BladeApplication.run(APP_NAME, BaseInfoApplication.class, args); - } - - @Override - protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { - return BladeApplication.createSpringApplicationBuilder(builder, APP_NAME, BaseInfoApplication.class); - } -} \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/IrrBIReachController.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/IrrBIReachController.java deleted file mode 100644 index e39a843..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/IrrBIReachController.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.hnac.hzims.baseinfo.controller; - - -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.baseinfo.entity.IrrBIReach; -import com.hnac.hzims.baseinfo.service.IrrBIReachService; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.ModelAttribute; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.ResponseBody; -import org.springframework.web.bind.annotation.RestController; - - -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiParam; - -@RestController -@Api(description = "河流控制器") -@RequestMapping(value = "/area/irrBIReach/info") -public class IrrBIReachController { - @Autowired - private IrrBIReachService irs; - -// @ApiOperation(notes = "加载所有河流记录,不区分站点", value = "河流列表接口") -// @RequestMapping(value = "bindIrrBIReachs", method = RequestMethod.GET) -// @ResponseBody -// public R bindIrrBIReachs(@ApiParam(value = "名称") @RequestParam(required = false) String riverName, -// @ApiParam(value = "分页参数") @ModelAttribute PageParam pageParam) { -// R res = new R(); -// if(riverName!=null && "".equals(riverName)){ -// if(riverName.length() > 50){ -// res.setFailure("名称长度不能大于50","500"); -// } -// } -// res.setSuccess(irs.bindIrrBIReachs(riverName, pageParam)); -// return res; -// } - - @ApiOperation(notes = "加载所有河流记录,不区分站点", value = "河流列表接口") - @RequestMapping(value = "bindIrrBIReachs", method = RequestMethod.GET) - @ResponseBody - public R bindIrrBIReachs(@ApiParam(value = "名称") @RequestParam(required = false) String riverName, - @ApiParam(value = "分页参数") @ModelAttribute Query query) { - Page page = new Page<>(query.getCurrent(), query.getSize()); - R res = new R(); - if(riverName!=null && "".equals(riverName)){ - if(riverName.length() > 50){ - res.setMsg("名称长度不能大于50"); - res.setCode(500); - } - } - res.setData(irs.bindIrrBIReachs(riverName, page)); - return res; - } - - @ApiOperation(notes = "获取单条河流的信息接口", value = "获取单条河流的信息接口") - @RequestMapping(value = "getIrrBIReach", method = RequestMethod.GET) - @ResponseBody - public R getIrrBIReach(@RequestParam(required = true) @ApiParam(value = "河流编号") String riverCode) { - R res = new R(); - res.setData(irs.getIrrBIReach(riverCode)); - return res; - } - - @ApiOperation(notes = "编辑时编号不能修改", value = "河流信息修改接口") - @RequestMapping(value = "editIrrBIReach", method = RequestMethod.POST) - @ResponseBody - public R editIrrBIReach(@ApiParam(value = "河流") @RequestBody IrrBIReach irrBIReach) { - return irs.addOrEditIrrBIReach(irrBIReach,"update"); - } - - @ApiOperation(notes = "删除河流接口", value = "删除河流接口") - @RequestMapping(value = "delIrrBIReach", method = { RequestMethod.GET, RequestMethod.POST }) - @ResponseBody - public R delIrrBIReach(@RequestParam(required = true) @ApiParam(value = "河流编号") String riverCode) { - R res = new R(); - irs.delIrrBIReach(riverCode); - res.setMsg("操作成功"); - return res; - } - - @ApiOperation(notes = " 新增时编号需要做唯一性验证 ", value = "新增河流接口") - @RequestMapping(value = "addIrrBIReach", method = RequestMethod.POST) - @ResponseBody - public R addIrrBIReach(@ApiParam(value = "河流") @RequestBody IrrBIReach vo) { - return irs.addOrEditIrrBIReach(vo,"add"); - } -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/ReservoirInfoController.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/ReservoirInfoController.java deleted file mode 100644 index 3555c2a..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/ReservoirInfoController.java +++ /dev/null @@ -1,88 +0,0 @@ -package com.hnac.hzims.baseinfo.controller; - - -import com.hnac.hzims.baseinfo.service.ReservoirInfoService; -import com.hnac.hzims.baseinfo.vo.ReservoirInfoVo; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiParam; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; -import sun.reflect.generics.tree.VoidDescriptor; - -import javax.servlet.http.HttpServletRequest; -import java.util.ArrayList; -import java.util.List; - -@RestController -@Api(description = "水库档案控制器") -@RequestMapping(value = "/reservoir/info") -public class ReservoirInfoController { - - @Autowired - private ReservoirInfoService reservoirInfoService; - - - @ApiOperation(notes = "加载所有水库记录,区分站点", value = "水库列表接口") - @RequestMapping(value = "bindReservoirs", method = RequestMethod.GET) - @ResponseBody - public R bindReservoirs(HttpServletRequest request, - @ApiParam(value = "名称") @RequestParam(required = false) String name, - @ApiParam(value = "站点ID") @RequestParam String stationId, - @ApiParam(value = "区域编码") @RequestParam(required = false) String areaCode, - @ApiParam(value = "河流编码") @RequestParam(required = false) String riverCode, - @ApiParam(value = "分页参数") @ModelAttribute Query query) { - List stationIds = new ArrayList(); - //查询当前用户下所有站点的水库列表 - if(stationId.equals("ALL")){ - - }else{ - stationIds.add(stationId); - } - - String tmpAreaCode =""; - if(areaCode!=null) { - tmpAreaCode = areaCode.replaceAll("0+$", ""); - } - return R.data(reservoirInfoService.bindReservoirList(name,tmpAreaCode,riverCode, stationIds, query)); - } - - - @ApiOperation(notes = "获取单条水库的信息接口", value = "获取单条水库的信息接口") - @RequestMapping(value = "getReservoir", method = RequestMethod.GET) - @ResponseBody - public R getReservoir(@RequestParam(required = true) @ApiParam(value = "水库编号") String stcd) { - return R.data(reservoirInfoService.getReservoir(stcd)); - } - - @ApiOperation(notes = "水库信息修改接口", value = "水库信息修改接口") - @RequestMapping(value = "editReservoir", method = RequestMethod.POST) - @ResponseBody - public R editReservoir(@ApiParam(value = "水库信息") @RequestBody ReservoirInfoVo reservoirInfoVo) { - - return reservoirInfoService.addOrEditReservoir(reservoirInfoVo,"update"); - - } - - @ApiOperation(notes = "删除水库接口", value = "删除水库接口") - @RequestMapping(value = "delReservoir", method = { RequestMethod.GET, RequestMethod.POST }) - @ResponseBody - public R delReservoir(@RequestParam(required = true) @ApiParam(value = "水库编号") String stcd) { - - return reservoirInfoService.delReservoir(stcd); - - } - - @ApiOperation(notes = "新增水库接口", value = "新增水库接口") - @RequestMapping(value = "addReservoir", method = { RequestMethod.POST }) - @ResponseBody - public R addReservoir(@ApiParam(value = "水库") @RequestBody ReservoirInfoVo vo) { - return reservoirInfoService.addOrEditReservoir(vo,"add"); - } - - - - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/ReservoirRefdataController.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/ReservoirRefdataController.java deleted file mode 100644 index 8defce9..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/ReservoirRefdataController.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.hnac.hzims.baseinfo.controller; - - -import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; -import com.hnac.hzims.baseinfo.service.ReservoirRefDataService; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiParam; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@Api(description = "水库数据扩展表控制器") -@RequestMapping(value = "/reservoir/refdata") -public class ReservoirRefdataController { - @Autowired - private ReservoirRefDataService reservoirRefDataService; - - @ApiOperation(notes = "stcd必须真实", value = "水库数据扩展配置接口") - @RequestMapping(value = "configReservoirRefData", method = RequestMethod.POST) - @ResponseBody - public R configReservoirRefData( - @ApiParam(value = "水库信息") @RequestBody ReservoirRefdata reservoirRefdata) { - reservoirRefDataService.configReservoirRefData(reservoirRefdata); - return R.success("操作成功"); - } - - @ApiOperation(notes = "stcd必须真实", value = "水库数据扩展获得接口") - @RequestMapping(value = "getReservoirRefData", method = {RequestMethod.POST, RequestMethod.GET}) - @ResponseBody - public R getReservoirRefData(@ApiParam(value = "水库编码") String stcd) { - return R.data(reservoirRefDataService.getReservoirRefData(stcd)); - } -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/StZvarlBController.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/StZvarlBController.java deleted file mode 100644 index 3f2bc62..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/StZvarlBController.java +++ /dev/null @@ -1,72 +0,0 @@ -package com.hnac.hzims.baseinfo.controller; - - -import com.hnac.hzims.baseinfo.entity.StZvarlB; -import com.hnac.hzims.baseinfo.service.StZvarlBService; -import com.hnac.hzims.common.utils.Condition; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiParam; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -import java.math.BigDecimal; - -@RestController -@Api(description = "库(湖)容曲线控制器") -@RequestMapping(value = "/reservoir/stZvarlB") -public class StZvarlBController { - - @Autowired - private StZvarlBService stZvarlBService; - - - @ApiOperation(notes = "获取库(湖)容曲线列表数据接口", value = "获取库(湖)容曲线列表数据接口") - @RequestMapping(value = "bindStZvarlBs", method = RequestMethod.GET) - @ResponseBody - public R bindStZvarlBs(@RequestParam(required = true) @ApiParam(value = "水库编号") String stcd, - @ApiParam(value = "分页参数") @ModelAttribute Query query) { - return R.data(stZvarlBService.bindStZvarlBs(stcd, Condition.getPage(query))); - } - - @ApiOperation(notes = "新增库(湖)容曲线记录接口", value = "新增库(湖)容曲线记录息接口") - @RequestMapping(value = "addStZvarlB", method = RequestMethod.POST) - @ResponseBody - public R addStZvarlB(@ApiParam(value = "库(湖)曲线对象") @RequestBody StZvarlB stZvarlB) { - - return stZvarlBService.addOrEditStZvarlB(stZvarlB); - - } - - @ApiOperation(notes = "更新库(湖)容曲线记录接口", value = "更新库(湖)容曲线记录接口") - @RequestMapping(value = "editStZvarlB", method = RequestMethod.POST) - @ResponseBody - public R editStZvarlB(@ApiParam(value = "库(湖)曲线对象") @RequestBody StZvarlB stZvarlB) { - - return stZvarlBService.addOrEditStZvarlB(stZvarlB); - - } - - @ApiOperation(notes = "删除库(湖)容曲线记录接口", value = "删除库(湖)容曲线记录接口") - @RequestMapping(value = "delStZvarlB", method = { RequestMethod.GET, RequestMethod.POST }) - @ResponseBody - public R delStZvarlB(@RequestParam(required = true) @ApiParam(value = "ID") Integer id) { - - return stZvarlBService.delStZvarlB(id); - - } - - @ApiOperation(notes = "根据库水位获取库容", value = "根据库水位获取库容") - @RequestMapping(value = "getWValue", method = { RequestMethod.GET, RequestMethod.POST }) - @ResponseBody - public R getWValue(String stcd,String rz) { - R res = new R(); - BigDecimal bd=new BigDecimal(rz); - BigDecimal data=stZvarlBService.getWValue(stcd,bd); - res.setMsg("操作成功"); - res.setData(data); - return res; - } -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/WqLrinfBController.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/WqLrinfBController.java deleted file mode 100644 index ea1e462..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/controller/WqLrinfBController.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.hnac.hzims.baseinfo.controller; - -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.baseinfo.entity.WqLrinfB; -import com.hnac.hzims.baseinfo.service.WqLrinfBService; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.ModelAttribute; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.ResponseBody; -import org.springframework.web.bind.annotation.RestController; - -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiParam; - -@RestController -@Api(description = "湖库控制器") -@RequestMapping(value = "/area/wqLrinfB/info") -public class WqLrinfBController { - @Autowired - private WqLrinfBService wbs; - -// @ApiOperation(notes = "加载所有湖库记录,不区分站点", value = "湖库列表接口") -// @RequestMapping(value = "bindWqLrinfBs", method = RequestMethod.GET) -// @ResponseBody -// public R bindWqLrinfBs(@ApiParam(value = "名称") @RequestParam(required = false) String lrnm, -// @ApiParam(value = "分页参数") @ModelAttribute PageParam pageParam) { -// R res = new R(); -// if(lrnm!=null && "".equals(lrnm)){ -// if(lrnm.length() > 50){ -// res.setFailure("名称长度不能大于50","500"); -// } -// } -// res.setSuccess(wbs.bindWqLrinfBs(lrnm, pageParam)); -// return res; -// } - - @ApiOperation(notes = "加载所有湖库记录,不区分站点", value = "湖库列表接口") - @RequestMapping(value = "bindWqLrinfBs", method = RequestMethod.GET) - @ResponseBody - public R bindWqLrinfBs(@ApiParam(value = "名称") @RequestParam(required = false) String lrnm, - @ApiParam(value = "分页参数") @ModelAttribute Query query) { - Page page = new Page<>(query.getCurrent(), query.getSize()); - R res = new R(); - if(lrnm!=null && "".equals(lrnm)){ - if(lrnm.length() > 50){ - res.setMsg("名称长度不能大于50"); - res.setData(500); - } - } - res.setData(wbs.bindWqLrinfBs(lrnm, page)); - return res; - } - - @ApiOperation(notes = "获取单条湖库的信息接口", value = "获取单条湖库的信息接口") - @RequestMapping(value = "getWqLrinfB", method = RequestMethod.GET) - @ResponseBody - public R getWqLrinfB(@RequestParam(required = true) @ApiParam(value = "湖库编号") String lrcd) { - R res = new R(); - res.setData(wbs.getWqLrinfB(lrcd)); - return res; - } - - @ApiOperation(notes = "编辑时编号不能修改", value = "湖库信息修改接口") - @RequestMapping(value = "editWqLrinfB", method = RequestMethod.POST) - @ResponseBody - public R editWqLrinfB(@ApiParam(value = "湖库信息") @RequestBody WqLrinfB wqLrinfB) { - - return wbs.editWqLrinfB(wqLrinfB); - - } - - @ApiOperation(notes = "删除湖库接口", value = "删除湖库接口") - @RequestMapping(value = "delWqLrinfB", method = { RequestMethod.GET, RequestMethod.POST }) - @ResponseBody - public R delWqLrinfB(@RequestParam @ApiParam(value = "湖库编号") String lrcd) { - return wbs.delWqLrinfB(lrcd); - - } - - @ApiOperation(notes = "新增时编号需要做唯一性验证", value = "新增湖库接口") - @RequestMapping(value = "addWqLrinfB", method = RequestMethod.POST ) - @ResponseBody - public R addWqLrinfB(@ApiParam(value = "湖库") @RequestBody WqLrinfB wqLrinfB) { - - return wbs.addWqLrinfB(wqLrinfB); - - } -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/FileReservoirInfoMapper.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/FileReservoirInfoMapper.java deleted file mode 100644 index 00da4b4..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/FileReservoirInfoMapper.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.hnac.hzims.baseinfo.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; -import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/9 10:41 - */ -public interface FileReservoirInfoMapper extends BaseMapper { -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ImageReservoirInfoMapper.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ImageReservoirInfoMapper.java deleted file mode 100644 index f4ddffa..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ImageReservoirInfoMapper.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hnac.hzims.baseinfo.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/9 10:40 - */ -public interface ImageReservoirInfoMapper extends BaseMapper { -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/IrrBIReachMapper.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/IrrBIReachMapper.java deleted file mode 100644 index d10aeaa..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/IrrBIReachMapper.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.hnac.hzims.baseinfo.mapper; - -import java.util.List; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.baseinfo.entity.IrrBIReach; -import com.hnac.hzims.baseinfo.entity.IrrBIReachExample; -import org.apache.ibatis.annotations.Param; - -public interface IrrBIReachMapper { - int deleteByPrimaryKey(String riverCode); - - int insert(IrrBIReach record); - - int insertSelective(IrrBIReach record); - - List selectByExample(IrrBIReachExample example); - - IrrBIReach selectByPrimaryKey(String riverCode); - - int updateByPrimaryKeySelective(IrrBIReach record); - - int updateByPrimaryKey(IrrBIReach record); - - IPage selectByRiverName(@Param("riverName")String riverName, IPage page); -} \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/IrrBIReachMapper.xml b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/IrrBIReachMapper.xml deleted file mode 100644 index 918892e..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/IrrBIReachMapper.xml +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - RIVER_CODE, RIVER_NAME, RIVER_WIDTH, RIVER_FLUX, COORDINATESET - - - - - delete from irrbireach - where RIVER_CODE = #{riverCode,jdbcType=CHAR} - - - insert into irrbireach (RIVER_CODE, RIVER_NAME, RIVER_WIDTH, - RIVER_FLUX, COORDINATESET) - values (#{riverCode,jdbcType=CHAR}, #{riverName,jdbcType=VARCHAR}, #{riverWidth,jdbcType=DECIMAL}, - #{riverFlux,jdbcType=DECIMAL}, #{coordinateset,jdbcType=VARCHAR}) - - - insert into irrbireach - - - RIVER_CODE, - - - RIVER_NAME, - - - RIVER_WIDTH, - - - RIVER_FLUX, - - - COORDINATESET, - - - - - #{riverCode,jdbcType=CHAR}, - - - #{riverName,jdbcType=VARCHAR}, - - - #{riverWidth,jdbcType=DECIMAL}, - - - #{riverFlux,jdbcType=DECIMAL}, - - - #{coordinateset,jdbcType=VARCHAR}, - - - - - update irrbireach - - - RIVER_NAME = #{riverName,jdbcType=VARCHAR}, - - - RIVER_WIDTH = #{riverWidth,jdbcType=DECIMAL}, - - - RIVER_FLUX = #{riverFlux,jdbcType=DECIMAL}, - - - COORDINATESET = #{coordinateset,jdbcType=VARCHAR}, - - - where RIVER_CODE = #{riverCode,jdbcType=CHAR} - - - update irrbireach - set RIVER_NAME = #{riverName,jdbcType=VARCHAR}, - RIVER_WIDTH = #{riverWidth,jdbcType=DECIMAL}, - RIVER_FLUX = #{riverFlux,jdbcType=DECIMAL}, - COORDINATESET = #{coordinateset,jdbcType=VARCHAR} - where RIVER_CODE = #{riverCode,jdbcType=CHAR} - - - - - \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirInfoMapper.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirInfoMapper.java deleted file mode 100644 index 5d1f6fe..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirInfoMapper.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.hnac.hzims.baseinfo.mapper; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.core.metadata.PageList; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.baseinfo.entity.ReservoirInfo; -import com.hnac.hzims.baseinfo.entity.ReservoirInfoExample; -import org.apache.ibatis.annotations.Param; - -import java.util.List; - -public interface ReservoirInfoMapper { - int deleteByPrimaryKey(String stcd); - - int insert(ReservoirInfo record); - - int insertSelective(ReservoirInfo record); - - List selectByExample(ReservoirInfoExample example); - - ReservoirInfo selectByPrimaryKey(String stcd); - - int updateByPrimaryKeySelective(ReservoirInfo record); - - int updateByPrimaryKey(ReservoirInfo record); - - IPage selectByNameAndStationId(@Param("name") String name, - @Param("areaCode")String areaCode, @Param("riverCode")String riverCode, - @Param("stationIds") List stationId, - Page pageBounds); - - IPage selectByNameAndStationId(@Param("name") String name, - @Param("areaCode")String areaCode,@Param("riverCode")String riverCode, - @Param("stationIds") List stationId, IPage page); -} \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirInfoMapper.xml b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirInfoMapper.xml deleted file mode 100644 index 776420d..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirInfoMapper.xml +++ /dev/null @@ -1,520 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - STCD, STATIONID, DISCHARGE, NAME, LOCATION, VILLAGE, ROADLENGTH, ROADCONDITIION, - BUILDDATE, COMPLETEDDATE, RAINAREA, DESIGNEDFLOODFLOW, CHEDKEDFLOODFLOW, DESIGNEDFILLAREA, - DESIGNEDTOTALFLOW, CHECDEDTOTALFLOW, AVERAGERAINFALL, DESIGNEDMAXFLOW, CHECKEDMAXFLOW, - VOLUME, CHECKEDFLOODLEVEL, HISTORICALMAXLEVEL, FLOODCONTROLVOLUME, DESIGNEDFLOODLEVEL, - MAXLEVELTIME, UTILIZABLEVOLUME, NORRMALLEVEL, FLOODDETENTIONVOLUME, DEADLEVEL, AREA_CODE, - LRCD, SZHLDM, DONGJ, BEIW,MJFLSSCNWL - - - - - delete from reservoir_info - where STCD = #{stcd,jdbcType=VARCHAR} - - - insert into reservoir_info (STCD, STATIONID, DISCHARGE, - NAME, LOCATION, VILLAGE, - ROADLENGTH, ROADCONDITIION, BUILDDATE, - COMPLETEDDATE, RAINAREA, DESIGNEDFLOODFLOW, - CHEDKEDFLOODFLOW, DESIGNEDFILLAREA, DESIGNEDTOTALFLOW, - CHECDEDTOTALFLOW, AVERAGERAINFALL, DESIGNEDMAXFLOW, - CHECKEDMAXFLOW, VOLUME, CHECKEDFLOODLEVEL, - HISTORICALMAXLEVEL, FLOODCONTROLVOLUME, DESIGNEDFLOODLEVEL, - MAXLEVELTIME, UTILIZABLEVOLUME, NORRMALLEVEL, - FLOODDETENTIONVOLUME, DEADLEVEL, AREA_CODE, - LRCD, SZHLDM, DONGJ, BEIW,MJFLSSCNWL - ) - values (#{stcd,jdbcType=VARCHAR}, #{stationid,jdbcType=VARCHAR}, #{discharge,jdbcType=REAL}, - #{name,jdbcType=VARCHAR}, #{location,jdbcType=VARCHAR}, #{village,jdbcType=VARCHAR}, - #{roadlength,jdbcType=REAL}, #{roadconditiion,jdbcType=VARCHAR}, #{builddate,jdbcType=DATE}, - #{completeddate,jdbcType=DATE}, #{rainarea,jdbcType=REAL}, #{designedfloodflow,jdbcType=REAL}, - #{chedkedfloodflow,jdbcType=REAL}, #{designedfillarea,jdbcType=REAL}, #{designedtotalflow,jdbcType=REAL}, - #{checdedtotalflow,jdbcType=REAL}, #{averagerainfall,jdbcType=REAL}, #{designedmaxflow,jdbcType=REAL}, - #{checkedmaxflow,jdbcType=REAL}, #{volume,jdbcType=REAL}, #{checkedfloodlevel,jdbcType=REAL}, - #{historicalmaxlevel,jdbcType=REAL}, #{floodcontrolvolume,jdbcType=REAL}, #{designedfloodlevel,jdbcType=REAL}, - #{maxleveltime,jdbcType=TIMESTAMP}, #{utilizablevolume,jdbcType=REAL}, #{norrmallevel,jdbcType=REAL}, - #{flooddetentionvolume,jdbcType=REAL}, #{deadlevel,jdbcType=REAL}, #{areaCode,jdbcType=VARCHAR}, - #{lrcd,jdbcType=VARCHAR}, #{szhldm,jdbcType=VARCHAR}, #{dongj,jdbcType=REAL}, #{beiw,jdbcType=REAL} - , #{mjflsscnwl,jdbcType=REAL} - ) - - - insert into reservoir_info - - - STCD, - - - STATIONID, - - - DISCHARGE, - - - NAME, - - - LOCATION, - - - VILLAGE, - - - ROADLENGTH, - - - ROADCONDITIION, - - - BUILDDATE, - - - COMPLETEDDATE, - - - RAINAREA, - - - DESIGNEDFLOODFLOW, - - - CHEDKEDFLOODFLOW, - - - DESIGNEDFILLAREA, - - - DESIGNEDTOTALFLOW, - - - CHECDEDTOTALFLOW, - - - AVERAGERAINFALL, - - - DESIGNEDMAXFLOW, - - - CHECKEDMAXFLOW, - - - VOLUME, - - - CHECKEDFLOODLEVEL, - - - HISTORICALMAXLEVEL, - - - FLOODCONTROLVOLUME, - - - DESIGNEDFLOODLEVEL, - - - MAXLEVELTIME, - - - UTILIZABLEVOLUME, - - - NORRMALLEVEL, - - - FLOODDETENTIONVOLUME, - - - DEADLEVEL, - - - AREA_CODE, - - - LRCD, - - - SZHLDM, - - - DONGJ, - - - BEIW, - - - MJFLSSCNWL, - - - - - #{stcd,jdbcType=VARCHAR}, - - - #{stationid,jdbcType=VARCHAR}, - - - #{discharge,jdbcType=REAL}, - - - #{name,jdbcType=VARCHAR}, - - - #{location,jdbcType=VARCHAR}, - - - #{village,jdbcType=VARCHAR}, - - - #{roadlength,jdbcType=REAL}, - - - #{roadconditiion,jdbcType=VARCHAR}, - - - #{builddate,jdbcType=DATE}, - - - #{completeddate,jdbcType=DATE}, - - - #{rainarea,jdbcType=REAL}, - - - #{designedfloodflow,jdbcType=REAL}, - - - #{chedkedfloodflow,jdbcType=REAL}, - - - #{designedfillarea,jdbcType=REAL}, - - - #{designedtotalflow,jdbcType=REAL}, - - - #{checdedtotalflow,jdbcType=REAL}, - - - #{averagerainfall,jdbcType=REAL}, - - - #{designedmaxflow,jdbcType=REAL}, - - - #{checkedmaxflow,jdbcType=REAL}, - - - #{volume,jdbcType=REAL}, - - - #{checkedfloodlevel,jdbcType=REAL}, - - - #{historicalmaxlevel,jdbcType=REAL}, - - - #{floodcontrolvolume,jdbcType=REAL}, - - - #{designedfloodlevel,jdbcType=REAL}, - - - #{maxleveltime,jdbcType=TIMESTAMP}, - - - #{utilizablevolume,jdbcType=REAL}, - - - #{norrmallevel,jdbcType=REAL}, - - - #{flooddetentionvolume,jdbcType=REAL}, - - - #{deadlevel,jdbcType=REAL}, - - - #{areaCode,jdbcType=VARCHAR}, - - - #{lrcd,jdbcType=VARCHAR}, - - - #{szhldm,jdbcType=VARCHAR}, - - - #{dongj,jdbcType=REAL}, - - - #{beiw,jdbcType=REAL}, - - - #{mjflsscnwl,jdbcType=REAL}, - - - - - update reservoir_info - - - STATIONID = #{stationid,jdbcType=VARCHAR}, - - - DISCHARGE = #{discharge,jdbcType=REAL}, - - - NAME = #{name,jdbcType=VARCHAR}, - - - LOCATION = #{location,jdbcType=VARCHAR}, - - - VILLAGE = #{village,jdbcType=VARCHAR}, - - - ROADLENGTH = #{roadlength,jdbcType=REAL}, - - - ROADCONDITIION = #{roadconditiion,jdbcType=VARCHAR}, - - - BUILDDATE = #{builddate,jdbcType=DATE}, - - - COMPLETEDDATE = #{completeddate,jdbcType=DATE}, - - - RAINAREA = #{rainarea,jdbcType=REAL}, - - - DESIGNEDFLOODFLOW = #{designedfloodflow,jdbcType=REAL}, - - - CHEDKEDFLOODFLOW = #{chedkedfloodflow,jdbcType=REAL}, - - - DESIGNEDFILLAREA = #{designedfillarea,jdbcType=REAL}, - - - DESIGNEDTOTALFLOW = #{designedtotalflow,jdbcType=REAL}, - - - CHECDEDTOTALFLOW = #{checdedtotalflow,jdbcType=REAL}, - - - AVERAGERAINFALL = #{averagerainfall,jdbcType=REAL}, - - - DESIGNEDMAXFLOW = #{designedmaxflow,jdbcType=REAL}, - - - CHECKEDMAXFLOW = #{checkedmaxflow,jdbcType=REAL}, - - - VOLUME = #{volume,jdbcType=REAL}, - - - CHECKEDFLOODLEVEL = #{checkedfloodlevel,jdbcType=REAL}, - - - HISTORICALMAXLEVEL = #{historicalmaxlevel,jdbcType=REAL}, - - - FLOODCONTROLVOLUME = #{floodcontrolvolume,jdbcType=REAL}, - - - DESIGNEDFLOODLEVEL = #{designedfloodlevel,jdbcType=REAL}, - - - MAXLEVELTIME = #{maxleveltime,jdbcType=TIMESTAMP}, - - - UTILIZABLEVOLUME = #{utilizablevolume,jdbcType=REAL}, - - - NORRMALLEVEL = #{norrmallevel,jdbcType=REAL}, - - - FLOODDETENTIONVOLUME = #{flooddetentionvolume,jdbcType=REAL}, - - - DEADLEVEL = #{deadlevel,jdbcType=REAL}, - - - AREA_CODE = #{areaCode,jdbcType=VARCHAR}, - - - LRCD = #{lrcd,jdbcType=VARCHAR}, - - - SZHLDM = #{szhldm,jdbcType=VARCHAR}, - - - DONGJ = #{dongj,jdbcType=REAL}, - - - BEIW = #{beiw,jdbcType=REAL}, - - - MJFLSSCNWL = #{mjflsscnwl,jdbcType=REAL}, - - - where STCD = #{stcd,jdbcType=VARCHAR} - - - update reservoir_info - set STATIONID = #{stationid,jdbcType=VARCHAR}, - DISCHARGE = #{discharge,jdbcType=REAL}, - NAME = #{name,jdbcType=VARCHAR}, - LOCATION = #{location,jdbcType=VARCHAR}, - VILLAGE = #{village,jdbcType=VARCHAR}, - ROADLENGTH = #{roadlength,jdbcType=REAL}, - ROADCONDITIION = #{roadconditiion,jdbcType=VARCHAR}, - BUILDDATE = #{builddate,jdbcType=DATE}, - COMPLETEDDATE = #{completeddate,jdbcType=DATE}, - RAINAREA = #{rainarea,jdbcType=REAL}, - DESIGNEDFLOODFLOW = #{designedfloodflow,jdbcType=REAL}, - CHEDKEDFLOODFLOW = #{chedkedfloodflow,jdbcType=REAL}, - DESIGNEDFILLAREA = #{designedfillarea,jdbcType=REAL}, - DESIGNEDTOTALFLOW = #{designedtotalflow,jdbcType=REAL}, - CHECDEDTOTALFLOW = #{checdedtotalflow,jdbcType=REAL}, - AVERAGERAINFALL = #{averagerainfall,jdbcType=REAL}, - DESIGNEDMAXFLOW = #{designedmaxflow,jdbcType=REAL}, - CHECKEDMAXFLOW = #{checkedmaxflow,jdbcType=REAL}, - VOLUME = #{volume,jdbcType=REAL}, - CHECKEDFLOODLEVEL = #{checkedfloodlevel,jdbcType=REAL}, - HISTORICALMAXLEVEL = #{historicalmaxlevel,jdbcType=REAL}, - FLOODCONTROLVOLUME = #{floodcontrolvolume,jdbcType=REAL}, - DESIGNEDFLOODLEVEL = #{designedfloodlevel,jdbcType=REAL}, - MAXLEVELTIME = #{maxleveltime,jdbcType=TIMESTAMP}, - UTILIZABLEVOLUME = #{utilizablevolume,jdbcType=REAL}, - NORRMALLEVEL = #{norrmallevel,jdbcType=REAL}, - FLOODDETENTIONVOLUME = #{flooddetentionvolume,jdbcType=REAL}, - DEADLEVEL = #{deadlevel,jdbcType=REAL}, - AREA_CODE = #{areaCode,jdbcType=VARCHAR}, - LRCD = #{lrcd,jdbcType=VARCHAR}, - SZHLDM = #{szhldm,jdbcType=VARCHAR}, - DONGJ = #{dongj,jdbcType=REAL}, - BEIW = #{beiw,jdbcType=REAL}, - MJFLSSCNWL = #{mjflsscnwl,jdbcType=REAL} - where STCD = #{stcd,jdbcType=VARCHAR} - - - - - - \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirRefdataMapper.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirRefdataMapper.java deleted file mode 100644 index 01c9ea8..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirRefdataMapper.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.hnac.hzims.baseinfo.mapper; - -import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; -import com.hnac.hzims.baseinfo.entity.ReservoirRefdataExample; - -import java.util.List; -public interface ReservoirRefdataMapper { - int deleteByPrimaryKey(String stcd); - - int insert(ReservoirRefdata record); - - int insertSelective(ReservoirRefdata record); - - List selectByExample(ReservoirRefdataExample example); - - ReservoirRefdata selectByPrimaryKey(String stcd); - - int updateByPrimaryKeySelective(ReservoirRefdata record); - - int updateByPrimaryKey(ReservoirRefdata record); -} \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirRefdataMapper.xml b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirRefdataMapper.xml deleted file mode 100644 index 41e50a5..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/ReservoirRefdataMapper.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - STCD, REFSTCD, REFQPOINT, REFZPOINT - - - - - delete from reservoir_refdata - where STCD = #{stcd,jdbcType=VARCHAR} - - - insert into reservoir_refdata (STCD, REFSTCD, REFQPOINT, - REFZPOINT) - values (#{stcd,jdbcType=VARCHAR}, #{refstcd,jdbcType=CHAR}, #{refqpoint,jdbcType=VARCHAR}, - #{refzpoint,jdbcType=CHAR}) - - - insert into reservoir_refdata - - - STCD, - - - REFSTCD, - - - REFQPOINT, - - - REFZPOINT, - - - - - #{stcd,jdbcType=VARCHAR}, - - - #{refstcd,jdbcType=CHAR}, - - - #{refqpoint,jdbcType=VARCHAR}, - - - #{refzpoint,jdbcType=CHAR}, - - - - - update reservoir_refdata - - - REFSTCD = #{refstcd,jdbcType=CHAR}, - - - REFQPOINT = #{refqpoint,jdbcType=VARCHAR}, - - - REFZPOINT = #{refzpoint,jdbcType=CHAR}, - - - where STCD = #{stcd,jdbcType=VARCHAR} - - - update reservoir_refdata - set REFSTCD = #{refstcd,jdbcType=CHAR}, - REFQPOINT = #{refqpoint,jdbcType=VARCHAR}, - REFZPOINT = #{refzpoint,jdbcType=CHAR} - where STCD = #{stcd,jdbcType=VARCHAR} - - \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/StZvarlBMapper.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/StZvarlBMapper.java deleted file mode 100644 index 7b41776..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/StZvarlBMapper.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.hnac.hzims.baseinfo.mapper; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.baseinfo.entity.StZvarlB; -import com.hnac.hzims.baseinfo.entity.StZvarlBExample; -import org.apache.ibatis.annotations.Param; - -import java.util.List; -public interface StZvarlBMapper { - int deleteByPrimaryKey(Integer id); - - int insert(StZvarlB record); - - int insertSelective(StZvarlB record); - - List selectByExample(StZvarlBExample example); - - StZvarlB selectByPrimaryKey(Integer id); - - int updateByPrimaryKeySelective(StZvarlB record); - - int updateByPrimaryKey(StZvarlB record); - IPage selectByStcd(@Param("stcd") String stcd, IPage page); - - List selectMaxMin(StZvarlB stZvarlB); - - List selectStZvarlB(@Param("stcd") String stcd); -} \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/StZvarlBMapper.xml b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/StZvarlBMapper.xml deleted file mode 100644 index 84cd544..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/StZvarlBMapper.xml +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - ID, STCD, MSTM, PTNO, RZ, W, WSFA, MODITIME - - - - - delete from st_zvarl_b - where ID = #{id,jdbcType=INTEGER} - - - insert into st_zvarl_b (ID, STCD, MSTM, - PTNO, RZ, W, WSFA, - MODITIME) - values (#{id,jdbcType=INTEGER}, #{stcd,jdbcType=VARCHAR}, #{mstm,jdbcType=TIMESTAMP}, - #{ptno,jdbcType=INTEGER}, #{rz,jdbcType=DECIMAL}, #{w,jdbcType=DECIMAL}, #{wsfa,jdbcType=DECIMAL}, - #{moditime,jdbcType=TIMESTAMP}) - - - insert into st_zvarl_b - - - ID, - - - STCD, - - - MSTM, - - - PTNO, - - - RZ, - - - W, - - - WSFA, - - - MODITIME, - - - - - #{id,jdbcType=INTEGER}, - - - #{stcd,jdbcType=VARCHAR}, - - - #{mstm,jdbcType=TIMESTAMP}, - - - #{ptno,jdbcType=INTEGER}, - - - #{rz,jdbcType=DECIMAL}, - - - #{w,jdbcType=DECIMAL}, - - - #{wsfa,jdbcType=DECIMAL}, - - - #{moditime,jdbcType=TIMESTAMP}, - - - - - update st_zvarl_b - - - STCD = #{stcd,jdbcType=VARCHAR}, - - - MSTM = #{mstm,jdbcType=TIMESTAMP}, - - - PTNO = #{ptno,jdbcType=INTEGER}, - - - RZ = #{rz,jdbcType=DECIMAL}, - - - W = #{w,jdbcType=DECIMAL}, - - - WSFA = #{wsfa,jdbcType=DECIMAL}, - - - MODITIME = #{moditime,jdbcType=TIMESTAMP}, - - - where ID = #{id,jdbcType=INTEGER} - - - update st_zvarl_b - set STCD = #{stcd,jdbcType=VARCHAR}, - MSTM = #{mstm,jdbcType=TIMESTAMP}, - PTNO = #{ptno,jdbcType=INTEGER}, - RZ = #{rz,jdbcType=DECIMAL}, - W = #{w,jdbcType=DECIMAL}, - WSFA = #{wsfa,jdbcType=DECIMAL}, - MODITIME = #{moditime,jdbcType=TIMESTAMP} - where ID = #{id,jdbcType=INTEGER} - - - - - - - - - \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/WqLrinfBMapper.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/WqLrinfBMapper.java deleted file mode 100644 index 35336c3..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/WqLrinfBMapper.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.hnac.hzims.baseinfo.mapper; - -import java.util.List; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.baseinfo.entity.WqLrinfB; -import com.hnac.hzims.baseinfo.entity.WqLrinfBExample; -import org.apache.ibatis.annotations.Param; - - -public interface WqLrinfBMapper { - int deleteByPrimaryKey(String lrcd); - - int insert(WqLrinfB record); - - int insertSelective(WqLrinfB record); - - List selectByExample(WqLrinfBExample example); - - WqLrinfB selectByPrimaryKey(String lrcd); - - int updateByPrimaryKeySelective(WqLrinfB record); - - int updateByPrimaryKey(WqLrinfB record); - - IPage selectByLrnm(@Param("lrnm")String lrnm, IPage page); -} \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/WqLrinfBMapper.xml b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/WqLrinfBMapper.xml deleted file mode 100644 index 0e4cd7a..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/mapper/WqLrinfBMapper.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - LRCD, WATP, LRNM, LRAR, RSCP, COORDINATESET - - - - - delete from wq_lrinf_b - where LRCD = #{lrcd,jdbcType=CHAR} - - - insert into wq_lrinf_b (LRCD, WATP, LRNM, LRAR, - RSCP, COORDINATESET) - values (#{lrcd,jdbcType=CHAR}, #{watp,jdbcType=CHAR}, #{lrnm,jdbcType=VARCHAR}, #{lrar,jdbcType=DECIMAL}, - #{rscp,jdbcType=DECIMAL}, #{coordinateset,jdbcType=VARCHAR}) - - - insert into wq_lrinf_b - - - LRCD, - - - WATP, - - - LRNM, - - - LRAR, - - - RSCP, - - - COORDINATESET, - - - - - #{lrcd,jdbcType=CHAR}, - - - #{watp,jdbcType=CHAR}, - - - #{lrnm,jdbcType=VARCHAR}, - - - #{lrar,jdbcType=DECIMAL}, - - - #{rscp,jdbcType=DECIMAL}, - - - #{coordinateset,jdbcType=VARCHAR}, - - - - - update wq_lrinf_b - - - WATP = #{watp,jdbcType=CHAR}, - - - LRNM = #{lrnm,jdbcType=VARCHAR}, - - - LRAR = #{lrar,jdbcType=DECIMAL}, - - - RSCP = #{rscp,jdbcType=DECIMAL}, - - - COORDINATESET = #{coordinateset,jdbcType=VARCHAR}, - - - where LRCD = #{lrcd,jdbcType=CHAR} - - - update wq_lrinf_b - set WATP = #{watp,jdbcType=CHAR}, - LRNM = #{lrnm,jdbcType=VARCHAR}, - LRAR = #{lrar,jdbcType=DECIMAL}, - RSCP = #{rscp,jdbcType=DECIMAL}, - COORDINATESET = #{coordinateset,jdbcType=VARCHAR} - where LRCD = #{lrcd,jdbcType=CHAR} - - - - \ No newline at end of file diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/FileReservoirInfoService.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/FileReservoirInfoService.java deleted file mode 100644 index 9dd9b09..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/FileReservoirInfoService.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hnac.hzims.baseinfo.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/9 10:42 - */ -public interface FileReservoirInfoService extends IService { -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ImageReservoirInfoService.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ImageReservoirInfoService.java deleted file mode 100644 index 896f7d7..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ImageReservoirInfoService.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hnac.hzims.baseinfo.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/9 10:42 - */ -public interface ImageReservoirInfoService extends IService { -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/IrrBIReachService.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/IrrBIReachService.java deleted file mode 100644 index e631b4f..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/IrrBIReachService.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.hnac.hzims.baseinfo.service; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.baseinfo.entity.IrrBIReach; -import org.springblade.core.tool.api.R; - -public interface IrrBIReachService { - - IPage bindIrrBIReachs(String riverName, Page page); - - R addOrEditIrrBIReach(IrrBIReach irrBIReach, String operate); - - R delIrrBIReach(String riverCode); - - IrrBIReach getIrrBIReach(String riverCode); - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirInfoService.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirInfoService.java deleted file mode 100644 index 0607b7e..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirInfoService.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.hnac.hzims.baseinfo.service; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.baseinfo.entity.ReservoirInfo; -import com.hnac.hzims.baseinfo.vo.ReservoirInfoVo; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; - -import java.util.List; - -public interface ReservoirInfoService { - - IPage bindReservoirList(String name, String areaCode, String riverCode, - List stationIds, Query query); - - IPage bindReservoirList(String name, String areaCode, String riverCode, - List stationIds, IPage page); - - ReservoirInfoVo getReservoir(String id); - - R addOrEditReservoir(ReservoirInfoVo reservoirInfoVo, String operate); - - R delReservoir(String id); - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirRefDataService.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirRefDataService.java deleted file mode 100644 index f442341..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirRefDataService.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.hnac.hzims.baseinfo.service; - -import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; -import com.hnac.hzims.baseinfo.vo.ReservoirRefdataVo; -import org.springblade.core.tool.api.R; - -public interface ReservoirRefDataService { - - R configReservoirRefData(ReservoirRefdata reservoirRefdata); - - R delReservoirRefData(String rstcd); - - ReservoirRefdataVo getReservoirRefData(String stcd); - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirWaterManageService.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirWaterManageService.java deleted file mode 100644 index dab1fb6..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/ReservoirWaterManageService.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.hnac.hzims.baseinfo.service; - - - -import com.hnac.hzims.baseinfo.entity.ReservoirWaterManage; - -import java.util.List; - -public interface ReservoirWaterManageService { - List getReservoirWaterManage(String stcd, List months); -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/StZvarlBService.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/StZvarlBService.java deleted file mode 100644 index 90530b1..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/StZvarlBService.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.hnac.hzims.baseinfo.service; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.baseinfo.entity.StZvarlB; -import org.springblade.core.tool.api.R; - - -import java.math.BigDecimal; -import java.util.List; - -public interface StZvarlBService { - - IPage bindStZvarlBs(String stcd, IPage page); - - R addOrEditStZvarlB(StZvarlB stZvarlB); - - R delStZvarlB(Integer id); - - BigDecimal getWValue(String stcd,BigDecimal rz); - //根据水库获取库容曲线 - List selectStZvarlB(String stcd); - //计算库容 - BigDecimal calcResp(List list,BigDecimal rz); - //计算小于等于rz最大 和 大于rz最小值的 水位与库容关系两个点 - List calcMaxMin(List list, BigDecimal rz); -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/WqLrinfBService.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/WqLrinfBService.java deleted file mode 100644 index 0930c3c..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/WqLrinfBService.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.hnac.hzims.baseinfo.service; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.baseinfo.entity.WqLrinfB; -import org.springblade.core.tool.api.R; - -public interface WqLrinfBService { - - IPage bindWqLrinfBs(String lrnm, Page page); - - WqLrinfB getWqLrinfB(String lrcd); - - R delWqLrinfB(String lrcd); - - R editWqLrinfB(WqLrinfB wqLrinfB); - - R addWqLrinfB(WqLrinfB wqLrinfB); - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/FileReservoirInfoServiceImpl.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/FileReservoirInfoServiceImpl.java deleted file mode 100644 index 112af3e..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/FileReservoirInfoServiceImpl.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.hnac.hzims.baseinfo.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; -import com.hnac.hzims.baseinfo.mapper.FileReservoirInfoMapper; -import com.hnac.hzims.baseinfo.service.FileReservoirInfoService; -import org.springframework.stereotype.Service; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/9 10:43 - */ -@Service -public class FileReservoirInfoServiceImpl extends ServiceImpl - implements FileReservoirInfoService { -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ImageReservoirInfoServiceImpl.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ImageReservoirInfoServiceImpl.java deleted file mode 100644 index 21775cd..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ImageReservoirInfoServiceImpl.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.hnac.hzims.baseinfo.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; -import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; -import com.hnac.hzims.baseinfo.mapper.FileReservoirInfoMapper; -import com.hnac.hzims.baseinfo.mapper.ImageReservoirInfoMapper; -import com.hnac.hzims.baseinfo.service.FileReservoirInfoService; -import com.hnac.hzims.baseinfo.service.ImageReservoirInfoService; -import org.springframework.stereotype.Service; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/9 10:46 - */ -@Service -public class ImageReservoirInfoServiceImpl extends ServiceImpl - implements ImageReservoirInfoService { -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/IrrBIReachServiceImpl.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/IrrBIReachServiceImpl.java deleted file mode 100644 index 79c6ef8..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/IrrBIReachServiceImpl.java +++ /dev/null @@ -1,65 +0,0 @@ -package com.hnac.hzims.baseinfo.service.impl; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.baseinfo.entity.IrrBIReach; -import com.hnac.hzims.baseinfo.mapper.IrrBIReachMapper; -import com.hnac.hzims.baseinfo.service.IrrBIReachService; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import com.alibaba.druid.util.StringUtils; -@Service -public class IrrBIReachServiceImpl implements IrrBIReachService { - @Autowired - private IrrBIReachMapper ibm; - - @Override - public IPage bindIrrBIReachs(String riverName, Page page) { - riverName = riverName == null ? "" : riverName; - IPage records = ibm.selectByRiverName(riverName, page); - return records; - } - - @Override - public R addOrEditIrrBIReach(IrrBIReach irrBIReach, String operate) { - - String riverCode = irrBIReach.getRiverCode(); - IrrBIReach model = ibm.selectByPrimaryKey(riverCode); - - if("add".equals(operate) && model!=null){ - return R.fail(500,"河流编码已存在"); - } - - int cnt = 0; - if (model != null && !StringUtils.isEmpty(model.getRiverCode())) { // edit - cnt = ibm.updateByPrimaryKey(irrBIReach); - } else { - cnt = ibm.insert(irrBIReach); - } - if (cnt < 1) { - if("add".equals(operate)) { - return R.fail(500,"新增失败"); - }else{ - return R.fail(500,"编辑失败"); - } - } - return R.success("操作成功"); - } - - @Override - public R delIrrBIReach(String riverCode) { - int cnt = 0; - cnt = ibm.deleteByPrimaryKey(riverCode); - if (cnt < 1) - return R.fail(500,"删除失败"); - return R.success("删除成功"); - } - - @Override - public IrrBIReach getIrrBIReach(String riverCode) { - return ibm.selectByPrimaryKey(riverCode); - } - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ReservoirInfoServiceImpl.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ReservoirInfoServiceImpl.java deleted file mode 100644 index 5c143fd..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ReservoirInfoServiceImpl.java +++ /dev/null @@ -1,180 +0,0 @@ -package com.hnac.hzims.baseinfo.service.impl; - -import com.alibaba.druid.util.StringUtils; -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; -import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; -import com.hnac.hzims.baseinfo.entity.ReservoirInfo; -import com.hnac.hzims.baseinfo.mapper.ReservoirInfoMapper; -import com.hnac.hzims.baseinfo.mapper.ReservoirRefdataMapper; -import com.hnac.hzims.baseinfo.service.FileReservoirInfoService; -import com.hnac.hzims.baseinfo.service.ImageReservoirInfoService; -import com.hnac.hzims.baseinfo.service.ReservoirInfoService; -import com.hnac.hzims.baseinfo.vo.ReservoirInfoVo; -import org.apache.commons.collections4.CollectionUtils; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springframework.beans.BeanUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import org.yaml.snakeyaml.events.Event; - -import java.util.ArrayList; -import java.util.List; -import java.util.stream.Collectors; - -@Service -public class ReservoirInfoServiceImpl implements ReservoirInfoService { - - @Autowired - ReservoirInfoMapper reservoirInfoMapper; - @Autowired - private ReservoirRefdataMapper rrm; - - @Autowired - private ImageReservoirInfoService imageReservoirInfoService; - @Autowired - private FileReservoirInfoService fileReservoirInfoService; - - @Override - public ReservoirInfoVo getReservoir(String id) { - ReservoirInfo info = null; - ReservoirInfoVo infoVo = null; - info = reservoirInfoMapper.selectByPrimaryKey(id); - if (info != null) { - infoVo = new ReservoirInfoVo(info); - } - //查询图片 - List imageReservoirInfoList = imageReservoirInfoService.list(new LambdaQueryWrapper() - .eq(ImageReservoirInfo::getReservoirInfoId, id)); - if (CollectionUtils.isNotEmpty(imageReservoirInfoList)) { - infoVo.setImageReservoirInfoList(imageReservoirInfoList); - } - - //查询文件 - List fileReservoirInfoList = - fileReservoirInfoService.list(new LambdaQueryWrapper() - .eq(FileReservoirInfo::getReservoirInfoId, id)); - if (CollectionUtils.isNotEmpty(fileReservoirInfoList)) { - infoVo.setFileReservoirInfoList(fileReservoirInfoList); - } - - return infoVo; - } - - @Override - public R addOrEditReservoir(ReservoirInfoVo reservoirInfoVo, String operate) { - int cnt = 0; - ReservoirInfo ri = new ReservoirInfo(reservoirInfoVo); - String stcd = ri.getStcd(); - ReservoirInfo info = reservoirInfoMapper.selectByPrimaryKey(stcd); - - if ("add".equals(operate) && info != null) { - return R.fail(500, "水库编码已存在"); - } - - if (info != null && !StringUtils.isEmpty(info.getStcd())) { // edit - cnt = reservoirInfoMapper.updateByPrimaryKey(ri); - if (!info.getStationid().equals(reservoirInfoVo.getStationid())) { //编辑时站点更换清除之前数据配置 - rrm.deleteByPrimaryKey(info.getStcd()); - } - } else { // add - cnt = reservoirInfoMapper.insert(ri); - } - if (cnt < 1) { - return R.fail(500, "操作失败"); - } - - - if ("update".equals(operate)) { - //删除图片 - imageReservoirInfoService.remove(new LambdaQueryWrapper() - .eq(ImageReservoirInfo::getReservoirInfoId, stcd)); - //删除文件 - fileReservoirInfoService.remove(new LambdaQueryWrapper() - .eq(FileReservoirInfo::getReservoirInfoId, stcd)); - - } - - //图片 - List imageReservoirInfoList = reservoirInfoVo.getImageReservoirInfoList(); - if (CollectionUtils.isNotEmpty(imageReservoirInfoList)) { - imageReservoirInfoList.stream().map(item -> { - item.setReservoirInfoId(stcd); - return item; - }).collect(Collectors.toList()); - imageReservoirInfoService.saveOrUpdateBatch(imageReservoirInfoList); - } - - //文件 - List fileReservoirInfoList = reservoirInfoVo.getFileReservoirInfoList(); - if (CollectionUtils.isNotEmpty(fileReservoirInfoList)) { - fileReservoirInfoList.stream().map(item -> { - item.setReservoirInfoId(stcd); - return item; - }).collect(Collectors.toList()); - fileReservoirInfoService.saveOrUpdateBatch(fileReservoirInfoList); - } - return R.success("操作成功"); - } - - @Override - public R delReservoir(String stcd) { - int cnt = reservoirInfoMapper.deleteByPrimaryKey(stcd); - rrm.deleteByPrimaryKey(stcd); - - //删除图片 - imageReservoirInfoService.remove( - new LambdaQueryWrapper().eq(ImageReservoirInfo::getReservoirInfoId, stcd)); - - //删除文集 - fileReservoirInfoService.remove( - new LambdaQueryWrapper().eq(FileReservoirInfo::getReservoirInfoId, stcd)); - - if (cnt < 1) - return R.fail(500, "删除失败"); - return R.success("删除成功"); - } - - @Override - public IPage bindReservoirList(String name, String areaCode, String riverCode, - List stationIds, Query query) { - Page reservoirInfoPage = new Page<>(query.getCurrent(), query.getSize()); - IPage records = reservoirInfoMapper - .selectByNameAndStationId(name, areaCode, riverCode, stationIds, reservoirInfoPage); - - IPage resultPage = new Page<>(records.getCurrent(), records.getSize()); - List reservoirInfoVos = new ArrayList<>(); - for (ReservoirInfo record : records.getRecords()) { - ReservoirInfoVo reservoirInfoVo = new ReservoirInfoVo(); - BeanUtils.copyProperties(record, reservoirInfoVo); - //查询图片 - List imageReservoirInfoList = imageReservoirInfoService.list(new LambdaQueryWrapper() - .eq(ImageReservoirInfo::getReservoirInfoId, record.getStcd())); - if (CollectionUtils.isNotEmpty(imageReservoirInfoList)) { - reservoirInfoVo.setImageReservoirInfoList(imageReservoirInfoList); - } - - //查询文件 - List fileReservoirInfoList = - fileReservoirInfoService.list(new LambdaQueryWrapper() - .eq(FileReservoirInfo::getReservoirInfoId, record.getStcd())); - if (CollectionUtils.isNotEmpty(fileReservoirInfoList)) { - reservoirInfoVo.setFileReservoirInfoList(fileReservoirInfoList); - } - reservoirInfoVos.add(reservoirInfoVo); - } - resultPage.setRecords(reservoirInfoVos); - return resultPage; - } - - @Override - public IPage bindReservoirList(String name, String areaCode, String riverCode, List stationIds, IPage page) { - IPage records = reservoirInfoMapper - .selectByNameAndStationId(name, areaCode, riverCode, stationIds, page); - return records; - } - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ReservoirRefDataServiceImpl.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ReservoirRefDataServiceImpl.java deleted file mode 100644 index 34c3869..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/ReservoirRefDataServiceImpl.java +++ /dev/null @@ -1,66 +0,0 @@ -package com.hnac.hzims.baseinfo.service.impl; - -import com.alibaba.druid.util.StringUtils; -import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; -import com.hnac.hzims.baseinfo.mapper.ReservoirRefdataMapper; -import com.hnac.hzims.baseinfo.service.ReservoirRefDataService; -import com.hnac.hzims.baseinfo.vo.ReservoirRefdataVo; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class ReservoirRefDataServiceImpl implements ReservoirRefDataService { - @Autowired - private ReservoirRefdataMapper rrm; - - @Override - public R configReservoirRefData(ReservoirRefdata reservoirRefdata) { - String stcd = reservoirRefdata.getStcd(); - int cnt = 0; - ReservoirRefdata model = rrm.selectByPrimaryKey(stcd); - if (model != null && !StringUtils.isEmpty(model.getStcd())) { - cnt = rrm.updateByPrimaryKey(reservoirRefdata); - } else { - cnt = rrm.insert(reservoirRefdata); - } - if (cnt < 1) return R.data("500", "操作失败"); - return R.success("操作成功"); - } - - @Override - public R delReservoirRefData(String rstcd) { - int cnt = rrm.deleteByPrimaryKey(rstcd); - if (cnt < 1) { - return R.fail(500, "删除失败"); - } - return R.success("删除成功"); - } - - @Override - public ReservoirRefdataVo getReservoirRefData(String stcd) { - ReservoirRefdata info = rrm.selectByPrimaryKey(stcd); - ReservoirRefdataVo infoVo = new ReservoirRefdataVo(info); - if (info != null) { - infoVo = new ReservoirRefdataVo(info); - // if (!StringUtils.isEmpty(info.getRefqpoint())) { - // - // BasePoint dataPointDef = FacInfoFactory.getInstance().getDataPointDef(info.getRefqpoint()); - // if (dataPointDef != null) { - // infoVo.setRefqFactory(dataPointDef.getFactoryId()); - // infoVo.setRefqGroupId(dataPointDef.getGroupId()); - // } - // } - // - // if (!StringUtils.isEmpty(info.getRefzpoint())) { - // BasePoint dataPointDef = FacInfoFactory.getInstance().getDataPointDef(info.getRefzpoint()); - // if (dataPointDef != null) { - // infoVo.setRefzFactory(dataPointDef.getFactoryId()); - // infoVo.setRefzGroupId(dataPointDef.getGroupId()); - // } - // } - } - return infoVo; - } - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/StZvarlBServiceImpl.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/StZvarlBServiceImpl.java deleted file mode 100644 index abe6e05..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/StZvarlBServiceImpl.java +++ /dev/null @@ -1,148 +0,0 @@ -package com.hnac.hzims.baseinfo.service.impl; - -import com.alibaba.druid.util.StringUtils; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.baseinfo.entity.StZvarlB; -import com.hnac.hzims.baseinfo.mapper.StZvarlBMapper; -import com.hnac.hzims.baseinfo.service.StZvarlBService; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; -@Service -public class StZvarlBServiceImpl implements StZvarlBService { - @Autowired - private StZvarlBMapper stZvarlBMapper; - - - @Override - public IPage bindStZvarlBs(String stcd, IPage page) { - IPage records = stZvarlBMapper.selectByStcd(stcd, page); - return records; - } - - @Override - public R addOrEditStZvarlB(StZvarlB stZvarlB) { - int cnt = 0; - Integer id = stZvarlB.getId(); - if (id == null) { - cnt = stZvarlBMapper.insert(stZvarlB); - } else { - StZvarlB info = stZvarlBMapper.selectByPrimaryKey(id); - stZvarlB.setModitime(new Date()); - if (info != null && !StringUtils.isEmpty(info.getStcd())) { // edit - cnt = stZvarlBMapper.updateByPrimaryKey(stZvarlB); - } else { // add - cnt = stZvarlBMapper.insert(stZvarlB); - } - } - if (cnt < 1) { - return R.fail(500,"操作失败"); - } - return R.success("操作成功"); - } - - @Override - public R delStZvarlB(Integer id) { - int cnt = stZvarlBMapper.deleteByPrimaryKey(id); - if (cnt < 1) - return R.fail(500,"删除失败"); - return R.success("删除成功"); - - } - - @Override - public BigDecimal getWValue(String stcd,BigDecimal rz) { - List list=selectStZvarlB(stcd); - if(list!=null && !list.isEmpty()){ - return calcResp(list,rz); - }else{ - return BigDecimal.ZERO; - } - - } - - @Override - public List selectStZvarlB(String stcd) { - return stZvarlBMapper.selectStZvarlB(stcd); - } - - @Override - public BigDecimal calcResp(List list, BigDecimal rz) { - List data=calcMaxMin(list,rz); - if(data!=null && data.size()!=2){ - return BigDecimal.ZERO; - } - StZvarlB zvarlB0=data.get(0); - StZvarlB zvarlB1=data.get(1); - return calcRespTmp(zvarlB0, zvarlB1, rz); - } - - //获取小于等于rz最大值 和 大于rz最小值的两个点 - public List calcMaxMin(List list,BigDecimal rz){ - List data=new ArrayList<>(); - //求小于等于rz最大值 - StZvarlB max=calcMax(list,rz); - if(max!=null){ - data.add(max); - } - //求大于rz最小值 - StZvarlB min=calcMin(list,rz); - if(min!=null){ - data.add(min); - } - return data; - } - - StZvarlB calcMax(List list,BigDecimal rz){ - List maxList=new ArrayList<>(); - for (StZvarlB stZvarlB:list){ - BigDecimal tmpRz=stZvarlB.getRz(); - if(tmpRz.compareTo(rz)<=0){ - maxList.add(stZvarlB); - } - } - if(maxList!=null && !maxList.isEmpty()){ - return maxList.get(maxList.size()-1); - }else{ - return null; - } - - - } - - StZvarlB calcMin(List list,BigDecimal rz){ - List minList=new ArrayList<>(); - for (StZvarlB stZvarlB:list){ - BigDecimal tmpRz=stZvarlB.getRz(); - if(tmpRz.compareTo(rz)>0){ - minList.add(stZvarlB); - } - } - if(minList!=null && !minList.isEmpty()){ - return minList.get(0); - }else{ - return null; - } - } - - - - private BigDecimal calcRespTmp(StZvarlB zvarlB0,StZvarlB zvarlB1,BigDecimal rz){ - try{ - BigDecimal data1=rz.subtract(zvarlB0.getRz()); - BigDecimal data2=zvarlB1.getRz().subtract(zvarlB0.getRz()); - BigDecimal data3 = zvarlB1.getW().subtract(zvarlB0.getW());; - Double tmp=Math.abs(data3.doubleValue()); - BigDecimal data4=data1.divide(data2).multiply(new BigDecimal(tmp)); - return zvarlB0.getW().add(data4).setScale(2, BigDecimal.ROUND_HALF_UP); - }catch (Exception e){ - return new BigDecimal("0"); - } - } - -} diff --git a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/WqLrinfBServiceImpl.java b/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/WqLrinfBServiceImpl.java deleted file mode 100644 index a728fb5..0000000 --- a/hzims-service/base-info/src/main/java/com/hnac/hzims/baseinfo/service/impl/WqLrinfBServiceImpl.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.hnac.hzims.baseinfo.service.impl; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.baseinfo.entity.WqLrinfB; -import com.hnac.hzims.baseinfo.mapper.WqLrinfBMapper; -import com.hnac.hzims.baseinfo.service.WqLrinfBService; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import com.alibaba.druid.util.StringUtils; - -@Service -public class WqLrinfBServiceImpl implements WqLrinfBService { - @Autowired - private WqLrinfBMapper wbm; - - - @Override - public IPage bindWqLrinfBs(String lrnm, Page page) { - lrnm = lrnm == null ? "" : lrnm; -// PageBounds pageBounds = new PageBounds(pageParam.getPageNo(), pageParam.getPageSize()); - IPage records = wbm.selectByLrnm(lrnm, page); - return records; - } - - @Override - public WqLrinfB getWqLrinfB(String lrcd) { - return wbm.selectByPrimaryKey(lrcd); - } - - @Override - public R delWqLrinfB(String lrcd) { - int cnt = wbm.deleteByPrimaryKey(lrcd); - if (cnt < 1) - return R.fail(500,"删除失败"); - return R.fail("删除成功"); - } - - @Override - public R editWqLrinfB(WqLrinfB wqLrinfB) { - int cnt = 0; - String lrcd = wqLrinfB.getLrcd(); - WqLrinfB model = wbm.selectByPrimaryKey(lrcd); - if (model != null && !StringUtils.isEmpty(model.getLrcd())) { - cnt = wbm.updateByPrimaryKey(wqLrinfB); - } else { - return R.fail(500,"湖库对象不存在"); - } - if (cnt < 1) - return R.fail(500,"编辑操作失败"); - return R.success("操作成功"); - } - - @Override - public R addWqLrinfB(WqLrinfB wqLrinfB) { - int cnt = 0; - String lrcd = wqLrinfB.getLrcd(); - WqLrinfB model = wbm.selectByPrimaryKey(lrcd); - if (model == null || StringUtils.isEmpty(model.getLrcd())) { - cnt = wbm.insert(wqLrinfB); - } else { - return R.fail(500,"湖库编码已存在"); - } - if (cnt < 1) - return R.fail(500,"添加失败"); - return R.success("操作成功"); - } - -} diff --git a/hzims-service/base-info/src/main/resources/application-dev.yml b/hzims-service/base-info/src/main/resources/application-dev.yml deleted file mode 100644 index 50a4ea7..0000000 --- a/hzims-service/base-info/src/main/resources/application-dev.yml +++ /dev/null @@ -1,30 +0,0 @@ -#服务器端口 -server: - port: 8200 - -#数据源配置 -#spring: -# datasource: -# url: ${blade.datasource.dev.url} -# username: ${blade.datasource.dev.username} -# password: ${blade.datasource.dev.password} - -spring: - #排除DruidDataSourceAutoConfigure - autoconfigure: - exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - datasource: - dynamic: - #设置默认的数据源或者数据源组,默认值即为master - primary: master - datasource: - master: - url: jdbc:mysql://127.0.0.1:3306/equipment?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true - username: root - password: 123456 - slave: - url: jdbc:mysql://127.0.0.1:3306/equipment?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true - username: root - password: 123456 -demo: - name: aaa diff --git a/hzims-service/base-info/src/main/resources/application-prod.yml b/hzims-service/base-info/src/main/resources/application-prod.yml deleted file mode 100644 index da89262..0000000 --- a/hzims-service/base-info/src/main/resources/application-prod.yml +++ /dev/null @@ -1,28 +0,0 @@ -#服务器端口 -server: - port: 8200 - -#数据源配置 -#spring: -# datasource: -# url: ${blade.datasource.prod.url} -# username: ${blade.datasource.prod.username} -# password: ${blade.datasource.prod.password} - -spring: - #排除DruidDataSourceAutoConfigure - autoconfigure: - exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - datasource: - dynamic: - #设置默认的数据源或者数据源组,默认值即为master - primary: master - datasource: - master: - url: ${blade.datasource.demo.master.url} - username: ${blade.datasource.demo.master.username} - password: ${blade.datasource.demo.master.password} - slave: - url: ${blade.datasource.demo.slave.url} - username: ${blade.datasource.demo.slave.username} - password: ${blade.datasource.demo.slave.password} diff --git a/hzims-service/base-info/src/main/resources/application.yml b/hzims-service/base-info/src/main/resources/application.yml deleted file mode 100644 index aa52542..0000000 --- a/hzims-service/base-info/src/main/resources/application.yml +++ /dev/null @@ -1,21 +0,0 @@ -spring: - profiles: - active: dfy - datasource: - url: jdbc:mysql://175.6.40.67:50311/blade_huoshan_business?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true - username: root - password: 123 - driver-class-name: com.mysql.jdbc.Driver -#mybatis-plus配置 -mybatis-plus: - mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml - #实体扫描,多个package用逗号或者分号分隔 -# typeAliasesPackage: com.hnac.hzims.**.entity - -#swagger扫描路径配置 -swagger: - base-packages: - - org.springbalde - - com.hnac - - diff --git a/hzims-service/dam-safety/pom.xml b/hzims-service/dam-safety/pom.xml deleted file mode 100644 index 244cf7c..0000000 --- a/hzims-service/dam-safety/pom.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service - 4.0.0-SNAPSHOT - - - dam-safety - - - 8 - 8 - UTF-8 - - - - - - com.hnac.hzims - dam-safety-api - ${hzims.project.version} - - - org.springblade - blade-core-boot - - - org.springblade - blade-starter-swagger - - - org.springblade - blade-starter-oss-all - - - com.baomidou - dynamic-datasource-spring-boot-starter - - - org.springblade - blade-core-test - test - - - org.springblade - blade-core-auto - compile - - - com.hnac.hzinfo.data - hzinfo-data-sdk - - - org.springblade - blade-common - - - com.hnac.hzims - common-api - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/DamSafetyApplication.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/DamSafetyApplication.java deleted file mode 100644 index e86c3e0..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/DamSafetyApplication.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.hnac.hzims.damsafety; - -import org.mybatis.spring.annotation.MapperScan; -import org.springblade.core.cloud.feign.EnableBladeFeign; -import org.springblade.core.launch.BladeApplication; -import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; -import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.context.annotation.ComponentScan; -import org.springframework.scheduling.annotation.EnableScheduling; - -//大坝安全模块 -@EnableBladeFeign(basePackages = {"org.springblade","com.hnac"}) -@SpringCloudApplication -@MapperScan("com.hnac.hzims.**.mapper.**") -@EnableScheduling -@ComponentScan(basePackages = {"com.hnac.hzims.*"}) -public class DamSafetyApplication extends SpringBootServletInitializer { - public final static String APP_NAME = "dam-safety"; - - - static { - System.setProperty("spring.cloud.nacos.discovery.server-addr", "http://192.168.65.105:8848"); - System.setProperty("spring.cloud.nacos.config.server-addr", "http://192.168.65.105:8848"); - System.setProperty("spring.cloud.nacos.username", "nacos"); - System.setProperty("spring.cloud.nacos.password", "nacos"); - } - - - - public static void main(String[] args) { -// System.setProperty("nacos.standalone", "true"); - BladeApplication.run(APP_NAME, DamSafetyApplication.class, args); - } - - @Override - protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { - return BladeApplication.createSpringApplicationBuilder(builder, APP_NAME, DamSafetyApplication.class); - } -} \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/DamSafetyDataController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/DamSafetyDataController.java deleted file mode 100644 index 1cb4de9..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/DamSafetyDataController.java +++ /dev/null @@ -1,211 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.hnac.hzims.damsafety.entity.TProjInfo; -import com.hnac.hzims.damsafety.service.IDamSafetyDataService; -import com.hnac.hzims.damsafety.service.ITProjInfoService; -import com.hnac.hzims.entity.Report; -import com.hnac.hzims.enums.QueryDateTypeEnum; -import com.hnac.hzims.util.CommonUtil; -import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; -import com.hnac.hzinfo.datasearch.analyse.vo.AnalyzeInstanceFieldVO; -import com.hnac.hzinfo.sdk.analyse.vo.DeviceSinglePropsValueVO; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiImplicitParam; -import io.swagger.annotations.ApiImplicitParams; -import io.swagger.annotations.ApiOperation; -import lombok.AllArgsConstructor; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.tool.api.R; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; - -import java.util.*; - -@RestController -@RequestMapping("/damSafety/data") -@AllArgsConstructor -@Api(value = "大坝安全数据查询接口", tags = "大坝安全数据查询接口") -public class DamSafetyDataController extends BladeController implements CacheNames { - private final IDamSafetyDataService damSafetyDataService; - - - @ApiOperation("实时数据接口") - @RequestMapping(value = "/getRealData", method = RequestMethod.GET) - public R getRealData(String deviceCode){ - List data = damSafetyDataService.getRealData(deviceCode); - return R.data(data,"查询成功"); - } - - //过程线 - @ApiOperation("基础数据报表,数据查询和统计分析使用接口") - @RequestMapping(value = "/getReportData", method = RequestMethod.GET) - public R getReportData(String deviceCode, String beginSpt, String endSpt, String type, Integer accessRules,String col){ - Map res= CommonUtil.getStartEnd(beginSpt,endSpt); - if(res == null){ - return R.data(500,false, "日期格式错误"); - } - //查询基础数据 - String[] deviceCodes=deviceCode.split(","); - Report report = damSafetyDataService.getReportData(Arrays.asList(deviceCodes),type,accessRules, res.get("begin"), res.get("end"),col); - return R.data(report,"查询成功"); - } - - @ApiOperation("大坝浸润线") - @RequestMapping(value = "/getSeepageLine", method = RequestMethod.GET) - public R getSeepageLine(String deviceCode, String beginSpt, String endSpt,String col){ - Map res= CommonUtil.getStartEnd(beginSpt,endSpt); - if(res == null){ - return R.data(500,false, "日期格式错误"); - } - //查询基础数据 - String[] deviceCodes=deviceCode.split(","); - List data = damSafetyDataService.getSeepageLine(Arrays.asList(deviceCodes), res.get("begin"), res.get("end"),col); - return R.data(data,"查询成功"); - } - - @ApiOperation("用于渗压水位过程线,相同业务场景也可用此接口") - @RequestMapping(value = "/getReportDataByDeviceCode", method = RequestMethod.GET) - public R getReportData(String deviceCode, String beginSpt, String endSpt, String type, Integer accessRules){ - Map res= CommonUtil.getStartEnd(beginSpt,endSpt); - if(res == null){ - return R.data(500,false, "日期格式错误"); - } - //查询基础数据 - Report report = damSafetyDataService.getReportDataByDeviceCode(deviceCode,type,accessRules, res.get("begin"), res.get("end")); - return R.data(report,"查询成功"); - } - - @ApiOperation("表头列") - @RequestMapping(value = "/getTableHead", method = RequestMethod.GET) - public R getTableHead(String stcd) { - //查询基础数据 - List report = damSafetyDataService.getSignages(stcd); - return R.data(report,"查询成功"); - } - - //==============================报表接口========================== - @ApiOperation("渗压年报表") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "deviceCode", value = "仪器模型code", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "year", value = "年份", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "col", value = "传渗压属性字段", paramType = "query", dataType = "string") - }) - @RequestMapping(value = "/getYearSpprReport", method = RequestMethod.GET) - public R getYearSpprReport(String rscd,String deviceCode,String year,String col) { - Map res= CommonUtil.getStartEnd(year+"-01-01 00:00:00",year+"-12-31 23:59:59"); - //查询基础数据 - String[] deviceCodes=deviceCode.split(","); - Map data = damSafetyDataService.getYearSpprReport(rscd,Arrays.asList(deviceCodes),res.get("begin"), res.get("end"),col); - return R.data(data,"查询成功"); - } - - //==============================报表接口========================== - @ApiOperation("渗流年报表") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "deviceCode", value = "仪器模型code", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "year", value = "年份", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "col", value = "传渗流属性字段", paramType = "query", dataType = "string") - }) - @RequestMapping(value = "/getYearSpqnReport", method = RequestMethod.GET) - public R getYearSpqnReport(String rscd,String deviceCode,String year,String col) { - Map res= CommonUtil.getStartEnd(year+"-01-01 00:00:00",year+"-12-31 23:59:59"); - //查询基础数据 - String[] deviceCodes=deviceCode.split(","); - Map data = damSafetyDataService.getYearSpprReport(rscd,Arrays.asList(deviceCodes),res.get("begin"), res.get("end"),col); - return R.data(data,"查询成功"); - } - - - @ApiOperation("水平位移年报表") - @ApiImplicitParams({ - @ApiImplicitParam(name = "deviceCode", value = "仪器模型code", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "year", value = "年份", paramType = "query", dataType = "string") - }) - @RequestMapping(value = "/getYearHrdsReport", method = RequestMethod.GET) - public R getYearHrdsReport(String deviceCode,String year) { - Map res= CommonUtil.getStartEnd(year+"-01-01 00:00:00",year+"-12-31 23:59:59"); - //查询基础数据 - String[] deviceCodes=deviceCode.split(","); - Map data = damSafetyDataService.getYearHrdsReport(Arrays.asList(deviceCodes),res.get("begin"), res.get("end")); - return R.data(data,"查询成功"); - } - - @ApiOperation("垂直位移年报表") - @ApiImplicitParams({ - @ApiImplicitParam(name = "deviceCode", value = "仪器模型code", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "year", value = "年份", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "col", value = "传垂直位移属性字段", paramType = "query", dataType = "string") - }) - @RequestMapping(value = "/getYearVrdsReport", method = RequestMethod.GET) - public R getYearVrdsReport(String deviceCode,String year,String col) { - Map res= CommonUtil.getStartEnd(year+"-01-01 00:00:00",year+"-12-31 23:59:59"); - //查询基础数据 - String[] deviceCodes=deviceCode.split(","); - Report data = damSafetyDataService.getYearVrdsReport(Arrays.asList(deviceCodes),res.get("begin"), res.get("end"),col); - return R.data(data,"查询成功"); - } - - @ApiOperation("压力(应力)年报表") - @ApiImplicitParams({ - @ApiImplicitParam(name = "deviceCode", value = "仪器模型code", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "year", value = "年份", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "col", value = "传垂直位移属性字段", paramType = "query", dataType = "string") - }) - @RequestMapping(value = "/getYearStressReport", method = RequestMethod.GET) - public R getYearStressReport(String deviceCode,String year,String col) { - Map res= CommonUtil.getStartEnd(year+"-01-01 00:00:00",year+"-12-31 23:59:59"); - //查询基础数据 - String[] deviceCodes=deviceCode.split(","); - Report data = damSafetyDataService.getYearVrdsReport(Arrays.asList(deviceCodes),res.get("begin"), res.get("end"),col); - return R.data(data,"查询成功"); - } - - private final ITProjInfoService tProjInfoService; - @ApiOperation("大坝报表 无工程竣工日期将默认查询三年的历史数据") - @ApiImplicitParams({ - @ApiImplicitParam(name = "deviceCode", value = "仪器模型code", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "queryType", value = "year 或 month", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "yearMonth", value = "年份或者年月", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "col", value = "属性字段", paramType = "query", dataType = "string") - }) - @RequestMapping(value = "/getDamReport", method = RequestMethod.GET) - public R getDamReport(String deviceCode,String queryType,String yearMonth,String col) { - Map res = CommonUtil.getStartEnd(yearMonth + "-01-01 00:00:00", yearMonth + "-12-31 23:59:59"); - String type="month"; - if(QueryDateTypeEnum.MONTH.getQueryDateType().equals(queryType)) { - String yearMonthDay = CommonUtil.getLastDayOfMonth(yearMonth); - type="day"; - res = CommonUtil.getStartEnd(yearMonth + "-01 00:00:00", yearMonthDay + " 23:59:59"); - } - - List dd=tProjInfoService.list(); - int yearGap=3; - if(dd!=null && !dd.isEmpty()){ - Date completeDate=dd.get(0).getCompleteDate(); - if(completeDate!=null) { - yearGap = CommonUtil.getYearGap(completeDate, res.get("begin")); - } - } - //查询基础数据 - String[] deviceCodes=deviceCode.split(","); - String[] cols=col.split(","); - if(cols.length == 1) {//渗压、垂直位移 - Map data = damSafetyDataService.getDamReport(Arrays.asList(deviceCodes),type, res.get("begin"), res.get("end"), cols[0],yearGap); - return R.data(data,"查询成功"); - } - - if(cols.length == 2) {//水平位移 - Map xData = damSafetyDataService.getDamReport(Arrays.asList(deviceCodes),type, res.get("begin"), res.get("end"), cols[0],yearGap); - Map yData = damSafetyDataService.getDamReport(Arrays.asList(deviceCodes),type, res.get("begin"), res.get("end"), cols[1],yearGap); - Map data=new HashMap<>(); - data.put("xData",xData); - data.put("yData",yData); - return R.data(data,"查询成功"); - } - return null; - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/FileUploadController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/FileUploadController.java deleted file mode 100644 index c0afe21..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/FileUploadController.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.hnac.hzims.damsafety.service.IFileUploadService; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import lombok.AllArgsConstructor; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; -import org.springframework.web.multipart.MultipartFile; - -import java.util.List; - -@RestController -@RequestMapping("/damSafety/fileUpload") -@AllArgsConstructor -@Api(value = "大坝文件上传", tags = "大坝文件上传接口") -public class FileUploadController { - - @Autowired - IFileUploadService iImageUploadService; - - @RequestMapping(value="/uploadFile", method = {RequestMethod.POST}) - @ApiOperation(notes ="上传单个文件", value = "上传单个文件") - public R addImage(@RequestParam("file") MultipartFile file){ - try { - Object path = iImageUploadService.addFile(file,"fileInfo"); - if (path!=null) { - return R.data(path); - } else { - return R.fail("操作失败"); - } - }catch (Exception e) { - return R.fail("操作失败"); - } - } - - @RequestMapping(value="/uploadFiles", method = {RequestMethod.POST}) - @ApiOperation(notes ="上传多文件", value = "上传多文件") - public R addFiles(@RequestParam("files") MultipartFile[] files){ - try { - List paths = iImageUploadService.addFiles(files,"fileInfo"); - if (paths!=null) { - return R.data(paths); - } else { - return R.fail("操作失败"); - } - }catch (Exception e) { - return R.fail("操作失败"); - } - } - - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TBuildingController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TBuildingController.java deleted file mode 100644 index 69ad800..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TBuildingController.java +++ /dev/null @@ -1,124 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.TBuilding; -import com.hnac.hzims.damsafety.service.ITBuildingService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.TBuildingVo; -import com.hnac.hzims.damsafety.wrapper.TBuildingWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/tBuilding") -@AllArgsConstructor -@Api(value = "建筑物", tags = "建筑物接口") -public class TBuildingController extends BladeController implements CacheNames { - private final ITBuildingService tBuildingService; - - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "name", value = "建筑物名称", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入tBuilding") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionTBuilding(param); - IPage pages = tBuildingService.page(Condition.getPage(query), wrapper); - return R.data(TBuildingWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "name", value = "建筑物名称", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入tBuilding") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionTBuilding(param); - List list = tBuildingService.list(wrapper); - return R.data(TBuildingWrapper.build().listVO(list)); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入tBuilding") - public R detail(TBuilding tBuilding) { - TBuilding detail = tBuildingService.getOne(Condition.getQueryWrapper(tBuilding)); - return R.data(TBuildingWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入tBuilding") - public R save(@RequestBody TBuilding tBuilding) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - - wrapper.eq(TBuilding::getRscd,tBuilding.getRscd()); - wrapper.eq(TBuilding::getName,tBuilding.getName()); - List list = tBuildingService.list(wrapper); - if(list!=null && !list.isEmpty()){ - return R.fail("此水库中建筑物名称已存在"); - } - return R.status(tBuildingService.save(tBuilding)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入tBuilding") - public R update(@RequestBody TBuilding tBuilding) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - wrapper.eq(TBuilding::getRscd,tBuilding.getRscd()); - wrapper.eq(TBuilding::getName,tBuilding.getName()); - wrapper.ne(TBuilding::getId,tBuilding.getId()); - List list = tBuildingService.list(wrapper); - if(list!=null && !list.isEmpty()){ - return R.fail("此水库中建筑物名称已存在"); - } - return R.status(tBuildingService.updateById(tBuilding)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = tBuildingService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TProjInfoController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TProjInfoController.java deleted file mode 100644 index 05154fa..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TProjInfoController.java +++ /dev/null @@ -1,131 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.TProjInfo; -import com.hnac.hzims.damsafety.service.ITProjInfoService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.TProjInfoVo; -import com.hnac.hzims.damsafety.wrapper.TProjInfoWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/tProjInfo") -@AllArgsConstructor -@Api(value = "工程信息", tags = "工程信息接口") -public class TProjInfoController extends BladeController implements CacheNames { - - private final ITProjInfoService tProjInfoService; - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "projName", value = "工程名称", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "projCode", value = "工程编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入tProjInfo") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionTProjInfo(param); - IPage pages = tProjInfoService.page(Condition.getPage(query), wrapper); - return R.data(TProjInfoWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "projName", value = "工程名称", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "projCode", value = "工程编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入tProjInfo") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionTProjInfo(param); - List list = tProjInfoService.list(wrapper); - return R.data(TProjInfoWrapper.build().listVO(list)); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入tProjInfo") - public R detail(TProjInfo tProjInfo) { - TProjInfo detail = tProjInfoService.getOne(Condition.getQueryWrapper(tProjInfo)); - return R.data(TProjInfoWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入tProjInfo") - public R save(@RequestBody TProjInfo tProjInfo) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - wrapper.eq(TProjInfo::getProjCode,tProjInfo.getProjCode()); - List list = tProjInfoService.list(wrapper); - if(list!=null && !list.isEmpty()){ - return R.fail("工程编码已存在"); - } - - wrapper=new LambdaQueryWrapper(); - wrapper.eq(TProjInfo::getProjName,tProjInfo.getProjName()); - list = tProjInfoService.list(wrapper); - if(list!=null && !list.isEmpty()){ - return R.fail("工程名称已存在"); - } - - return R.status(tProjInfoService.save(tProjInfo)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入tProjInfo") - public R update(@RequestBody TProjInfo tProjInfo) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - wrapper.eq(TProjInfo::getProjCode,tProjInfo.getProjCode()); - wrapper.ne(TProjInfo::getId,tProjInfo.getId()); - List list = tProjInfoService.list(wrapper); - if(list!=null && !list.isEmpty()){ - return R.fail("工程编码已存在"); - } - return R.status(tProjInfoService.updateById(tProjInfo)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = tProjInfoService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TSectionConfigController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TSectionConfigController.java deleted file mode 100644 index 2082b75..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/TSectionConfigController.java +++ /dev/null @@ -1,114 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.TSectionConfig; -import com.hnac.hzims.damsafety.service.ITSectionConfigService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/tSectionConfig") -@AllArgsConstructor -@Api(value = "断面配置", tags = "断面配置接口") -public class TSectionConfigController extends BladeController implements CacheNames { - private final ITSectionConfigService tSectionConfigService; - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测点编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "sectionNo", value = "断面编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入TSectionConfig") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionTSectionConfig(param); - IPage pages = tSectionConfigService.page(Condition.getPage(query), wrapper); - return R.data(pages); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测点编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "sectionNo", value = "断面编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入TSectionConfig") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionTSectionConfig(param); - List list = tSectionConfigService.list(wrapper); - return R.data(list); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入tSectionConfig") - public R detail(TSectionConfig tSectionConfig) { - TSectionConfig detail = tSectionConfigService.getOne(Condition.getQueryWrapper(tSectionConfig)); - return R.data(detail); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入tSectionConfig") - public R save(@RequestBody TSectionConfig tSectionConfig) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(TSectionConfig::getStcd,tSectionConfig.getStcd()); - List list = tSectionConfigService.list(wrapper); - if(list!=null && !list.isEmpty()){ - return R.fail("该测点编号配置已存在"); - } - - return R.status(tSectionConfigService.save(tSectionConfig)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入tSectionConfig") - public R update(@RequestBody TSectionConfig tSectionConfig) { - return R.status(tSectionConfigService.updateById(tSectionConfig)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "stcd") - public R remove(@ApiParam(value = "测点编号集合") @RequestParam String stcd) { - List list=Func.toStrList(stcd); - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - wrapper.in(TSectionConfig::getStcd,list); - boolean temp = tSectionConfigService.delete(wrapper); - return R.status(temp); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDamsBController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDamsBController.java deleted file mode 100644 index 0399420..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDamsBController.java +++ /dev/null @@ -1,123 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.WrpDamsB; -import com.hnac.hzims.damsafety.service.IWrpDamsBService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/wrpDamsB") -@AllArgsConstructor -@Api(value = "断面特征点信息", tags = "断面特征点信息接口") -public class WrpDamsBController extends BladeController implements CacheNames { - private final IWrpDamsBService wrpDamsBService; - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damscd", value = "特征点编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damsnm", value = "特征点名称", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入wrpDamsB") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpDamsB(param); - IPage pages = wrpDamsBService.page(Condition.getPage(query), wrapper); - return R.data(pages); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damscd", value = "特征点编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damsnm", value = "特征点名称", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入wrpDamsB") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionWrpDamsB(param); - List list = wrpDamsBService.list(wrapper); - return R.data(list); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入wrpDamsB") - public R detail(WrpDamsB wrpDamsB) { - WrpDamsB detail = wrpDamsBService.getOne(Condition.getQueryWrapper(wrpDamsB)); - return R.data(detail); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入wrpDamsB") - public R save(@RequestBody WrpDamsB wrpDamsB) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpDamsB::getDamscd,wrpDamsB.getDamscd()); - List list = wrpDamsBService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"特征点编号已存在"); - } - - wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpDamsB::getDamsnm,wrpDamsB.getDamsnm()); - list = wrpDamsBService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"特征点名称已存在"); - } - - return R.status(wrpDamsBService.save(wrpDamsB)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入wrpDamsB") - public R update(@RequestBody WrpDamsB wrpDamsB) { - return R.status(wrpDamsBService.updateById(wrpDamsB)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "damscd") - public R remove(@ApiParam(value = "特征点编号集合") @RequestParam String damscd) { - List list=Func.toStrList(damscd); - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - wrapper.in(WrpDamsB::getDamscd,list); - boolean temp = wrpDamsBService.delete(wrapper); - return R.status(temp); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrhrdsmpController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrhrdsmpController.java deleted file mode 100644 index e913baa..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrhrdsmpController.java +++ /dev/null @@ -1,135 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.WrpDfrSrhrdsmp; -import com.hnac.hzims.damsafety.service.IWrpDfrSrhrdsmpService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.WrpDfrSrhrdsmpVo; -import com.hnac.hzims.damsafety.wrapper.WrpDfrSrhrdsmpWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.apache.commons.lang3.StringUtils; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.utils.AuthUtil; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import javax.servlet.http.HttpServletRequest; -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/wrpDfrSrhrdsmp") -@AllArgsConstructor -@Api(value = "水平位移监测测点", tags = "水平位移监测测点接口") -public class WrpDfrSrhrdsmpController extends BladeController implements CacheNames { - private final IWrpDfrSrhrdsmpService wrpDfrSrhrdsmpService; - - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入wrpDfrSrhrdsmp") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpDfrSrhrdsmp(param); - IPage pages = wrpDfrSrhrdsmpService.page(Condition.getPage(query), wrapper); - return R.data(WrpDfrSrhrdsmpWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入wrpDfrSrhrdsmp") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionWrpDfrSrhrdsmp(param); - List list = wrpDfrSrhrdsmpService.list(wrapper); - return R.data(WrpDfrSrhrdsmpWrapper.build().listVO(list)); - } - - - /** - * 查询水平位移断面 - */ - @GetMapping("/section") - @ApiOperationSupport(order = 2) - @ApiOperation(value = "查询水平位移断面") - public R>> section(HttpServletRequest request,String rscd) { - String deptId=request.getHeader("dept-id"); - if(StringUtils.isBlank(deptId)){ - deptId = AuthUtil.getDeptId(); - } - List> list = wrpDfrSrhrdsmpService.section(deptId,rscd); - //返回断面加仪器数据 - return R.data(list,"查询断面成功"); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入wrpDfrSrhrdsmp") - public R detail(WrpDfrSrhrdsmp wrpDfrSrhrdsmp) { - WrpDfrSrhrdsmp detail = wrpDfrSrhrdsmpService.getOne(Condition.getQueryWrapper(wrpDfrSrhrdsmp)); - return R.data(WrpDfrSrhrdsmpWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入wrpDfrSrhrdsmp") - public R save(@RequestBody WrpDfrSrhrdsmp wrpDfrSrhrdsmp) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpDfrSrhrdsmp::getMpcd,wrpDfrSrhrdsmp.getMpcd()); - List list = wrpDfrSrhrdsmpService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"测点编号已存在"); - } - return R.status(wrpDfrSrhrdsmpService.save(wrpDfrSrhrdsmp)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入wrpDfrSrhrdsmp") - public R update(@RequestBody WrpDfrSrhrdsmp wrpDfrSrhrdsmp) { - return R.status(wrpDfrSrhrdsmpService.updateById(wrpDfrSrhrdsmp)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = wrpDfrSrhrdsmpService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrvrdsbpController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrvrdsbpController.java deleted file mode 100644 index ed4c9ca..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrvrdsbpController.java +++ /dev/null @@ -1,117 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; -import com.hnac.hzims.damsafety.service.IWrpDfrSrvrdsbpService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.WrpDfrSrvrdsbpVo; -import com.hnac.hzims.damsafety.wrapper.WrpDfrSrvrdsbpWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/wrpDfrSrvrdsbp") -@AllArgsConstructor -@Api(value = "监测基点表", tags = "监测基点接口") -public class WrpDfrSrvrdsbpController extends BladeController implements CacheNames { - private final IWrpDfrSrvrdsbpService wrpDfrSrvrdsbpService; - - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库代码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "hycncd", value = "水工建筑物id", paramType = "query", dataType = "long"), - @ApiImplicitParam(name = "bpcd", value = "基点编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "bptp", value = "基点类型", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入WrpDfrSrvrdsbp") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpDfrSrvrdsbp(param); - IPage pages = wrpDfrSrvrdsbpService.page(Condition.getPage(query), wrapper); - return R.data(WrpDfrSrvrdsbpWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库代码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "hycncd", value = "水工建筑物id", paramType = "query", dataType = "long"), - @ApiImplicitParam(name = "bpcd", value = "基点编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "bptp", value = "基点类型", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入WrpDfrSrvrdsbp") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionWrpDfrSrvrdsbp(param); - List list = wrpDfrSrvrdsbpService.list(wrapper); - return R.data(WrpDfrSrvrdsbpWrapper.build().listVO(list)); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入wrpDfrSrvrdsbp") - public R detail(WrpDfrSrvrdsbp wrpDfrSrvrdsbp) { - WrpDfrSrvrdsbp detail = wrpDfrSrvrdsbpService.getOne(Condition.getQueryWrapper(wrpDfrSrvrdsbp)); - return R.data(WrpDfrSrvrdsbpWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入wrpDfrSrvrdsbp") - public R save(@RequestBody WrpDfrSrvrdsbp wrpDfrSrvrdsbp) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpDfrSrvrdsbp::getBpcd,wrpDfrSrvrdsbp.getBpcd()); - List list = wrpDfrSrvrdsbpService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"基点编号已存在"); - } - return R.status(wrpDfrSrvrdsbpService.save(wrpDfrSrvrdsbp)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入wrpDfrSrvrdsbp") - public R update(@RequestBody WrpDfrSrvrdsbp wrpDfrSrvrdsbp) { - return R.status(wrpDfrSrvrdsbpService.updateById(wrpDfrSrvrdsbp)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = wrpDfrSrvrdsbpService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrvrdsmpController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrvrdsmpController.java deleted file mode 100644 index 2b5bcdb..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpDfrSrvrdsmpController.java +++ /dev/null @@ -1,135 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsmp; -import com.hnac.hzims.damsafety.service.IWrpDfrSrvrdsmpService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.WrpDfrSrvrdsmpVo; -import com.hnac.hzims.damsafety.wrapper.WrpDfrSrvrdsmpWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.apache.commons.lang3.StringUtils; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.utils.AuthUtil; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import javax.servlet.http.HttpServletRequest; -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/wrpDfrSrvrdsmp") -@AllArgsConstructor -@Api(value = "垂直位移监测测点", tags = "垂直位移监测测点接口") -public class WrpDfrSrvrdsmpController extends BladeController implements CacheNames { - private final IWrpDfrSrvrdsmpService wrpDfrSrvrdsmpService; - - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入wrpDfrSrvrdsmp") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpDfrSrvrdsmp(param); - IPage pages = wrpDfrSrvrdsmpService.page(Condition.getPage(query), wrapper); - return R.data(WrpDfrSrvrdsmpWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入wrpDfrSrvrdsmp") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionWrpDfrSrvrdsmp(param); - List list = wrpDfrSrvrdsmpService.list(wrapper); - return R.data(WrpDfrSrvrdsmpWrapper.build().listVO(list)); - } - - - /** - * 查询垂直位移断面 - */ - @GetMapping("/section") - @ApiOperationSupport(order = 2) - @ApiOperation(value = "查询垂直位移断面") - public R>> section(HttpServletRequest request,String rscd) { - String deptId=request.getHeader("dept-id"); - if(StringUtils.isBlank(deptId)){ - deptId = AuthUtil.getDeptId(); - } - List> list = wrpDfrSrvrdsmpService.section(deptId,rscd); - //返回断面加仪器数据 - return R.data(list,"查询断面成功"); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入wrpDfrSrvrdsmp") - public R detail(WrpDfrSrvrdsmp wrpDfrSrvrdsmp) { - WrpDfrSrvrdsmp detail = wrpDfrSrvrdsmpService.getOne(Condition.getQueryWrapper(wrpDfrSrvrdsmp)); - return R.data(WrpDfrSrvrdsmpWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入wrpDfrSrvrdsmp") - public R save(@RequestBody WrpDfrSrvrdsmp wrpDfrSrvrdsmp) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpDfrSrvrdsmp::getMpcd,wrpDfrSrvrdsmp.getMpcd()); - List list = wrpDfrSrvrdsmpService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"测点编号已存在"); - } - return R.status(wrpDfrSrvrdsmpService.save(wrpDfrSrvrdsmp)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入wrpDfrSrvrdsmp") - public R update(@RequestBody WrpDfrSrvrdsmp wrpDfrSrvrdsmp) { - return R.status(wrpDfrSrvrdsmpService.updateById(wrpDfrSrvrdsmp)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = wrpDfrSrvrdsmpService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSectionBController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSectionBController.java deleted file mode 100644 index 04099e5..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSectionBController.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright Example, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * Example, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the dreamlu.net developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: Chill 庄骞 (smallchill@163.com) - */ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.WrpSectionB; -import com.hnac.hzims.damsafety.service.IWrpSectionBService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.WrpSectionBVO; -import com.hnac.hzims.damsafety.wrapper.WrpSectionBWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import java.util.List; -import java.util.Map; - -/** - * 大坝断面控制器 - * - * @author Chill - */ -@RestController -@RequestMapping("/damSafety/wrpSectionB") -@AllArgsConstructor -@Api(value = "大坝断面", tags = "大坝断面接口") -public class WrpSectionBController extends BladeController implements CacheNames { - - private final IWrpSectionBService wrpSectionBService; - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "buildingId", value = "建筑物id", paramType = "query", dataType = "long"), - @ApiImplicitParam(name = "damcd", value = "断面编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damnm", value = "断面名称", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "wallType", value = "防渗墙类型", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入wrpSectionB") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpSectionB(param); - IPage pages = wrpSectionBService.page(Condition.getPage(query), wrapper); - return R.data(WrpSectionBWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "buildingId", value = "建筑物id", paramType = "query", dataType = "long"), - @ApiImplicitParam(name = "damcd", value = "断面编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damnm", value = "断面名称", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "wallType", value = "防渗墙类型", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入wrpSectionB") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionWrpSectionB(param); - List list = wrpSectionBService.list(wrapper); - return R.data(WrpSectionBWrapper.build().listVO(list)); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入wrpSectionB") - public R detail(WrpSectionB WrpSectionB) { - WrpSectionB detail = wrpSectionBService.getOne(Condition.getQueryWrapper(WrpSectionB)); - return R.data(WrpSectionBWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入wrpSectionB") - public R save(@RequestBody WrpSectionB wrpSectionB) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpSectionB::getDamcd,wrpSectionB.getDamcd()); - List list = wrpSectionBService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"断面编码已存在"); - } - - wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpSectionB::getDamnm,wrpSectionB.getDamnm()); - list = wrpSectionBService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"断面名称已存在"); - } - - return R.status(wrpSectionBService.save(wrpSectionB)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入wrpSectionB") - public R update(@RequestBody WrpSectionB wrpSectionB) { - return R.status(wrpSectionBService.updateById(wrpSectionB)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = wrpSectionBService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgPztbController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgPztbController.java deleted file mode 100644 index 771f2c7..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgPztbController.java +++ /dev/null @@ -1,133 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.WrpSpgPztb; -import com.hnac.hzims.damsafety.service.IWrpSpgPztbService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.WrpSpgPztbVo; -import com.hnac.hzims.damsafety.wrapper.WrpSpgPztbWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.apache.commons.lang3.StringUtils; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.utils.AuthUtil; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import javax.servlet.http.HttpServletRequest; -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/wrpSpgPztb") -@AllArgsConstructor -@Api(value = "测压管测点", tags = "测压管测点接口") -public class WrpSpgPztbController extends BladeController implements CacheNames { - private final IWrpSpgPztbService wrpSpgPztbService; - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入wrpSpgPztb") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpSpgPztb(param); - IPage pages = wrpSpgPztbService.page(Condition.getPage(query), wrapper); - return R.data(WrpSpgPztbWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入wrpSpgPztb") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionWrpSpgPztb(param); - List list = wrpSpgPztbService.list(wrapper); - return R.data(WrpSpgPztbWrapper.build().listVO(list)); - } - - /** - * 查询测压管断面 - */ - @GetMapping("/section") - @ApiOperationSupport(order = 2) - @ApiOperation(value = "查询测压管断面") - public R>> section(HttpServletRequest request,String rscd) { - String deptId=request.getHeader("dept-id"); - if(StringUtils.isBlank(deptId)){ - deptId = AuthUtil.getDeptId(); - } - List> list = wrpSpgPztbService.section(deptId,rscd); - //返回断面加仪器数据 - return R.data(list,"查询断面成功"); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入wrpSpgPztb") - public R detail(WrpSpgPztb wrpSpgPztb) { - WrpSpgPztb detail = wrpSpgPztbService.getOne(Condition.getQueryWrapper(wrpSpgPztb)); - return R.data(WrpSpgPztbWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入wrpSpgPztb") - public R save(@RequestBody WrpSpgPztb wrpSpgPztb) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpSpgPztb::getMpcd,wrpSpgPztb.getMpcd()); - List list = wrpSpgPztbService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"测点编号已存在"); - } - return R.status(wrpSpgPztbService.save(wrpSpgPztb)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入wrpSpgPztb") - public R update(@RequestBody WrpSpgPztb wrpSpgPztb) { - return R.status(wrpSpgPztbService.updateById(wrpSpgPztb)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = wrpSpgPztbService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgSpprmpController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgSpprmpController.java deleted file mode 100644 index cf1c276..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgSpprmpController.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.damsafety.entity.WrpSpgSpprmp; -import com.hnac.hzims.damsafety.service.IWrpSpgSpprmpService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.WrpSpgSpprmpVo; -import com.hnac.hzims.damsafety.wrapper.WrpSpgSpprmpWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.apache.commons.lang3.StringUtils; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.utils.AuthUtil; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import javax.servlet.http.HttpServletRequest; -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/wrpSpgSpprmp") -@AllArgsConstructor -@Api(value = "渗流压力测点信息", tags = "渗流压力测点信息接口") -public class WrpSpgSpprmpController extends BladeController implements CacheNames { - private final IWrpSpgSpprmpService wrpSpgSpprmpService; - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "ch", value = "桩号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入wrpSpgSpprmp") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpSpgSpprmp(param); - IPage pages = wrpSpgSpprmpService.page(Condition.getPage(query), wrapper); - return R.data(WrpSpgSpprmpWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "ch", value = "桩号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入wrpSpgSpprmp") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionWrpSpgSpprmp(param); - List list = wrpSpgSpprmpService.list(wrapper); - return R.data(WrpSpgSpprmpWrapper.build().listVO(list)); - } - - - /** - * 查询渗压断面 - */ - @GetMapping("/section") - @ApiImplicitParams({ - @ApiImplicitParam(name = "rscd", value = "水库编码", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "查询渗压断面") - public R>> section(HttpServletRequest request,String rscd) { - String deptId=request.getHeader("dept-id"); - if(StringUtils.isBlank(deptId)){ - deptId = AuthUtil.getDeptId(); - } - List> list = wrpSpgSpprmpService.section(deptId,rscd); - //返回断面加仪器数据 - return R.data(list,"查询断面成功"); - } - - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入wrpSpgSpprmp") - public R detail(WrpSpgSpprmp wrpSpgSpprmp) { - WrpSpgSpprmp detail = wrpSpgSpprmpService.getOne(Condition.getQueryWrapper(wrpSpgSpprmp)); - return R.data(WrpSpgSpprmpWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入wrpSpgSpprmp") - public R save(@RequestBody WrpSpgSpprmp wrpSpgSpprmp) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpSpgSpprmp::getMpcd,wrpSpgSpprmp.getMpcd()); - List list = wrpSpgSpprmpService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"测点编号已存在"); - } - return R.status(wrpSpgSpprmpService.save(wrpSpgSpprmp)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入wrpSpgSpprmp") - public R update(@RequestBody WrpSpgSpprmp wrpSpgSpprmp) { - return R.status(wrpSpgSpprmpService.updateById(wrpSpgSpprmp)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = wrpSpgSpprmpService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgSpqnmpController.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgSpqnmpController.java deleted file mode 100644 index 49bdb81..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/controller/WrpSpgSpqnmpController.java +++ /dev/null @@ -1,133 +0,0 @@ -package com.hnac.hzims.damsafety.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.common.logs.annotation.OperationAnnotation; -import com.hnac.hzims.damsafety.entity.WrpSpgSpqnmp; -import com.hnac.hzims.damsafety.service.IWrpSpgSpqnmpService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.WrpSpgSpqnmpVo; -import com.hnac.hzims.damsafety.wrapper.WrpSpgSpqnmpWrapper; -import io.swagger.annotations.*; -import lombok.AllArgsConstructor; -import org.apache.commons.lang3.StringUtils; -import org.springblade.common.cache.CacheNames; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.utils.AuthUtil; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.Func; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import javax.servlet.http.HttpServletRequest; -import java.util.List; -import java.util.Map; - -@RestController -@RequestMapping("/damSafety/wrpSpgSpqnmp") -@AllArgsConstructor -@Api(value = "渗流量测点", tags = "渗流量测点接口") -public class WrpSpgSpqnmpController extends BladeController implements CacheNames { - private final IWrpSpgSpqnmpService wrpSpgSpqnmpService; - - /** - * 分页 - */ - @GetMapping("/pageList") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 1) - @ApiOperation(value = "分页", notes = "传入wrpSpgSpqnmp") - public R> pageList(@ApiIgnore @RequestParam Map param, Query query) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpSpgSpqnmp(param); - IPage pages = wrpSpgSpqnmpService.page(Condition.getPage(query), wrapper); - return R.data(WrpSpgSpqnmpWrapper.build().pageVO(pages)); - } - - /** - * 列表 - */ - @GetMapping("/list") - @ApiImplicitParams({ - @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "damcd", value = "断面编号", paramType = "query", dataType = "string"), - @ApiImplicitParam(name = "mpcd", value = "测点编号", paramType = "query", dataType = "string") - }) - @ApiOperationSupport(order = 2) - @ApiOperation(value = "列表", notes = "传入wrpSpgSpqnmp") - public R> list(@ApiIgnore @RequestParam Map param) { - LambdaQueryWrapper wrapper=ParamUtil.conditionWrpSpgSpqnmp(param); - List list = wrpSpgSpqnmpService.list(wrapper); - return R.data(WrpSpgSpqnmpWrapper.build().listVO(list)); - } - - /** - * 查询渗流断面 - */ - @GetMapping("/section") - @ApiOperationSupport(order = 2) - @ApiOperation(value = "查询渗流断面") - public R>> section(HttpServletRequest request,String rscd) { - String deptId=request.getHeader("dept-id"); - if(StringUtils.isBlank(deptId)){ - deptId = AuthUtil.getDeptId(); - } - List> list = wrpSpgSpqnmpService.section(deptId,rscd); - //返回断面加仪器数据 - return R.data(list,"查询断面成功"); - } - - /** - * 详情 - */ - @GetMapping("/detail") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "详情", notes = "传入wrpSpgSpqnmp") - public R detail(WrpSpgSpqnmp wrpSpgSpqnmp) { - WrpSpgSpqnmp detail = wrpSpgSpqnmpService.getOne(Condition.getQueryWrapper(wrpSpgSpqnmp)); - return R.data(WrpSpgSpqnmpWrapper.build().entityVO(detail)); - } - - /** - * 新增 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入wrpSpgSpqnmp") - public R save(@RequestBody WrpSpgSpqnmp wrpSpgSpqnmp) { - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.eq(WrpSpgSpqnmp::getMpcd,wrpSpgSpqnmp.getMpcd()); - List list = wrpSpgSpqnmpService.list(wrapper); - if(list!=null && !list.isEmpty()) { - return R.data(500,false,"测点编号已存在"); - } - return R.status(wrpSpgSpqnmpService.save(wrpSpgSpqnmp)); - } - - /** - * 修改 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入wrpSpgSpqnmp") - public R update(@RequestBody WrpSpgSpqnmp wrpSpgSpqnmp) { - return R.status(wrpSpgSpqnmpService.updateById(wrpSpgSpqnmp)); - } - - /** - * 删除 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 6) - @ApiOperation(value = "逻辑删除", notes = "ids") - public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { - boolean temp = wrpSpgSpqnmpService.deleteLogic(Func.toLongList(ids)); - return R.status(temp); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/feign/WrpSectionBClient.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/feign/WrpSectionBClient.java deleted file mode 100644 index 4e1916a..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/feign/WrpSectionBClient.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.hnac.hzims.damsafety.feign; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.hnac.hzims.damsafety.entity.WrpSectionB; -import com.hnac.hzims.damsafety.service.IDamSafetyDataService; -import com.hnac.hzims.damsafety.service.IWrpSectionBService; -import com.hnac.hzims.damsafety.util.ParamUtil; -import com.hnac.hzims.damsafety.vo.WrpSectionBVO; -import com.hnac.hzims.damsafety.wrapper.WrpSectionBWrapper; -import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.RestController; - -import java.util.List; -import java.util.Map; - -@RestController -public class WrpSectionBClient implements IWrpSectionBClient { - - @Autowired - private IWrpSectionBService wrpSectionBService; - - @Autowired - private IDamSafetyDataService damSafetyDataService; - - @Override - public R> list(Map param) { - LambdaQueryWrapper wrapper= ParamUtil.conditionWrpSectionB(param); - List list = wrpSectionBService.list(wrapper); - return R.data(WrpSectionBWrapper.build().listVO(list)); - } - - @Override - public R> getRealData(String deviceCode) { - return R.data(damSafetyDataService.getRealData(deviceCode)); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbBuildingMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbBuildingMapper.java deleted file mode 100644 index 928538d..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbBuildingMapper.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.TBuilding; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -public interface TbBuildingMapper extends UserDataScopeBaseMapper { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbBuildingMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbBuildingMapper.xml deleted file mode 100644 index 7f49d66..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbBuildingMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbProjInfoMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbProjInfoMapper.java deleted file mode 100644 index d7b0e71..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbProjInfoMapper.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.TProjInfo; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -public interface TbProjInfoMapper extends UserDataScopeBaseMapper { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbProjInfoMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbProjInfoMapper.xml deleted file mode 100644 index d861102..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbProjInfoMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbSectionConfigMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbSectionConfigMapper.java deleted file mode 100644 index ccf23e5..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbSectionConfigMapper.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.hnac.hzims.damsafety.entity.TSectionConfig; - -public interface TbSectionConfigMapper extends BaseMapper { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbSectionConfigMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbSectionConfigMapper.xml deleted file mode 100644 index a15c7ef..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/TbSectionConfigMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDamsBMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDamsBMapper.java deleted file mode 100644 index 6308444..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDamsBMapper.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.hnac.hzims.damsafety.entity.WrpDamsB; - -public interface WrpDamsBMapper extends BaseMapper { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDamsBMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDamsBMapper.xml deleted file mode 100644 index 63025e5..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDamsBMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrhrdsmpMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrhrdsmpMapper.java deleted file mode 100644 index 8d7c93d..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrhrdsmpMapper.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrhrdsmp; -import org.apache.ibatis.annotations.Param; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -import java.util.List; -import java.util.Map; - -public interface WrpDfrSrhrdsmpMapper extends UserDataScopeBaseMapper { - List> section(@Param("deptId") String deptId, @Param("rscd") String rscd); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrhrdsmpMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrhrdsmpMapper.xml deleted file mode 100644 index d17bb5d..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrhrdsmpMapper.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsbpMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsbpMapper.java deleted file mode 100644 index 09d0ab8..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsbpMapper.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -public interface WrpDfrSrvrdsbpMapper extends UserDataScopeBaseMapper { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsbpMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsbpMapper.xml deleted file mode 100644 index b1ea19e..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsbpMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsmpMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsmpMapper.java deleted file mode 100644 index 596aece..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsmpMapper.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsmp; -import org.apache.ibatis.annotations.Param; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -import java.util.List; -import java.util.Map; - -public interface WrpDfrSrvrdsmpMapper extends UserDataScopeBaseMapper { - List> section(@Param("deptId") String deptId,@Param("rscd") String rscd); -} - diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsmpMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsmpMapper.xml deleted file mode 100644 index b2052bb..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpDfrSrvrdsmpMapper.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSectionBMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSectionBMapper.java deleted file mode 100644 index 2450a83..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSectionBMapper.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright Example, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * Example, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the dreamlu.net developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: Chill 庄骞 (smallchill@163.com) - */ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.WrpSectionB; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -/** - * Mapper 接口 请不要使用TSectionMapper,否则扫描到的是TSectionMapper 而不是 tSectionMapper 导致找不到mapper - * @author Chill - */ -public interface WrpSectionBMapper extends UserDataScopeBaseMapper { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSectionBMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSectionBMapper.xml deleted file mode 100644 index 418b268..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSectionBMapper.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgPztbMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgPztbMapper.java deleted file mode 100644 index 7df95c5..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgPztbMapper.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.WrpSpgPztb; -import org.apache.ibatis.annotations.Param; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -import java.util.List; -import java.util.Map; - -public interface WrpSpgPztbMapper extends UserDataScopeBaseMapper { - List> section(@Param("deptId") String deptId,@Param("rscd") String rscd); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgPztbMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgPztbMapper.xml deleted file mode 100644 index 7fac0c9..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgPztbMapper.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpprmpMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpprmpMapper.java deleted file mode 100644 index fe0daf5..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpprmpMapper.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.WrpSpgSpprmp; -import org.apache.ibatis.annotations.Param; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -import java.util.List; -import java.util.Map; - -public interface WrpSpgSpprmpMapper extends UserDataScopeBaseMapper { - List> section(@Param("deptId") String deptId,@Param("rscd") String rscd); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpprmpMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpprmpMapper.xml deleted file mode 100644 index 2e82e78..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpprmpMapper.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpqnmpMapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpqnmpMapper.java deleted file mode 100644 index 314cca4..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpqnmpMapper.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hnac.hzims.damsafety.mapper; - -import com.hnac.hzims.damsafety.entity.WrpSpgSpqnmp; -import org.apache.ibatis.annotations.Param; -import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; - -import java.util.List; -import java.util.Map; - -public interface WrpSpgSpqnmpMapper extends UserDataScopeBaseMapper { - List> section(@Param("deptId") String deptId,@Param("rscd") String rscd); -} - diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpqnmpMapper.xml b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpqnmpMapper.xml deleted file mode 100644 index cbbc403..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/mapper/WrpSpgSpqnmpMapper.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IDamSafetyDataService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IDamSafetyDataService.java deleted file mode 100644 index 908358f..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IDamSafetyDataService.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.entity.Report; -import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; -import com.hnac.hzinfo.datasearch.analyse.vo.AnalyzeInstanceFieldVO; -import com.hnac.hzinfo.sdk.analyse.vo.DeviceSinglePropsValueVO; - -import java.util.Date; -import java.util.List; -import java.util.Map; - -public interface IDamSafetyDataService { - Report getReportData(List deviceCodes, String type, Integer accessRules, Date begin, Date end, String col); - List getSeepageLine(List deviceCodes, Date begin, Date end, String col); - Report getReportDataByDeviceCode(String deviceCode, String type, Integer accessRules, Date begin, Date end); - List getSignages(String stcd); - - Map getYearSpprReport(String rscd,List deviceCodes, Date begin, Date end,String col); - Map getYearHrdsReport(List deviceCodes,Date begin, Date end); - Report getYearVrdsReport(List deviceCodes,Date begin, Date end,String col); - - Map getDamReport(List deviceCodes,String type, Date begin, Date end,String col,int yearGap); - - List getRealData(String deviceCode); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IFileUploadService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IFileUploadService.java deleted file mode 100644 index a0f3fce..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IFileUploadService.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import org.springframework.web.multipart.MultipartFile; - -import java.util.List; - -public interface IFileUploadService { - String addFile(MultipartFile file,String childPath); - List addFiles(MultipartFile[] files,String childPath); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITBuildingService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITBuildingService.java deleted file mode 100644 index 29bca9a..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITBuildingService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.TBuilding; -import org.springblade.core.mp.base.BaseService; - - -public interface ITBuildingService extends BaseService { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITProjInfoService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITProjInfoService.java deleted file mode 100644 index fee9de9..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITProjInfoService.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.TProjInfo; -import org.springblade.core.mp.base.BaseService; - -public interface ITProjInfoService extends BaseService { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITSectionConfigService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITSectionConfigService.java deleted file mode 100644 index 0465af0..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/ITSectionConfigService.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.baomidou.mybatisplus.core.conditions.Wrapper; -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.damsafety.entity.TSectionConfig; - -import java.util.List; - -public interface ITSectionConfigService{ - IPage page(IPage page, LambdaQueryWrapper wrapper); - - List list(LambdaQueryWrapper wrapper); - - TSectionConfig getOne(QueryWrapper wrapper); - - boolean save(TSectionConfig entity); - - boolean updateById(TSectionConfig entity); - - boolean delete(Wrapper wrapper); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDamsBService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDamsBService.java deleted file mode 100644 index 45d2919..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDamsBService.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.baomidou.mybatisplus.core.conditions.Wrapper; -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.damsafety.entity.WrpDamsB; - -import java.util.List; - -public interface IWrpDamsBService { - IPage page(IPage page, LambdaQueryWrapper wrapper); - - List list(LambdaQueryWrapper wrapper); - - WrpDamsB getOne(QueryWrapper wrapper); - - boolean save(WrpDamsB entity); - - boolean updateById(WrpDamsB entity); - - boolean delete(Wrapper wrapper); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrhrdsmpService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrhrdsmpService.java deleted file mode 100644 index ee3cf37..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrhrdsmpService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrhrdsmp; -import org.springblade.core.mp.base.BaseService; - -import java.util.List; -import java.util.Map; - -public interface IWrpDfrSrhrdsmpService extends BaseService { - List> section(String deptId,String rscd); - List> getSection(String deptId,String rscd); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrvrdsbpService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrvrdsbpService.java deleted file mode 100644 index 352b70d..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrvrdsbpService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; -import org.springblade.core.mp.base.BaseService; - -public interface IWrpDfrSrvrdsbpService extends BaseService { - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrvrdsmpService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrvrdsmpService.java deleted file mode 100644 index ed89845..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpDfrSrvrdsmpService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsmp; -import org.springblade.core.mp.base.BaseService; - -import java.util.List; -import java.util.Map; - -public interface IWrpDfrSrvrdsmpService extends BaseService { - List> section(String deptId,String rscd); - List> getSection(String deptId,String rscd); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSectionBService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSectionBService.java deleted file mode 100644 index 21ab3ab..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSectionBService.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright Example, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * Example, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the dreamlu.net developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: Chill 庄骞 (smallchill@163.com) - */ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.WrpSectionB; -import org.springblade.core.mp.base.BaseService; - -/** - * 服务类 - * - * @author Chill - */ -public interface IWrpSectionBService extends BaseService { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgPztbService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgPztbService.java deleted file mode 100644 index d30046d..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgPztbService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.WrpSpgPztb; -import org.springblade.core.mp.base.BaseService; - -import java.util.List; -import java.util.Map; - -public interface IWrpSpgPztbService extends BaseService { - List> section(String deptId,String rscd); - List> getSection(String deptId,String rscd); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgSpprmpService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgSpprmpService.java deleted file mode 100644 index d70efea..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgSpprmpService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.WrpSpgSpprmp; -import org.springblade.core.mp.base.BaseService; - -import java.util.List; -import java.util.Map; - -public interface IWrpSpgSpprmpService extends BaseService { - List> section(String deptId,String rscd); - List> getSection(String deptId,String rscd); -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgSpqnmpService.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgSpqnmpService.java deleted file mode 100644 index fa63027..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/IWrpSpgSpqnmpService.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hnac.hzims.damsafety.service; - -import com.hnac.hzims.damsafety.entity.WrpSpgSpqnmp; -import org.springblade.core.mp.base.BaseService; - -import java.util.List; -import java.util.Map; - -public interface IWrpSpgSpqnmpService extends BaseService { - List> section(String deptId,String rscd); - List> getSection(String deptId,String rscd); -} - diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/DamSafetyDataServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/DamSafetyDataServiceImpl.java deleted file mode 100644 index 584e6c0..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/DamSafetyDataServiceImpl.java +++ /dev/null @@ -1,647 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.service.IDamSafetyDataService; -import com.hnac.hzims.entity.Report; -import com.hnac.hzims.entity.ReportData; -import com.hnac.hzims.enums.QueryDateTypeEnum; -import com.hnac.hzims.util.CommonUtil; -import com.hnac.hzims.util.ReportDateUtil; -import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; -import com.hnac.hzinfo.datasearch.analyse.po.AnalyseCodeByAnalyseDataPO; -import com.hnac.hzinfo.datasearch.analyse.po.AnalyzeDataConditionPO; -import com.hnac.hzinfo.datasearch.analyse.vo.AnalyseDataTaosVO; -import com.hnac.hzinfo.datasearch.analyse.vo.AnalyzeDataConditionVO; -import com.hnac.hzinfo.datasearch.analyse.vo.AnalyzeInstanceFieldVO; -import com.hnac.hzinfo.datasearch.real.po.RealDataSearchPO; -import com.hnac.hzinfo.sdk.analyse.AnalyseDataSearchClient; -import com.hnac.hzinfo.sdk.analyse.po.ComputeBaseStrategyPO; -import com.hnac.hzinfo.sdk.analyse.vo.DeviceSinglePropsValueQuery; -import com.hnac.hzinfo.sdk.analyse.vo.DeviceSinglePropsValueVO; -import com.hnac.hzinfo.sdk.core.response.Result; -import com.hnac.hzinfo.sdk.real.RealDataSearchClient; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.math.BigDecimal; -import java.time.LocalDateTime; -import java.time.ZoneId; -import java.util.*; - -@Service -@Slf4j -public class DamSafetyDataServiceImpl implements IDamSafetyDataService { - - @Autowired - AnalyseDataSearchClient analyseDataSearchClient; - - @Autowired - RealDataSearchClient realDataSearchClient; - - @Override - public Report getReportData(List deviceCodes, String type, Integer accessRules, Date begin, Date end, String col) { - //检查数据是否正常并转化 - final QueryDateTypeEnum dtEnum = CommonUtil.checkType(type); - if(deviceCodes==null || deviceCodes.size()<=0){ - return null; - } - - if(dtEnum ==null){ - return null; - } - - //初始化报表 - Report report = new Report(); - report.initBaseReport(deviceCodes.size(), begin, end, dtEnum); - //设置基础数据 - for (int i = 0; i < deviceCodes.size(); i++) { - String deviceCode = deviceCodes.get(i); - //获取数据库某个站点不同时间要求的数据 - List timeDataList = listDataReport(begin,end,dtEnum,deviceCode,accessRules,col); - - for (ReportData reportData : timeDataList) { - String value=reportData.getVal(); -// if(value!=null && !"-".equals(value) && !"".equals(value.trim())){ -// value = new BigDecimal(value).setScale(3,BigDecimal.ROUND_DOWN).toString(); -// } - if(value == null){ - value = "-"; - } - report.setBaseCell(reportData.getKeyStr(), i, value); - } - } - return report; - } - - @Override - public List getSeepageLine(List deviceCodes, Date begin, Date end, String col) { - return getEightHourData(deviceCodes,"0",begin,end,col); - } - - List getEightHourData(List deviceCodes, String accessRules,Date begin, Date end,String col){ - DeviceSinglePropsValueQuery query=new DeviceSinglePropsValueQuery(); - query.setDeviceCodes(deviceCodes); - query.setSignage(col); - query.setAccessRule(accessRules); - query.setBeginTime(begin); - query.setEndTime(end); - Result> result=analyseDataSearchClient.getValueOfBacthDeviceCode(query); - if(result==null || !result.isSuccess()){ - return null; - } - List list=result.getData(); - return list; - } - - @Override - public List getSignages(String stcd){ - //查询列 - Result> result=analyseDataSearchClient.getInstanceFieldByAnalyseCode(stcd,1,""); - if(result==null || !result.isSuccess()){ - return null; - } - - List analyzeInstanceFieldVOS=result.getData(); - return analyzeInstanceFieldVOS; - } - - @Override - public Map getYearSpprReport(String rscd,List deviceCodes, Date begin, Date end,String col) { - String type="day"; - Report report=getYearDataReport(deviceCodes,type,begin,end,col); - - //根据水库模型获取数据 - Report data=getMaxMinByDeviceCode(rscd,type,6,begin,end); - Map res=new HashMap<>(); - res.put("spprData",report); - res.put("reservoirData",data); - return res; - } - - @Override - public Map getYearHrdsReport(List deviceCodes, Date begin, Date end) { - Report xData=getYearDataReport(deviceCodes,"day",begin,end,"xhrds"); - Report yData=getYearDataReport(deviceCodes,"day",begin,end,"yhrds"); - Map res=new HashMap<>(); - res.put("xData",xData); - res.put("yData",yData); - return res; - } - - @Override - public Report getYearVrdsReport(List deviceCodes, Date begin, Date end, String col) { - return getYearDataReport(deviceCodes,"day",begin,end,col); - } - - @Override - public Map getDamReport(List deviceCodes,String type, Date begin, Date end, String col,int yearGap) { - Map res=new HashMap<>(); - Report report=getYearDataReport(deviceCodes,type,begin,end,col); - res.put("nowData",report); - //历史时间对应的历史数据 - Date historyDate=CommonUtil.getHistoryDate(begin,yearGap); - Report historyData=getHistoryData(deviceCodes,"year", historyDate, end, col); - res.put("historyData",historyData); - return res; - } - - @Override - public List getRealData(String stcd) { - RealDataSearchPO po=new RealDataSearchPO(); - po.setAnalyzeCode(stcd); - List list=getSignages(stcd); - if(list==null && list.isEmpty()){ - return null; - } - List signages=new ArrayList<>(); - for(AnalyzeInstanceFieldVO vo:list){ - signages.add(vo.getSignage()); - } - po.setSignages(signages); - Result> result=realDataSearchClient.getRealDataByDeviceCode(po); - return result.getData(); - } - - public Report getHistoryData(List deviceCodes,String type, Date begin, Date end, String col){ - //检查数据是否正常并转化 - final QueryDateTypeEnum dtEnum = CommonUtil.checkType(type); - if(deviceCodes==null || deviceCodes.size()<=0){ - return null; - } - int count=deviceCodes.size(); - //初始化报表 - Report report = new Report(); - report.initBaseReportHistory(count); - //设置基础数据 - for (int i = 0; i < count; i++) { - String deviceCode = deviceCodes.get(i); -// List dataList = listDataReport(param,dtEnum,deviceCode,1,col); -// dealMaxMin(report,i,dataList); - //获取数据库某个站点不同时间要求的数据 - List maxList = listDataReport(begin, end,dtEnum,deviceCode,1,col); - List minList = listDataReport(begin, end,dtEnum,deviceCode,2,col); - List avgList = listDataReport(begin, end,dtEnum,deviceCode,3,col); - dealHistoryMaxMin(report,i,maxList,minList,avgList); - } - return report; - } - - private void dealHistoryMaxMin(Report report ,int i,List maxList,List minList,List avgList){ - BigDecimal maxValue=null; - BigDecimal minValue=null; - BigDecimal avg=null; - if(maxList!=null && !maxList.isEmpty()){ - ReportData maxObj=maxList.get(0); - if(maxObj!=null && maxObj.getValue()!=null) { - maxValue = new BigDecimal(maxObj.getValue()).setScale(3, BigDecimal.ROUND_HALF_UP); - report.setBaseCell("maxDate", i, ReportDateUtil.getYMDStr(maxObj.getKeyDate())); - }else{ - report.setBaseCell("maxDate", i, "-"); - } - } - - if(minList!=null && !minList.isEmpty()){ - ReportData minObj=minList.get(0); - if(minObj!=null && minObj.getValue()!=null) { - minValue = new BigDecimal(minObj.getValue()).setScale(3, BigDecimal.ROUND_HALF_UP); - report.setBaseCell("minDate", i, ReportDateUtil.getYMDStr(minObj.getKeyDate())); - }else{ - report.setBaseCell("minDate", i, "-"); - } - } - - if(avgList!=null && !avgList.isEmpty()){ - ReportData avgObj=avgList.get(0); - if(avgObj!=null && avgObj.getValue()!=null) { - avg = new BigDecimal(avgObj.getValue()).setScale(3, BigDecimal.ROUND_HALF_UP); - } - } - if(maxValue!=null) { - report.setBaseCell("max", i, String.valueOf(maxValue)); - }else{ - report.setBaseCell("max", i, "-"); - } - - if(minValue!=null) { - report.setBaseCell("min", i, String.valueOf(minValue)); - }else{ - report.setBaseCell("min", i, "-"); - } - - if(avg!=null){ - report.setBaseCell("avg", i, String.valueOf(avg)); - }else{ - report.setBaseCell("avg", i, "-"); - } - - if(maxValue!=null && minValue!=null) { - BigDecimal range = maxValue.subtract(minValue); - BigDecimal tmpRang = range.setScale(3, BigDecimal.ROUND_HALF_UP); - report.setBaseCell("range", i, String.valueOf(tmpRang));//极差 - }else{ - report.setBaseCell("range", i, "-");//极差 - } - } - - private Report getYearDataReport(List deviceCodes,String type, Date begin, Date end, String col){ - //检查数据是否正常并转化 - final QueryDateTypeEnum dtEnum = CommonUtil.checkType(type); - if(deviceCodes==null || deviceCodes.size()<=0){ - return null; - } - - int count=deviceCodes.size(); - //初始化报表 - Report report = new Report(); - report.initBaseReportMaxMin(count, begin, end, dtEnum); - //设置基础数据 - for (int i = 0; i < count; i++) { - String deviceCode = deviceCodes.get(i); - //获取数据库某个站点不同时间要求的数据 - List timeDataList = listDataReport(begin, end,dtEnum,deviceCode,6,col); - - for (ReportData reportData : timeDataList) { - String value=reportData.getVal(); -// if(value!=null && !"-".equals(value) && !"".equals(value.trim())){ -// value = new BigDecimal(value).setScale(3,BigDecimal.ROUND_DOWN).toString(); -// } - if(value == null){ - value = "-"; - } - report.setBaseCell(reportData.getKeyStr(), i, value); - } - dealMaxMin(report,i,timeDataList); - } - return report; - } - -// private void dealMaxMin(Report report ,int i,List timeDataList){ -// if(timeDataList==null || timeDataList.isEmpty()){ -// return; -// } -// -// Optional max = timeDataList.stream().filter(reportData -> reportData.getValue()!=null).max(Comparator.comparingDouble(ReportData::getValue)); -// ReportData maxObj = max.get(); -// double maxValue=maxObj.getValue(); -// -// report.setBaseCell("max", i, String.valueOf(maxValue)); -// report.setBaseCell("maxDate", i, ReportDateUtil.getYMDStr(maxObj.getKeyDate())); -// -// Optional min = timeDataList.stream().filter(reportData -> reportData.getValue()!=null).min(Comparator.comparingDouble(ReportData::getValue)); -// ReportData minObj = min.get(); -// double minValue=minObj.getValue(); -// -// report.setBaseCell("min", i, String.valueOf(minValue)); -// report.setBaseCell("minDate", i, ReportDateUtil.getYMDStr(minObj.getKeyDate())); -// -// -// Double avgs = timeDataList.stream().filter(reportData -> reportData.getValue()!=null).mapToDouble(ReportData::getValue).average().orElse(0D); -// BigDecimal avg=new BigDecimal(String.valueOf(avgs)).setScale(3,BigDecimal.ROUND_HALF_UP); -// report.setBaseCell("avg", i, String.valueOf(avg)); -// -// BigDecimal range=new BigDecimal(maxValue).subtract(new BigDecimal(minValue)); -// BigDecimal tmpRang=range.setScale(3,BigDecimal.ROUND_HALF_UP); -// report.setBaseCell("range", i, String.valueOf(tmpRang.abs()));//极差 0或正值 -// -// } - - private void dealMaxMin(Report report ,int i,List timeDataList){ - if(timeDataList==null || timeDataList.isEmpty()){ - return; - } - - Optional max = timeDataList.stream().filter(reportData -> reportData.getValue()!=null).max(Comparator.comparingDouble(ReportData::getValue)); - - Double maxValue =0.0; - if(max!=null && max.isPresent()) { - ReportData maxObj = max.get(); - maxValue = maxObj.getValue(); - report.setBaseCell("max", i, String.valueOf(maxValue)); - report.setBaseCell("maxDate", i, ReportDateUtil.getYMDStr(maxObj.getKeyDate())); - }else{ - report.setBaseCell("max", i, "-"); - report.setBaseCell("maxDate", i, "-"); - } - - Optional min = timeDataList.stream().filter(reportData -> reportData.getValue()!=null).min(Comparator.comparingDouble(ReportData::getValue)); - - Double minValue=0.0; - if(min!=null && min.isPresent()) { - ReportData minObj = min.get(); - minValue = minObj.getValue(); - report.setBaseCell("min", i, String.valueOf(minValue)); - report.setBaseCell("minDate", i, ReportDateUtil.getYMDStr(minObj.getKeyDate())); - }else{ - report.setBaseCell("min", i, "-"); - report.setBaseCell("minDate", i, "-"); - } - - Double avgs = timeDataList.stream().filter(reportData -> reportData.getValue()!=null).mapToDouble(ReportData::getValue).average().orElse(0D); - BigDecimal avg=new BigDecimal(String.valueOf(avgs)).setScale(3,BigDecimal.ROUND_HALF_UP); - report.setBaseCell("avg", i, String.valueOf(avg)); - - BigDecimal range=new BigDecimal(maxValue).subtract(new BigDecimal(minValue)); - BigDecimal tmpRange=range.setScale(3,BigDecimal.ROUND_HALF_UP); - report.setBaseCell("range", i, String.valueOf(tmpRange));//极差 - - } - - -// public static void main(String[] args) { -// List dd=new ArrayList<>(); -// dd.add(null); -// dd.add(-18.924); -// dd.add(-444.924); -// -// Optional max = dd.stream().filter(aDouble -> aDouble!=null).max(Comparator.comparingDouble(Double::doubleValue)); -// Double maxObj = max.get(); -// System.out.println(maxObj); -// -// Optional min = dd.stream().filter(aDouble -> aDouble!=null).min(Comparator.comparingDouble(Double::doubleValue)); -// Double minObj = min.get(); -// System.out.println(minObj); -// -// Double avgs = dd.stream().filter(reportData -> reportData!=null).mapToDouble(Double::doubleValue).average().orElse(0D); -// BigDecimal avg=new BigDecimal(String.valueOf(avgs)).setScale(3,BigDecimal.ROUND_HALF_UP); -// -// System.out.println(avg); -// } - - - public Report getMaxMinByDeviceCode(String deviceCode, String type, Integer accessRules, Date start, Date end) { - //检查数据是否正常并转化 - final QueryDateTypeEnum dtEnum = CommonUtil.checkType(type); - if(deviceCode==null || "".equals(deviceCode)){ - return null; - } - - if(dtEnum ==null){ - return null; - } - - //设置基础数据 - List signages=getSignages(deviceCode); - if(signages==null || signages.isEmpty()){ - return null; - } - //初始化报表 - Report report = new Report(); - report.initBaseReportMaxMin(signages.size(), start, end, dtEnum); - - //获取数据库某个站点不同时间要求的数据 - List timeDataList = listDataReport(start, end,dtEnum,deviceCode,accessRules,signages); - for(int i=0;i tmpList=CommonUtil.getReportDataBySignage(timeDataList,signage); - - dealMaxMin(report,i,tmpList); - - for (ReportData reportData : tmpList) { - String value = reportData.getVal(); -// if (value != null && !"-".equals(value) && !"".equals(value.trim())) { -// value = new BigDecimal(value).setScale(3, BigDecimal.ROUND_DOWN).toString(); -// } - - if(value == null){ - value = "-"; - } - - report.setBaseCell(reportData.getKeyStr(), i, value); - } - } - - return report; - } - - @Override - public Report getReportDataByDeviceCode(String deviceCode, String type, Integer accessRules, Date start, Date end) { - //检查数据是否正常并转化 - final QueryDateTypeEnum dtEnum = CommonUtil.checkType(type); - if(deviceCode==null || "".equals(deviceCode)){ - return null; - } - - if(dtEnum ==null){ - return null; - } - - //设置基础数据 - List signages=getSignages(deviceCode); - if(signages==null || signages.isEmpty()){ - return null; - } - //初始化报表 - Report report = new Report(); -// List> titles=new ArrayList<>(); -// for(AnalyzeInstanceFieldVO vo:signages){ -// Map title=new HashMap<>(); -// title.put(vo.getSignage(),vo.getFieldName()); -// titles.add(title); -// } -// report.setTitle(titles); - report.initBaseReport(signages.size(), start, end, dtEnum); - - //获取数据库某个站点不同时间要求的数据 - List timeDataList = listDataReport(start, end,dtEnum,deviceCode,accessRules,signages); - for(int i=0;i tmpList=CommonUtil.getReportDataBySignage(timeDataList,signage); - for (ReportData reportData : tmpList) { - String value = reportData.getVal(); -// if (value != null && !"-".equals(value) && !"".equals(value.trim())) { -// value = new BigDecimal(value).setScale(3, BigDecimal.ROUND_DOWN).toString(); -// } - - if(value == null){ - value = "-"; - } - - report.setBaseCell(reportData.getKeyStr(), i, value); - } - } - - return report; - } - - //查询多个code对应的同一个值 - List getDataByDeviceCodes(List deviceCodes,Date begin,Date end,String accessRules,String col){ - DeviceSinglePropsValueQuery query=new DeviceSinglePropsValueQuery(); - query.setBeginTime(begin); - query.setEndTime(end); - query.setDeviceCodes(deviceCodes); - query.setSignage(col); - query.setAccessRule(accessRules); - Result> result=analyseDataSearchClient.getValueOfBacthDeviceCode(query); - List datas=result.getData(); - return datas; - } - - - private List listDataReport(Date begin,Date endSt, QueryDateTypeEnum dtEnum, String deviceCode, Integer accessRules, List signages) { - Integer saveTimeType=2; - if(QueryDateTypeEnum.DAY.equals(dtEnum)){ - saveTimeType = 3; - } - if(QueryDateTypeEnum.MONTH.equals(dtEnum)){ - saveTimeType = 5; - } - if(QueryDateTypeEnum.YEAR.equals(dtEnum)){ - saveTimeType = 6; - } - - LocalDateTime start = LocalDateTime.ofInstant(begin.toInstant(), ZoneId.systemDefault()); - LocalDateTime end = LocalDateTime.ofInstant(endSt.toInstant(), ZoneId.systemDefault()); - - return getDataByDeviceCode(deviceCode,accessRules,saveTimeType,start,end,signages); - } - - - private List listDataReport(Date begin,Date endSt,QueryDateTypeEnum dtEnum,String deviceCode,Integer accessRules,String col) { - - - Integer saveTimeType=2; - if(QueryDateTypeEnum.DAY.equals(dtEnum)){ - saveTimeType = 3; - } - if(QueryDateTypeEnum.MONTH.equals(dtEnum)){ - saveTimeType = 5; - } - if(QueryDateTypeEnum.YEAR.equals(dtEnum)){ - saveTimeType = 6; - } - - LocalDateTime start = LocalDateTime.ofInstant(begin.toInstant(), ZoneId.systemDefault()); - LocalDateTime end = LocalDateTime.ofInstant(endSt.toInstant(), ZoneId.systemDefault()); - //saveTimeType 周期类型: 0-> s(秒) 1->、m(分)、2->h(小时)3->、d(天)4->、w(周)5->、n(自然月)、6->y(自然年) - //accessRules 取数规则0=最早值、1=最大值、2=最小值、3=平均值、4=(累计值/和值)、5=(变化值/差值) 6=最新值 - return getDataByDeviceCode(deviceCode, accessRules, saveTimeType, start, end, col); - } - - List getDataByDeviceCode(String deviceCode,Integer accessRules,Integer saveTimeType, - LocalDateTime start,LocalDateTime end,List signages){ - List reportData=new ArrayList<>(); - AnalyseCodeByAnalyseDataPO po=new AnalyseCodeByAnalyseDataPO(); - po.setDeviceCode(deviceCode); - - List signboardConditions=new ArrayList<>(); - - for(AnalyzeInstanceFieldVO vo:signages) { - AnalyzeDataConditionPO conditionPO = new AnalyzeDataConditionPO(); - conditionPO.setBeginTime(start); - conditionPO.setEndTime(end); - conditionPO.setSignages(vo.getSignage()); -// conditionPO.setKeepFigures(3); - conditionPO.setAccessRules(accessRules); - conditionPO.setSaveTimeType(saveTimeType); - conditionPO.setTimeInterval(1); - conditionPO.setFull(1); - signboardConditions.add(conditionPO); - } - - po.setSignboardConditions(signboardConditions); - - Result> result=analyseDataSearchClient.getAnalyzeDataByAnalyzeCodeAndSignages(po); - if(result==null){ - return reportData; - } - List datas=result.getData(); - if(datas==null || datas.isEmpty()){ - return reportData; - } - for(AnalyzeDataConditionVO vo:datas){ - List dataTaosVOs=vo.getList(); - for(AnalyseDataTaosVO vv:dataTaosVOs) { - ReportData data=new ReportData(); - data.setKeyStr(CommonUtil.getKeyBySaveTimeType(vv.getTs(),saveTimeType)); - data.setKeyDate(vv.getTs()); - data.setStcd(vo.getSignage());//测站变成属性值 - data.setVal(vv.getVal()); - data.setName(vo.getName()); - reportData.add(data); - } - } - return reportData; - } - - List getDataByDeviceCode(String deviceCode,Integer accessRules,Integer saveTimeType, - LocalDateTime start,LocalDateTime end,String col){ - List reportData=new ArrayList<>(); - AnalyseCodeByAnalyseDataPO po=new AnalyseCodeByAnalyseDataPO(); - po.setDeviceCode(deviceCode); - - List signboardConditions=new ArrayList<>(); - AnalyzeDataConditionPO conditionPO=new AnalyzeDataConditionPO(); - conditionPO.setBeginTime(start); - conditionPO.setEndTime(end); - conditionPO.setSignages(col); -// conditionPO.setKeepFigures(3); - conditionPO.setAccessRules(accessRules); - conditionPO.setSaveTimeType(saveTimeType); - conditionPO.setTimeInterval(1); - conditionPO.setFull(1); - signboardConditions.add(conditionPO); - po.setSignboardConditions(signboardConditions); - Result> result=analyseDataSearchClient.getAnalyzeDataByAnalyzeCodeAndSignages(po); - if(result==null){ - return reportData; - } - List datas=result.getData(); - if(datas==null || datas.isEmpty()){ - return reportData; - } - for(AnalyzeDataConditionVO vo:datas){ - List dataTaosVOs=vo.getList(); - for (AnalyseDataTaosVO vv : dataTaosVOs) { - if(vo.getSignage().equals(col)) { - ReportData data = new ReportData(); - data.setKeyStr(CommonUtil.getKeyBySaveTimeType(vv.getTs(), saveTimeType)); - data.setKeyDate(vv.getTs()); - data.setStcd(deviceCode); - data.setVal(vv.getVal()); - data.setName(vo.getName()); - reportData.add(data); - } - } - } - return reportData; - } - - //按时间范围求最大值、最小值 - public List queryMaxOrMin(String deviceCode, Date startTime, Date endTime, - Integer calcType, String col) { - List res=new ArrayList<>(); - - List signages=new ArrayList<>(); - signages.add(col); - ComputeBaseStrategyPO po=new ComputeBaseStrategyPO(); - LocalDateTime start = LocalDateTime.ofInstant(startTime.toInstant(), ZoneId.systemDefault()); - po.setBeginTime(start); - LocalDateTime end = LocalDateTime.ofInstant(endTime.toInstant(), ZoneId.systemDefault()); - po.setEndTime(end); - po.setAccessRules(calcType); - po.setDeviceCode(deviceCode); - po.setSignages(signages); - Result> result=analyseDataSearchClient.getComputeBaseStrategy(po); - if(result==null){ - return res; - } - List datas =result.getData(); - - if(datas!=null && !datas.isEmpty()){ - for(AnalyseDataTaosVO vo:datas) { - if(col.equals(vo.getSignage())) { - ReportData reportData=new ReportData(); - String val=vo.getVal(); - String tm=vo.getTs(); - reportData.setKeyStr(tm); - reportData.setStcd(deviceCode); - reportData.setVal(val); - res.add(reportData); - } - } - } - - return res; - } - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/FileUploadServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/FileUploadServiceImpl.java deleted file mode 100644 index b9a269d..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/FileUploadServiceImpl.java +++ /dev/null @@ -1,63 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.service.IFileUploadService; -import org.apache.commons.io.FileUtils; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.stereotype.Service; -import org.springframework.web.multipart.MultipartFile; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.UUID; - -@Service -public class FileUploadServiceImpl implements IFileUploadService { - @Value("${file.upload.path}") - String fileUploadPath; - - @Override - public String addFile(MultipartFile file,String childPath) { - MultipartFile[] files=new MultipartFile[1]; - files[0] = file; - return addFiles(files,childPath).get(0); - } - - @Override - public List addFiles(MultipartFile[] files,String childPath){ - List list=new ArrayList<>(); - String dirName = UUID.randomUUID().toString().replace("-", ""); - File uploadPath = new File(fileUploadPath, childPath); - uploadPath = new File(uploadPath, dirName); - try { - if(!uploadPath.exists()){ - uploadPath.mkdirs(); - } - for(MultipartFile file:files){ - saveFile(file, uploadPath); - list.add(File.separator+childPath+File.separator+dirName+File.separator+file.getOriginalFilename()); - } - return list; - }catch (IOException e){ - return list; - } - } - - /** - * 保存文件,如果后期有要求需要处理重名情况 - * - * @param file 待保存的文件 - * @param uploadPath 上传的路径 - * @throws IOException - */ - private void saveFile(MultipartFile file, File uploadPath) throws IOException { - String originalName = file.getOriginalFilename(); - File path = new File(uploadPath, originalName); - if(!path.exists()){ - path.createNewFile(); - } - FileUtils.copyInputStreamToFile(file.getInputStream(), path); - } - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TBuildingServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TBuildingServiceImpl.java deleted file mode 100644 index 104eddf..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TBuildingServiceImpl.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.TBuilding; -import com.hnac.hzims.damsafety.mapper.TbBuildingMapper; -import com.hnac.hzims.damsafety.service.ITBuildingService; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -@Service -public class TBuildingServiceImpl extends BaseServiceImpl implements ITBuildingService { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TProjInfoServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TProjInfoServiceImpl.java deleted file mode 100644 index 496cf8f..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TProjInfoServiceImpl.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.TProjInfo; -import com.hnac.hzims.damsafety.mapper.TbProjInfoMapper; -import com.hnac.hzims.damsafety.service.ITProjInfoService; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -@Service -public class TProjInfoServiceImpl extends BaseServiceImpl implements ITProjInfoService { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TSectionConfigServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TSectionConfigServiceImpl.java deleted file mode 100644 index 97e78ab..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/TSectionConfigServiceImpl.java +++ /dev/null @@ -1,53 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.baomidou.mybatisplus.core.conditions.Wrapper; -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.damsafety.entity.TSectionConfig; -import com.hnac.hzims.damsafety.mapper.TbSectionConfigMapper; -import com.hnac.hzims.damsafety.service.ITSectionConfigService; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; - -@Service -public class TSectionConfigServiceImpl implements ITSectionConfigService { - - @Resource - TbSectionConfigMapper tbSectionConfigMapper; - - @Override - public IPage page(IPage page, LambdaQueryWrapper wrapper) { - return tbSectionConfigMapper.selectPage(page,wrapper); - } - - @Override - public List list(LambdaQueryWrapper wrapper) { - return tbSectionConfigMapper.selectList(wrapper); - } - - @Override - public TSectionConfig getOne(QueryWrapper wrapper) { - return tbSectionConfigMapper.selectOne(wrapper); - } - - @Override - public boolean save(TSectionConfig entity) { - int count=tbSectionConfigMapper.insert(entity); - return count>0; - } - - @Override - public boolean updateById(TSectionConfig entity) { - int count=tbSectionConfigMapper.updateById(entity); - return count>0; - } - - @Override - public boolean delete(Wrapper wrapper) { - int count=tbSectionConfigMapper.delete(wrapper); - return count>0; - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDamsBServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDamsBServiceImpl.java deleted file mode 100644 index ad53a86..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDamsBServiceImpl.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.baomidou.mybatisplus.core.conditions.Wrapper; -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.damsafety.entity.WrpDamsB; -import com.hnac.hzims.damsafety.mapper.WrpDamsBMapper; -import com.hnac.hzims.damsafety.service.IWrpDamsBService; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; - -@Service -public class WrpDamsBServiceImpl implements IWrpDamsBService { - - @Resource - WrpDamsBMapper wrpDamsBMapper; - - @Override - public IPage page(IPage page, LambdaQueryWrapper wrapper) { - return wrpDamsBMapper.selectPage(page,wrapper); - } - - @Override - public List list(LambdaQueryWrapper wrapper) { - return wrpDamsBMapper.selectList(wrapper); - } - - @Override - public WrpDamsB getOne(QueryWrapper wrapper) { - return wrpDamsBMapper.selectOne(wrapper); - } - - @Override - public boolean save(WrpDamsB entity) { - int count=wrpDamsBMapper.insert(entity); - return count>0; - } - - @Override - public boolean updateById(WrpDamsB entity) { - LambdaUpdateWrapper wrapper=new LambdaUpdateWrapper(); - wrapper.eq(WrpDamsB::getDamscd,entity.getDamscd()); - int count=wrpDamsBMapper.update(entity,wrapper); - return count>0; - } - - @Override - public boolean delete(Wrapper wrapper) { - int count=wrpDamsBMapper.delete(wrapper); - return count>0; - } - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrhrdsmpServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrhrdsmpServiceImpl.java deleted file mode 100644 index a8b2529..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrhrdsmpServiceImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrhrdsmp; -import com.hnac.hzims.damsafety.mapper.WrpDfrSrhrdsmpMapper; -import com.hnac.hzims.damsafety.service.IWrpDfrSrhrdsmpService; -import com.hnac.hzims.damsafety.util.DealSectionUtil; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; -import java.util.Map; - -@Service -public class WrpDfrSrhrdsmpServiceImpl extends BaseServiceImpl implements IWrpDfrSrhrdsmpService { - @Resource - WrpDfrSrhrdsmpMapper wrpDfrSrhrdsmpMapper; - - @Override - public List> section(String deptId,String rscd) { - List> list=wrpDfrSrhrdsmpMapper.section(deptId,rscd); - return DealSectionUtil.getSection(list); - } - - @Override - public List> getSection(String deptId,String rscd) { - List> list=wrpDfrSrhrdsmpMapper.section(deptId,rscd); - return list; - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrvrdsbpServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrvrdsbpServiceImpl.java deleted file mode 100644 index 15160cc..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrvrdsbpServiceImpl.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; -import com.hnac.hzims.damsafety.mapper.WrpDfrSrvrdsbpMapper; -import com.hnac.hzims.damsafety.service.IWrpDfrSrvrdsbpService; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -@Service -public class WrpDfrSrvrdsbpServiceImpl extends BaseServiceImpl implements IWrpDfrSrvrdsbpService { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrvrdsmpServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrvrdsmpServiceImpl.java deleted file mode 100644 index 9907aa7..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpDfrSrvrdsmpServiceImpl.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsmp; -import com.hnac.hzims.damsafety.mapper.WrpDfrSrvrdsmpMapper; -import com.hnac.hzims.damsafety.service.IWrpDfrSrvrdsmpService; -import com.hnac.hzims.damsafety.util.DealSectionUtil; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; -import java.util.Map; - -@Service -public class WrpDfrSrvrdsmpServiceImpl extends BaseServiceImpl implements IWrpDfrSrvrdsmpService { - @Resource - WrpDfrSrvrdsmpMapper wrpDfrSrvrdsmpMapper; - @Override - public List> section(String deptId,String rscd) { - List> list=wrpDfrSrvrdsmpMapper.section(deptId,rscd); - return DealSectionUtil.getSection(list); - } - - @Override - public List> getSection(String deptId, String rscd) { - return wrpDfrSrvrdsmpMapper.section(deptId,rscd); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSectionBServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSectionBServiceImpl.java deleted file mode 100644 index 1d4b28b..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSectionBServiceImpl.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright Example, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * Example, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the dreamlu.net developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: Chill 庄骞 (smallchill@163.com) - */ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.WrpSectionB; -import com.hnac.hzims.damsafety.mapper.WrpSectionBMapper; -import com.hnac.hzims.damsafety.service.IWrpSectionBService; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -/** - * 服务实现类 - * @author Chill - */ -@Service -public class WrpSectionBServiceImpl extends BaseServiceImpl implements IWrpSectionBService { -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgPztbServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgPztbServiceImpl.java deleted file mode 100644 index 1eeca99..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgPztbServiceImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.WrpSpgPztb; -import com.hnac.hzims.damsafety.mapper.WrpSpgPztbMapper; -import com.hnac.hzims.damsafety.service.IWrpSpgPztbService; -import com.hnac.hzims.damsafety.util.DealSectionUtil; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; -import java.util.Map; - -@Service -public class WrpSpgPztbServiceImpl extends BaseServiceImpl implements IWrpSpgPztbService { - - @Resource - WrpSpgPztbMapper wrpSpgPztbMapper; - - @Override - public List> section(String deptId,String rscd) { - List> list=wrpSpgPztbMapper.section(deptId,rscd); - return DealSectionUtil.getSection(list); - } - - @Override - public List> getSection(String deptId, String rscd) { - return wrpSpgPztbMapper.section(deptId,rscd); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgSpprmpServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgSpprmpServiceImpl.java deleted file mode 100644 index c8c5a5e..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgSpprmpServiceImpl.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.WrpSpgSpprmp; -import com.hnac.hzims.damsafety.mapper.WrpSpgSpprmpMapper; -import com.hnac.hzims.damsafety.service.IWrpSpgSpprmpService; -import com.hnac.hzims.damsafety.util.DealSectionUtil; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; -import java.util.Map; - -@Service -public class WrpSpgSpprmpServiceImpl extends BaseServiceImpl implements IWrpSpgSpprmpService { - - @Resource - WrpSpgSpprmpMapper wrpSpgSpprmpMapper; - - @Override - public List> section(String deptId,String rscd) { - List> list=wrpSpgSpprmpMapper.section(deptId,rscd); - return DealSectionUtil.getSection(list); - } - - @Override - public List> getSection(String deptId, String rscd) { - return wrpSpgSpprmpMapper.section(deptId,rscd); - } - -} - diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgSpqnmpServiceImpl.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgSpqnmpServiceImpl.java deleted file mode 100644 index 2ee717f..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/service/impl/WrpSpgSpqnmpServiceImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.hnac.hzims.damsafety.service.impl; - -import com.hnac.hzims.damsafety.entity.WrpSpgSpqnmp; -import com.hnac.hzims.damsafety.mapper.WrpSpgSpqnmpMapper; -import com.hnac.hzims.damsafety.service.IWrpSpgSpqnmpService; -import com.hnac.hzims.damsafety.util.DealSectionUtil; -import org.springblade.core.mp.base.BaseServiceImpl; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; -import java.util.Map; - -@Service -public class WrpSpgSpqnmpServiceImpl extends BaseServiceImpl implements IWrpSpgSpqnmpService { - @Resource - WrpSpgSpqnmpMapper wrpSpgSpqnmpMapper; - - @Override - public List> section(String deptId,String rscd) { - List> list=wrpSpgSpqnmpMapper.section(deptId,rscd); - return DealSectionUtil.getSection(list); - } - - @Override - public List> getSection(String deptId,String rscd) { - List> list=wrpSpgSpqnmpMapper.section(deptId,rscd); - return DealSectionUtil.getSection(list); - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/util/DealSectionUtil.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/util/DealSectionUtil.java deleted file mode 100644 index c6b9dbd..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/util/DealSectionUtil.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.hnac.hzims.damsafety.util; - -import java.util.*; - -public class DealSectionUtil { - public static String getDeviceCode(List> data){ - StringBuilder sb=new StringBuilder(); - for(Map dd:data){ - String stcd=String.valueOf(dd.get("stcd")); - if("".equals(sb.toString())){ - sb.append(stcd); - }else{ - sb.append(","+stcd); - } - } - return sb.toString(); - } - - public static List> getSection(List> list){ - List> res=new ArrayList<>(); - Map>> map = new LinkedHashMap<>(); - for(Map ll:list) { - String damcd=String.valueOf(ll.get("damcd")); - List> tmpList=map.get(damcd); - if(tmpList!=null && !tmpList.isEmpty()) { - tmpList.add(ll); - map.put(damcd, tmpList); - }else{ - tmpList = new ArrayList<>(); - tmpList.add(ll); - map.put(damcd, tmpList); - } - } - - for (Map.Entry>> m : map.entrySet()) { - List> data= m.getValue(); - Map sj=new HashMap<>(); - sj.put("damnm",data.get(0).get("damnm")); - sj.put("rscd",data.get(0).get("rscd")); - sj.put("damcd",m.getKey()); - sj.put("deviceCode",getDeviceCode(data)); - res.add(sj); - } - - return res; - } - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/util/ParamUtil.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/util/ParamUtil.java deleted file mode 100644 index ef37a3d..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/util/ParamUtil.java +++ /dev/null @@ -1,177 +0,0 @@ -package com.hnac.hzims.damsafety.util; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.hnac.hzims.damsafety.entity.*; - -import java.util.Map; - -public class ParamUtil { - public static LambdaQueryWrapper conditionWrpSectionB(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("rscd")!=null) { - wrapper.like(WrpSectionB::getRscd,param.get("rscd")); - } - if(param.get("buildingId")!=null) { - wrapper.eq(WrpSectionB::getBuildingId,param.get("buildingId")); - } - if(param.get("damcd")!=null) { - wrapper.like(WrpSectionB::getDamcd,param.get("damcd")); - } - - if(param.get("damnm")!=null) { - wrapper.like(WrpSectionB::getDamnm,param.get("damnm")); - } - - - if(param.get("wallType")!=null) { - wrapper.eq(WrpSectionB::getWallType,param.get("wallType")); - } - return wrapper; - } - - public static LambdaQueryWrapper conditionTBuilding(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("rscd")!=null) { - wrapper.like(TBuilding::getRscd,param.get("rscd")); - } - if(param.get("name")!=null) { - wrapper.like(TBuilding::getName,param.get("name")); - } - return wrapper; - } - - - public static LambdaQueryWrapper conditionTProjInfo(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("rscd")!=null) { - wrapper.like(TProjInfo::getRscd,param.get("rscd")); - } - if(param.get("projName")!=null) { - wrapper.like(TProjInfo::getProjName,param.get("projName")); - } - if(param.get("projCode")!=null) { - wrapper.like(TProjInfo::getProjCode,param.get("projCode")); - } - return wrapper; - } - - - public static LambdaQueryWrapper conditionTSectionConfig(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("stcd")!=null) { - wrapper.like(TSectionConfig::getStcd,param.get("stcd")); - } - if(param.get("sectionNo")!=null) { - wrapper.like(TSectionConfig::getSectionNo,param.get("sectionNo")); - } - return wrapper; - } - - public static LambdaQueryWrapper conditionWrpDamsB(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("damcd")!=null) { - wrapper.like(WrpDamsB::getDamcd,param.get("damcd")); - } - if(param.get("damscd")!=null) { - wrapper.like(WrpDamsB::getDamscd,param.get("damscd")); - } - if(param.get("damsnm")!=null) { - wrapper.like(WrpDamsB::getDamscd,param.get("damsnm")); - } - return wrapper; - } - - public static LambdaQueryWrapper conditionWrpDfrSrhrdsmp(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("damcd")!=null) { - wrapper.like(WrpDfrSrhrdsmp::getDamcd,param.get("damcd")); - } - if(param.get("stcd")!=null) { - wrapper.like(WrpDfrSrhrdsmp::getStcd,param.get("stcd")); - } - if(param.get("mpcd")!=null) { - wrapper.like(WrpDfrSrhrdsmp::getMpcd,param.get("mpcd")); - } - return wrapper; - } - - public static LambdaQueryWrapper conditionWrpDfrSrvrdsbp(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("rscd")!=null) { - wrapper.like(WrpDfrSrvrdsbp::getRscd,param.get("rscd")); - } - if(param.get("hycncd")!=null) { - wrapper.eq(WrpDfrSrvrdsbp::getHycncd,param.get("hycncd")); - } - if(param.get("bpcd")!=null) { - wrapper.like(WrpDfrSrvrdsbp::getBpcd,param.get("bpcd")); - } - if(param.get("bptp")!=null) { - wrapper.like(WrpDfrSrvrdsbp::getBptp,param.get("bptp")); - } - return wrapper; - } - - - public static LambdaQueryWrapper conditionWrpDfrSrvrdsmp(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("damcd")!=null) { - wrapper.like(WrpDfrSrvrdsmp::getDamcd,param.get("damcd")); - } - if(param.get("stcd")!=null) { - wrapper.like(WrpDfrSrvrdsmp::getStcd,param.get("stcd")); - } - if(param.get("mpcd")!=null) { - wrapper.like(WrpDfrSrvrdsmp::getMpcd,param.get("mpcd")); - } - return wrapper; - } - - public static LambdaQueryWrapper conditionWrpSpgPztb(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("damcd")!=null) { - wrapper.like(WrpSpgPztb::getDamcd,param.get("damcd")); - } - if(param.get("stcd")!=null) { - wrapper.like(WrpSpgPztb::getStcd,param.get("stcd")); - } - if(param.get("mpcd")!=null) { - wrapper.like(WrpSpgPztb::getMpcd,param.get("mpcd")); - } - return wrapper; - } - - public static LambdaQueryWrapper conditionWrpSpgSpprmp(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("damcd")!=null) { - wrapper.like(WrpSpgSpprmp::getDamcd,param.get("damcd")); - } - if(param.get("stcd")!=null) { - wrapper.like(WrpSpgSpprmp::getStcd,param.get("stcd")); - } - if(param.get("mpcd")!=null) { - wrapper.like(WrpSpgSpprmp::getMpcd,param.get("mpcd")); - } - if(param.get("ch")!=null) { - wrapper.like(WrpSpgSpprmp::getCh,param.get("ch")); - } - return wrapper; - } - - - public static LambdaQueryWrapper conditionWrpSpgSpqnmp(Map param){ - LambdaQueryWrapper wrapper=new LambdaQueryWrapper(); - if(param.get("damcd")!=null) { - wrapper.like(WrpSpgSpqnmp::getDamcd,param.get("damcd")); - } - if(param.get("stcd")!=null) { - wrapper.like(WrpSpgSpqnmp::getStcd,param.get("stcd")); - } - if(param.get("mpcd")!=null) { - wrapper.like(WrpSpgSpqnmp::getMpcd,param.get("mpcd")); - } - return wrapper; - } - - -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/TBuildingWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/TBuildingWrapper.java deleted file mode 100644 index fa206c6..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/TBuildingWrapper.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.TBuilding; -import com.hnac.hzims.damsafety.vo.TBuildingVo; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - - -import java.util.Objects; - -public class TBuildingWrapper extends BaseEntityWrapper { - public TBuildingWrapper() { - } - - public static TBuildingWrapper build() { - return new TBuildingWrapper(); - } - - @Override - public TBuildingVo entityVO(TBuilding entity) { - TBuildingVo tBuildingVo = Objects.requireNonNull(BeanUtil.copy(entity, TBuildingVo.class)); - return tBuildingVo; - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/TProjInfoWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/TProjInfoWrapper.java deleted file mode 100644 index 42e50c8..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/TProjInfoWrapper.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.TProjInfo; -import com.hnac.hzims.damsafety.vo.TProjInfoVo; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - -import java.util.Objects; - -public class TProjInfoWrapper extends BaseEntityWrapper { - public TProjInfoWrapper() { - } - - public static TProjInfoWrapper build() { - return new TProjInfoWrapper(); - } - - @Override - public TProjInfoVo entityVO(TProjInfo entity) { - if(entity == null){ - return null; - } - TProjInfoVo tProjInfoVo = Objects.requireNonNull(BeanUtil.copy(entity, TProjInfoVo.class)); - return tProjInfoVo; - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrhrdsmpWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrhrdsmpWrapper.java deleted file mode 100644 index d506247..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrhrdsmpWrapper.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrhrdsmp; -import com.hnac.hzims.damsafety.vo.WrpDfrSrhrdsmpVo; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - -import java.util.Objects; - -public class WrpDfrSrhrdsmpWrapper extends BaseEntityWrapper { - public WrpDfrSrhrdsmpWrapper() { - } - - public static WrpDfrSrhrdsmpWrapper build() { - return new WrpDfrSrhrdsmpWrapper(); - } - - @Override - public WrpDfrSrhrdsmpVo entityVO(WrpDfrSrhrdsmp entity) { - if(entity == null){ - return null; - } - WrpDfrSrhrdsmpVo wrpDfrSrhrdsmpVo = Objects.requireNonNull(BeanUtil.copy(entity, WrpDfrSrhrdsmpVo.class)); - - return wrpDfrSrhrdsmpVo; - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrvrdsbpWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrvrdsbpWrapper.java deleted file mode 100644 index b1f5417..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrvrdsbpWrapper.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; -import com.hnac.hzims.damsafety.vo.WrpDfrSrvrdsbpVo; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - -import java.util.Objects; - -public class WrpDfrSrvrdsbpWrapper extends BaseEntityWrapper { - public WrpDfrSrvrdsbpWrapper() { - } - - public static WrpDfrSrvrdsbpWrapper build() { - return new WrpDfrSrvrdsbpWrapper(); - } - - @Override - public WrpDfrSrvrdsbpVo entityVO(WrpDfrSrvrdsbp entity) { - if(entity == null){ - return null; - } - WrpDfrSrvrdsbpVo wrpDfrSrvrdsbpVo = Objects.requireNonNull(BeanUtil.copy(entity, WrpDfrSrvrdsbpVo.class)); - - return wrpDfrSrvrdsbpVo; - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrvrdsmpWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrvrdsmpWrapper.java deleted file mode 100644 index 5e47e27..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpDfrSrvrdsmpWrapper.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsmp; -import com.hnac.hzims.damsafety.vo.WrpDfrSrvrdsmpVo; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - -import java.util.Objects; - -public class WrpDfrSrvrdsmpWrapper extends BaseEntityWrapper { - public WrpDfrSrvrdsmpWrapper() { - } - - public static WrpDfrSrvrdsmpWrapper build() { - return new WrpDfrSrvrdsmpWrapper(); - } - - @Override - public WrpDfrSrvrdsmpVo entityVO(WrpDfrSrvrdsmp entity) { - if(entity == null){ - return null; - } - WrpDfrSrvrdsmpVo wrpDfrSrvrdsmpVo = Objects.requireNonNull(BeanUtil.copy(entity, WrpDfrSrvrdsmpVo.class)); - - return wrpDfrSrvrdsmpVo; - } -} \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSectionBWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSectionBWrapper.java deleted file mode 100644 index 77cabaa..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSectionBWrapper.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.WrpSectionB; -import com.hnac.hzims.damsafety.vo.WrpSectionBVO; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - -import java.util.Objects; - -public class WrpSectionBWrapper extends BaseEntityWrapper { - public WrpSectionBWrapper() { - } - - public static WrpSectionBWrapper build() { - return new WrpSectionBWrapper(); - } - - @Override - public WrpSectionBVO entityVO(WrpSectionB entity) { - if(entity == null){ - return null; - } - WrpSectionBVO wrpSectionBVO = Objects.requireNonNull(BeanUtil.copy(entity, WrpSectionBVO.class)); - //测点集合 - wrpSectionBVO.setPoints(null); - return wrpSectionBVO; - } -} diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgPztbWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgPztbWrapper.java deleted file mode 100644 index 91e13ea..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgPztbWrapper.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.WrpSpgPztb; -import com.hnac.hzims.damsafety.vo.WrpSpgPztbVo; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - -import java.util.Objects; - -public class WrpSpgPztbWrapper extends BaseEntityWrapper { - public WrpSpgPztbWrapper() { - } - - public static WrpSpgPztbWrapper build() { - return new WrpSpgPztbWrapper(); - } - - @Override - public WrpSpgPztbVo entityVO(WrpSpgPztb entity) { - if(entity == null){ - return null; - } - WrpSpgPztbVo wrpSpgPztbVo = Objects.requireNonNull(BeanUtil.copy(entity, WrpSpgPztbVo.class)); - - return wrpSpgPztbVo; - } -} \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgSpprmpWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgSpprmpWrapper.java deleted file mode 100644 index f34f6f8..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgSpprmpWrapper.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.WrpSpgSpprmp; -import com.hnac.hzims.damsafety.vo.WrpSpgSpprmpVo; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - -import java.util.Objects; - -public class WrpSpgSpprmpWrapper extends BaseEntityWrapper { - public WrpSpgSpprmpWrapper() { - } - - public static WrpSpgSpprmpWrapper build() { - return new WrpSpgSpprmpWrapper(); - } - - @Override - public WrpSpgSpprmpVo entityVO(WrpSpgSpprmp entity) { - if(entity == null){ - return null; - } - WrpSpgSpprmpVo wrpSpgSpprmpVo = Objects.requireNonNull(BeanUtil.copy(entity, WrpSpgSpprmpVo.class)); - - return wrpSpgSpprmpVo; - } -} \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgSpqnmpWrapper.java b/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgSpqnmpWrapper.java deleted file mode 100644 index bbac35c..0000000 --- a/hzims-service/dam-safety/src/main/java/com/hnac/hzims/damsafety/wrapper/WrpSpgSpqnmpWrapper.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.hnac.hzims.damsafety.wrapper; - -import com.hnac.hzims.damsafety.entity.WrpSpgSpqnmp; -import com.hnac.hzims.damsafety.vo.WrpSpgSpqnmpVo; -import org.springblade.core.mp.support.BaseEntityWrapper; -import org.springblade.core.tool.utils.BeanUtil; - -import java.util.Objects; - -public class WrpSpgSpqnmpWrapper extends BaseEntityWrapper { - public WrpSpgSpqnmpWrapper() { - } - - public static WrpSpgSpqnmpWrapper build() { - return new WrpSpgSpqnmpWrapper(); - } - - @Override - public WrpSpgSpqnmpVo entityVO(WrpSpgSpqnmp entity) { - if(entity == null){ - return null; - } - WrpSpgSpqnmpVo wrpSpgSpqnmpVo = Objects.requireNonNull(BeanUtil.copy(entity, WrpSpgSpqnmpVo.class)); - - return wrpSpgSpqnmpVo; - } -} \ No newline at end of file diff --git a/hzims-service/dam-safety/src/main/resources/application-dev.yml b/hzims-service/dam-safety/src/main/resources/application-dev.yml deleted file mode 100644 index 50a4ea7..0000000 --- a/hzims-service/dam-safety/src/main/resources/application-dev.yml +++ /dev/null @@ -1,30 +0,0 @@ -#服务器端口 -server: - port: 8200 - -#数据源配置 -#spring: -# datasource: -# url: ${blade.datasource.dev.url} -# username: ${blade.datasource.dev.username} -# password: ${blade.datasource.dev.password} - -spring: - #排除DruidDataSourceAutoConfigure - autoconfigure: - exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - datasource: - dynamic: - #设置默认的数据源或者数据源组,默认值即为master - primary: master - datasource: - master: - url: jdbc:mysql://127.0.0.1:3306/equipment?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true - username: root - password: 123456 - slave: - url: jdbc:mysql://127.0.0.1:3306/equipment?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true - username: root - password: 123456 -demo: - name: aaa diff --git a/hzims-service/dam-safety/src/main/resources/application-prod.yml b/hzims-service/dam-safety/src/main/resources/application-prod.yml deleted file mode 100644 index da89262..0000000 --- a/hzims-service/dam-safety/src/main/resources/application-prod.yml +++ /dev/null @@ -1,28 +0,0 @@ -#服务器端口 -server: - port: 8200 - -#数据源配置 -#spring: -# datasource: -# url: ${blade.datasource.prod.url} -# username: ${blade.datasource.prod.username} -# password: ${blade.datasource.prod.password} - -spring: - #排除DruidDataSourceAutoConfigure - autoconfigure: - exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - datasource: - dynamic: - #设置默认的数据源或者数据源组,默认值即为master - primary: master - datasource: - master: - url: ${blade.datasource.demo.master.url} - username: ${blade.datasource.demo.master.username} - password: ${blade.datasource.demo.master.password} - slave: - url: ${blade.datasource.demo.slave.url} - username: ${blade.datasource.demo.slave.username} - password: ${blade.datasource.demo.slave.password} diff --git a/hzims-service/dam-safety/src/main/resources/application.yml b/hzims-service/dam-safety/src/main/resources/application.yml deleted file mode 100644 index 0952a13..0000000 --- a/hzims-service/dam-safety/src/main/resources/application.yml +++ /dev/null @@ -1,13 +0,0 @@ -#mybatis-plus配置 -mybatis-plus: - mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml - #实体扫描,多个package用逗号或者分号分隔 - typeAliasesPackage: com.hnac.hzims.**.entity - -#swagger扫描路径配置 -swagger: - base-packages: - - org.springbalde - - com.hnac - - diff --git a/hzims-service/digital-twin-display/pom.xml b/hzims-service/digital-twin-display/pom.xml deleted file mode 100644 index af85fc2..0000000 --- a/hzims-service/digital-twin-display/pom.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service - 4.0.0-SNAPSHOT - - - digital-twin-display - jar - ${hzims.project.version} - - - 8 - 8 - UTF-8 - - - - - - - org.springblade - blade-core-boot - - - org.springblade - blade-starter-swagger - - - org.springblade - blade-starter-oss-all - - - com.baomidou - dynamic-datasource-spring-boot-starter - - - org.springblade - blade-core-test - test - - - org.springblade - blade-core-auto - compile - - - - - com.hnac.hzims - digital-twin-display-api - ${hzims.project.version} - - - - com.hnac.hzinfo.data - hzinfo-data-sdk - - - - com.hnac.hzims - weather-api - ${hzims.project.version} - - - - com.hnac.hzims - dam-safety-api - ${hzims.project.version} - - - - com.hnac.hzims - inspect-api - - - - com.hnac.hzims - hzims-operational-api - - - \ No newline at end of file diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/DigitalTwinDisplayApplication.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/DigitalTwinDisplayApplication.java deleted file mode 100644 index ad3bcd6..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/DigitalTwinDisplayApplication.java +++ /dev/null @@ -1,44 +0,0 @@ -package com.hnac.hzims.twindisplay; - -import org.mybatis.spring.annotation.MapperScan; -import org.springblade.core.cloud.feign.EnableBladeFeign; -import org.springblade.core.launch.BladeApplication; -import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; -import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.context.annotation.ComponentScan; -import org.springframework.scheduling.annotation.EnableScheduling; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 8:24 - */ -//数据孪生展示服务 -@EnableBladeFeign(basePackages = {"org.springblade","com.hnac"}) -@SpringCloudApplication -@MapperScan("com.hnac.hzims.**.mapper.**") -@EnableScheduling -@ComponentScan(basePackages = {"com.hnac.hzims.*"}) -public class DigitalTwinDisplayApplication extends SpringBootServletInitializer { - public final static String APP_NAME = "digital-twin-display"; - - static { - System.setProperty("spring.cloud.nacos.discovery.server-addr", "http://hadoop:8848"); - System.setProperty("spring.cloud.nacos.config.server-addr", "http://hadoop:8848"); - System.setProperty("spring.cloud.nacos.username", "nacos"); - System.setProperty("spring.cloud.nacos.password", "nacos"); - } - - - public static void main(String[] args) { -// System.setProperty("nacos.standalone", "true"); - BladeApplication.run(APP_NAME, DigitalTwinDisplayApplication.class, args); - } - - @Override - protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { - return BladeApplication.createSpringApplicationBuilder(builder, APP_NAME, DigitalTwinDisplayApplication.class); - } -} \ No newline at end of file diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/BaseInfoController.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/BaseInfoController.java deleted file mode 100644 index e5893f6..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/BaseInfoController.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.hnac.hzims.twindisplay.controller; - -import com.hnac.hzims.hzimsweather.vo.RainFallCountByMonthVo; -import com.hnac.hzims.twindisplay.service.IDigitalBaseInfoService; -import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.ResponseBody; -import org.springframework.web.bind.annotation.RestController; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@RestController -@Api(description = "数字孪生水电站一张图系统基本信息控制器") -@RequestMapping(value = "/digital/baseInfo/") -public class BaseInfoController { - - @Autowired - private IDigitalBaseInfoService digitalBaseInfoService; - - @ApiOperation(notes = "获取当前日期信息", value = "获取当前日期信息") - @RequestMapping(value = "/getDateInfo", method = RequestMethod.GET) - @ResponseBody - public Map getDateInfo(String areaCode) { - return digitalBaseInfoService.getDateInfo(); - } - - @ApiOperation(notes = "获取气象信息", value = "获取气象信息") - @RequestMapping(value = "/getWeatherInfo", method = RequestMethod.GET) - @ResponseBody - public Map getWeatherInfo(String location) { - Map result = new HashMap<>(1); - result.put(location, digitalBaseInfoService.getWeatherInfo(location)); - return result; - } - - @ApiOperation(notes = "获取水位信息", value = "获取水位信息") - @RequestMapping(value = "/getWaterLevel", method = RequestMethod.GET) - @ResponseBody - public double getWaterLevel(String instanceCode, String signage) { - return digitalBaseInfoService.getWaterLevel(instanceCode, signage); - } - - @ApiOperation(notes = "获取设备实时信息接口", value = "获取设备实时信息接口") - @RequestMapping(value = "/getRealData", method = RequestMethod.GET) - public Map getRealData(String deviceCode){ - Map result = new HashMap<>(); - List data = digitalBaseInfoService.getRealData(deviceCode); - result.put(deviceCode, data); - return result; - } - - @ApiOperation(notes = "获取降雨量信息", value = "获取降雨量信息") - @RequestMapping(value = "/getRainFallInfo", method = RequestMethod.GET) - @ResponseBody - public Map> getRainFallInfo(String year,String location) { - return digitalBaseInfoService.getRainFallInfo(year,location); - } - - @ApiOperation(notes = "获取电站发电运行信息", value = "获取电站发电运行信息") - @RequestMapping(value = "/getPowerStationHisInfo", method = RequestMethod.GET) - public Map getPowerStationHisInfo(String deviceCode){ - //有功功率属性名 - String activePower = "activePower"; - //无功功率属性名 - String reactivePower = "reactivePower"; - //发电量 - String power = "power"; - Map data = digitalBaseInfoService.getPowerStationHisInfo(deviceCode,activePower,reactivePower,power); - - return data; - } -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/RouteController.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/RouteController.java deleted file mode 100644 index 0e05da3..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/RouteController.java +++ /dev/null @@ -1,88 +0,0 @@ -package com.hnac.hzims.twindisplay.controller; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; -import com.hnac.hzims.twindisplay.service.RouteService; -import com.hnac.hzinfo.inspect.plan.entity.RouteEntity; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiParam; -import lombok.extern.slf4j.Slf4j; -import org.springblade.core.mp.support.BladePage; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; - -import java.util.Map; - -/** - * 三维巡检 - * - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 9:24 - */ -@Slf4j -@RestController -@RequestMapping("/route") -public class RouteController { - - - @Autowired - private RouteService routeService; - - - /** - * 查询巡检路径管理列表 - * - * @param st_re_route - * @param query - * @return - */ - @GetMapping("/list") - public R listRoute(@ApiIgnore @RequestParam Map st_re_route, Query query) { - BladePage pages = routeService.listRoute(st_re_route, query); - return R.data(pages); - - } - - - /** - * 新增 代码自定义代号 - */ - @PostMapping("/save") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入st_re_route") - public R save(@RequestBody RouteEntity st_re_route) { - routeService.save(st_re_route); - return R.success("保存成功"); - } - - - /** - * 修改 代码自定义代号 - */ - @PostMapping("/update") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "修改", notes = "传入st_re_route") - public R update(@RequestBody RouteEntity st_re_route) { - routeService.update(st_re_route); - return R.success("修改成功"); - } - - - /** - * 删除 代码自定义代号 - */ - @PostMapping("/remove") - @ApiOperationSupport(order = 7) - @ApiOperation(value = "逻辑删除", notes = "传入ids") - public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { - routeService.remove(ids); - return R.success("删除成功"); - } - - -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/StatisticsController.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/StatisticsController.java deleted file mode 100644 index 4023b80..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/StatisticsController.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.hnac.hzims.twindisplay.controller; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.common.logs.annotation.OperationAnnotation; -import com.hnac.hzims.common.logs.enums.BusinessType; -import com.hnac.hzims.common.logs.enums.OperatorType; - -import com.hnac.hzims.operational.defect.vo.OperDefectStatisticsVO; -import com.hnac.hzims.operational.defect.vo.StatistictCountVo; -import com.hnac.hzims.twindisplay.service.StatisticsService; -import io.swagger.annotations.ApiImplicitParams; -import io.swagger.annotations.ApiOperation; -import lombok.AllArgsConstructor; -import org.springblade.core.mp.support.BladePage; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.cloud.openfeign.SpringQueryMap; -import org.springframework.web.bind.annotation.*; - -import java.util.List; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 15:27 - */ -@RestController -@AllArgsConstructor -@RequestMapping("/defect_statistic") -public class StatisticsController { - - - @Autowired - private StatisticsService statisticsService; - - - - @GetMapping("/list") - @ApiOperation(value = "分页", notes = "传入statistics") - @ApiImplicitParams({ - }) - @OperationAnnotation(moduleName = "缺陷管理",title = "缺陷记录",operatorType = OperatorType.MOBILE,businessType = BusinessType.GENCODE,action - = "分页查询缺陷记录列表") - public R> list(@SpringQueryMap OperDefectStatisticsVO entity){ - - BladePage resultPage = statisticsService.list(entity); - return R.data(resultPage); - - } - - - - /** - * 巡检任务统计 - * @return - */ - @GetMapping("/defectStatistictCount") - public R defectStatistictCount(){ - - List statistictCountVos = statisticsService.defectStatistictCount(); - return R.data(statistictCountVos); - } -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/TaskController.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/TaskController.java deleted file mode 100644 index 81c4dde..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/controller/TaskController.java +++ /dev/null @@ -1,128 +0,0 @@ -package com.hnac.hzims.twindisplay.controller; - -import com.hnac.hzims.twindisplay.service.TaskService; -import com.hnac.hzims.vo.VoteChartVo; -import com.hnac.hzinfo.inspect.areamonthly.vo.EventListVO; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskListQuery; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskObjectVO; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskVo; -import com.hnac.hzinfo.inspect.task.entity.TaskEntity; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiParam; -import lombok.extern.slf4j.Slf4j; -import org.springblade.core.mp.support.BladePage; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.BladeUser; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.cloud.openfeign.SpringQueryMap; -import org.springframework.web.bind.annotation.*; - -import java.util.List; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 13:45 - */ -@Slf4j -@RestController -@RequestMapping("/task") -public class TaskController { - - - @Autowired - private TaskService taskService; - - - /** - * 巡检任务分页 - */ - @GetMapping("/pageList/{page}/{size}") - @ApiOperation(value = "分页显示任务列表", notes = "传入task") - public R> pageList( - @ApiParam(name = "page", value = "当前页", required = true) @PathVariable("page") Long page, - @ApiParam(name = "size", value = "每页记录数", required = true) @PathVariable("size") Long size, - @SpringQueryMap TaskListQuery task) { - - BladePage result = taskService.pageList(page, size, task); - return R.data(result); - - } - - - // /** - // * 获取巡检情况列表信息 - // */ - // @RequestMapping(value = "/list", method = {RequestMethod.GET, RequestMethod.POST}) - // @ApiOperation(value = "任务查看弹窗下面的列表 巡检情况列表信息分页", notes = "传入taskId") - // public R> list(Long taskId, Query query, - // BladeUser bladeUser) { - // BladePage result = taskService.list(taskId, query, bladeUser); - // return R.data(result); - // - // } - - - /** - * 查看 - * - * @param id - * @return - */ - @GetMapping(value = "/detail") - @ApiOperation(value = "查看,下面列表再调用eventController.list", notes = "传入taskid") - public R detail(@RequestParam Long id) { - TaskEntity task = taskService.detail(id); - return R.data(task); - } - - - /** - * 任务查看弹窗下面的列表 - * - * @param taskId - * @param query - * @param bladeUser - * @return - */ - @GetMapping(value = "/event/list") - @ApiOperation(value = "任务查看弹窗下面的列表 巡检情况列表信息分页", notes = "传入taskId") - public R> eventList(Long taskId, Query query, - BladeUser bladeUser) { - - BladePage bladePage = taskService.eventList(taskId, query, bladeUser); - return R.data(bladePage); - } - - - /** - * 获取任务详情 - */ - @RequestMapping(value = "/getTaskById", method = {RequestMethod.GET, RequestMethod.POST}) - @ApiOperation(value = "获取任务详情", notes = "传入taskId") - public R> getTaskById(@RequestParam Long id) { - List taskObjectVOS = taskService.getTaskById(id); - return R.data(taskObjectVOS); - } - - - - - /** - * 巡检计划统计 - */ - @GetMapping("/getTaskListStatistics") - @ApiOperation(value = "巡检计划统计", notes = "传入计划id") - public R> getTaskListStatistics(@RequestParam String startTime, @RequestParam String endTime, - @RequestParam Long deptId){ - List taskObjectVOS = taskService.getTaskListStatistics(startTime,endTime,deptId); - return R.data(taskObjectVOS); - - } -} - - - - diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/IDigitalBaseInfoService.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/IDigitalBaseInfoService.java deleted file mode 100644 index 514c751..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/IDigitalBaseInfoService.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.hnac.hzims.twindisplay.service; - -import com.hnac.hzims.hzimsweather.response.weather.HeWeatherWeatherNowResponse; -import com.hnac.hzims.hzimsweather.vo.RainFallCountByMonthVo; -import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; - -import java.util.List; -import java.util.Map; - -public interface IDigitalBaseInfoService { - - /** - * 获取日期时间信息 - * @return - */ - Map getDateInfo(); - - /** - * 获取气象信息 - * @param location - * @return - */ - HeWeatherWeatherNowResponse getWeatherInfo(String location); - - /** - * 获取水位信息 - * @param instanceCode - * @param signage - * @return - */ - double getWaterLevel(String instanceCode, String signage); - - /** - * 获取设备信息 - * @param deviceCode - * @return - */ - List getRealData(String deviceCode); - - /** - * 获取地区降雨量信息 - * @param year - * @param location - * @return - */ - Map> getRainFallInfo(String year, String location); - - /** - * 获取电站发电运行信息 - * @param deviceCode - * @param activePower - * @param reactivePower - * @param power - * @return - */ - Map getPowerStationHisInfo(String deviceCode, String activePower, String reactivePower, String power); -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/RouteService.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/RouteService.java deleted file mode 100644 index 5abf64f..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/RouteService.java +++ /dev/null @@ -1,44 +0,0 @@ -package com.hnac.hzims.twindisplay.service; - -import com.hnac.hzinfo.inspect.plan.entity.RouteEntity; -import org.springblade.core.mp.support.BladePage; -import org.springblade.core.mp.support.Query; - -import java.util.Map; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 10:12 - */ -public interface RouteService { - - /** - * 查询巡检路径管理列表 - * @param stReRoute - * @param query - * @return - */ - BladePage listRoute(Map stReRoute, Query query); - - /** - * 新增 - * @param stReRoute - */ - void save(RouteEntity stReRoute); - - - /** - * 修改 - * @param stReRoute - */ - void update(RouteEntity stReRoute); - - - /** - * 删除 - * @param ids - */ - void remove(String ids); -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/StatisticsService.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/StatisticsService.java deleted file mode 100644 index 2e856f1..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/StatisticsService.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.hnac.hzims.twindisplay.service; - -import com.hnac.hzims.operational.defect.vo.OperDefectStatisticsVO; -import com.hnac.hzims.operational.defect.vo.StatistictCountVo; -import org.springblade.core.mp.support.BladePage; - -import java.util.List; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 15:28 - */ -public interface StatisticsService { - - - /** - * 缺陷管理 - * @param entity - * @return - */ - BladePage list(OperDefectStatisticsVO entity); - - - /** - * 巡检任务统计 - * @return - */ - List defectStatistictCount(); - -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/TaskService.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/TaskService.java deleted file mode 100644 index 34f40ee..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/TaskService.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.hnac.hzims.twindisplay.service; - -import com.hnac.hzims.vo.VoteChartVo; -import com.hnac.hzinfo.inspect.areamonthly.vo.EventListVO; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskListQuery; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskObjectVO; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskVo; -import com.hnac.hzinfo.inspect.task.entity.TaskEntity; -import org.springblade.core.mp.support.BladePage; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.BladeUser; - -import java.util.List; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 13:49 - */ -public interface TaskService { - - - /** - * 巡检任务分页 - * @param page - * @param size - * @param task - * @return - */ - BladePage pageList(Long page, Long size, TaskListQuery task); - - // - // /** - // * 获取巡检情况列表信息 - // * @param taskId - // * @param query - // * @param bladeUser - // * @return - // */ - // BladePage list(Long taskId, Query query, BladeUser bladeUser); - - - /** - * 根据id获取检修任务 - * @param id - * @return - */ - TaskEntity detail(Long id); - - - /** - * 任务查看弹窗下面的列表 - * @param taskId - * @param query - * @param bladeUser - * @return - */ - BladePage eventList(Long taskId, Query query, BladeUser bladeUser); - - - /** - * 获取任务详情 - * @param id - * @return - */ - List getTaskById(Long id); - - - /** - * 巡检计划统计 - * @param startTime - * @param endTime - * @param deptId - * @return - */ - List getTaskListStatistics(String startTime, String endTime, Long deptId); -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/DigitalBaseInfoServiceImpl.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/DigitalBaseInfoServiceImpl.java deleted file mode 100644 index db70c87..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/DigitalBaseInfoServiceImpl.java +++ /dev/null @@ -1,203 +0,0 @@ -package com.hnac.hzims.twindisplay.service.impl; - -import com.hnac.hzims.damsafety.feign.IWrpSectionBClient; -import com.hnac.hzims.hzimsweather.feign.IHeWeatherWeatherClient; -import com.hnac.hzims.hzimsweather.response.weather.HeWeatherWeatherNowResponse; -import com.hnac.hzims.hzimsweather.vo.RainFallCountByMonthVo; -import com.hnac.hzims.twindisplay.service.IDigitalBaseInfoService; -import com.hnac.hzinfo.datasearch.analyse.IAnalyseDataSearchClient; -import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; -import com.hnac.hzinfo.datasearch.analyse.po.AnalyseCodeByAnalyseDataPO; -import com.hnac.hzinfo.datasearch.analyse.po.AnalyzeDataConditionPO; -import com.hnac.hzinfo.datasearch.analyse.vo.AnalyzeDataConditionVO; -import com.hnac.hzinfo.datasearch.real.po.RealDataSearchPO; -import com.hnac.hzinfo.sdk.analyse.AnalyseDataSearchClient; -import com.hnac.hzinfo.sdk.core.response.Result; -import lombok.RequiredArgsConstructor; -import org.springblade.core.tool.api.R; -import org.springblade.core.tool.utils.CollectionUtil; -import org.springblade.core.tool.utils.DateUtil; -import org.springblade.core.tool.utils.ObjectUtil; -import org.springblade.core.tool.utils.StringUtil; -import org.springframework.stereotype.Service; - -import java.text.SimpleDateFormat; -import java.time.LocalDate; -import java.time.LocalDateTime; -import java.time.LocalTime; -import java.util.*; - -@Service -@RequiredArgsConstructor -public class DigitalBaseInfoServiceImpl implements IDigitalBaseInfoService { - - private final IHeWeatherWeatherClient heWeatherWeatherClient; - - private final IAnalyseDataSearchClient ianalyseDataSearchClient; - - private final IWrpSectionBClient wrpSectionBClient; - - private final AnalyseDataSearchClient analyseDataSearchClient; - - @Override - public Map getDateInfo() { - Map info = new HashMap<>(3); - Date now = new Date(); - SimpleDateFormat dateFm1 = new SimpleDateFormat("EEEE"); - SimpleDateFormat dateFm2 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); - //获取当前日期是星期几,中文展示 e.g. 星期二 - String week = dateFm1.format(now); - String dateTime = dateFm2.format(now); - String[] s = dateTime.split(" "); - info.put("date", s[0]); - info.put("time", s[1]); - info.put("week", week); - return info; - } - - @Override - public HeWeatherWeatherNowResponse getWeatherInfo(String location) { - if(StringUtil.isEmpty(location)){ - return null; - } - // 天气feign接口查询实时天气 - R result = heWeatherWeatherClient.getWeatherNowWithCache(location); - if(!result.isSuccess() || ObjectUtil.isEmpty(result)){ - return null; - } - return result.getData(); - } - - @Override - public double getWaterLevel(String instanceCode, String signage) { - - RealDataSearchPO realData = new RealDataSearchPO(); - realData.setAnalyzeCode(instanceCode); - List signages = Collections.singletonList(signage); - realData.setSignages(signages); - // 调用fegin接口查询实时数据 - R> R = ianalyseDataSearchClient.getRealDataByAnalyzeCode(realData); - if(!R.isSuccess() || CollectionUtil.isEmpty(R.getData())){ - return 0.0; - } - // 时间限制 - String time = R.getData().get(0).getTime(); - if(StringUtil.isEmpty(time) || "-".equals(time)){ - return 0.0; - } - Date date = DateUtil.parse(time, "yyyy-MM-dd HH:mm:ss.sss"); - if(System.currentTimeMillis() - date.getTime() > 30 * 60 * 1000L){ - return 0.0; - } - return Double.parseDouble(R.getData().get(0).getValue()); - } - - @Override - public List getRealData(String deviceCode) { - R> realData = wrpSectionBClient.getRealData(deviceCode); - if(!realData.isSuccess() || CollectionUtil.isEmpty(realData.getData())){ - return null; - } - return realData.getData(); - } - - @Override - public Map> getRainFallInfo(String year, String location) { - R>> result = heWeatherWeatherClient.getRainFallMonthCount(year, location); - if(!result.isSuccess() || CollectionUtil.isEmpty(result.getData())){ - return null; - } - return result.getData(); - } - - @Override - public Map getPowerStationHisInfo(String deviceCode, String activePower, String reactivePower, String power) { - R> realData = wrpSectionBClient.getRealData(deviceCode); - - Map result = new HashMap<>(); - if(realData.isSuccess() && CollectionUtil.isNotEmpty(realData.getData())){ - List datas = realData.getData(); - datas.stream().forEach(data -> { - if (activePower.equals(data.getSignage())) { - //有功功率 - result.put(activePower, data.getValue()); - } - if (reactivePower.equals(data.getSignage())) { - //无功功率 - result.put(reactivePower, data.getValue()); - } - }); - } - - //当前年的第一天 2023-1-1 - LocalDate year = LocalDate.now().withDayOfYear(1); - //当前月的第一天 2023-8-1 - LocalDate month = LocalDate.now().withDayOfMonth(1); - //当天 2023-8-29 - LocalDate day = LocalDate.now(); - LocalTime startTime = LocalTime.MIN; - - - LocalDateTime end = LocalDateTime.now(); - - //年累计 - LocalDateTime start = LocalDateTime.of(year, startTime); - AnalyseCodeByAnalyseDataPO poForYear = getPowerByParam(deviceCode, start, end, 4, 6, 1); - Result> listForYear = analyseDataSearchClient.getAnalyzeDataByAnalyzeCodeAndSignages(poForYear); - - //月累计 - start = LocalDateTime.of(month, startTime); - AnalyseCodeByAnalyseDataPO poForMonth = getPowerByParam(deviceCode, start, end, 4, 5, 1); - Result> listForMonth = analyseDataSearchClient.getAnalyzeDataByAnalyzeCodeAndSignages(poForMonth); - - //日累计 - start = LocalDateTime.of(day, startTime); - AnalyseCodeByAnalyseDataPO poForDay = getPowerByParam(deviceCode, start, end, 4, 4, 1); - Result> listForDay = analyseDataSearchClient.getAnalyzeDataByAnalyzeCodeAndSignages(poForDay); - - //日发电计划完成率 - result.put("dayPowerRate",null); - //月发电计划完成率 - result.put("monthPowerRate",null); - //日累计发电量 - result.put("dayPowerSum",null); - //月累计发电量 - result.put("monthPowerSum",null); - //年累计发电量 - result.put("yearPowerSum",null); - return result; - } - - /** - * 根据入参查询设备信息 - * @param deviceCode 设备编号 - * @param start 开始时间 - * @param end 结束时间 - * @param accessRules 取数规则0=最早值、1=最大值、2=最小值、3=平均值、4=(累计值/和值)、5=(变化值/差值) 6=最新值 - * @param saveTimeType 周期类型: 0-> s(秒) 1->m(分) 2->h(小时) 3->d(天) 4->w(周) 5->n(自然月) 6->y(自然年) - * @param timeInterval 间隔时间 - * @return - */ - public AnalyseCodeByAnalyseDataPO getPowerByParam(String deviceCode, LocalDateTime start, LocalDateTime end, - Integer accessRules, Integer saveTimeType, Integer timeInterval) { - AnalyseCodeByAnalyseDataPO po = new AnalyseCodeByAnalyseDataPO(); - po.setDeviceCode(deviceCode); - - List signboardConditions = new ArrayList<>(); - AnalyzeDataConditionPO conditionPO = new AnalyzeDataConditionPO(); - - conditionPO.setBeginTime(start); - conditionPO.setEndTime(end); - conditionPO.setSignages(deviceCode); -// conditionPO.setKeepFigures(3); - conditionPO.setAccessRules(accessRules); - conditionPO.setSaveTimeType(saveTimeType); - conditionPO.setTimeInterval(timeInterval); - conditionPO.setFull(1); - signboardConditions.add(conditionPO); - po.setSignboardConditions(signboardConditions); - return po; - } - - -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/RouteServiceImpl.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/RouteServiceImpl.java deleted file mode 100644 index 71aff48..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/RouteServiceImpl.java +++ /dev/null @@ -1,82 +0,0 @@ -package com.hnac.hzims.twindisplay.service.impl; - -import com.hnac.hzims.twindisplay.service.RouteService; -import com.hnac.hzinfo.inspect.plan.entity.RouteEntity; -import com.hnac.hzinfo.inspect.threedimensional.fegin.RouteFeignClient; -import lombok.extern.slf4j.Slf4j; -import org.springblade.core.log.exception.ServiceException; -import org.springblade.core.mp.support.BladePage; -import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.util.Map; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 10:12 - */ -@Slf4j -@Service("RouteServiceImpl") -public class RouteServiceImpl implements RouteService { - - - @Autowired - private RouteFeignClient routeFeignClient; - - /** - * 查询巡检路径管理列表 - * - * @param stReRoute - * @param query - * @return - */ - @Override - public BladePage listRoute(Map stReRoute, Query query) { - R> list = routeFeignClient.list(stReRoute, query); - if (list.isSuccess()) { - return list.getData(); - } - log.error("RouteFeignClient 调用错误"); - return null; - } - - /** - * 新增 - * - * @param stReRoute - */ - @Override - public void save(RouteEntity stReRoute) { - R save = routeFeignClient.save(stReRoute); - if (!save.isSuccess()) { - throw new ServiceException("保存失败"); - } - } - - /** - * 修改 - * - * @param stReRoute - */ - @Override - public void update(RouteEntity stReRoute) { - R update = routeFeignClient.update(stReRoute); - if (!update.isSuccess()) { - throw new ServiceException("数据不存在"); - } - } - - /** - * 删除 - * - * @param ids - */ - @Override - public void remove(String ids) { - - } -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/StatisticsServiceImpl.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/StatisticsServiceImpl.java deleted file mode 100644 index fbb3cc8..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/StatisticsServiceImpl.java +++ /dev/null @@ -1,56 +0,0 @@ -package com.hnac.hzims.twindisplay.service.impl; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.operational.defect.feign.StatisticsFeignClient; -import com.hnac.hzims.operational.defect.vo.OperDefectStatisticsVO; -import com.hnac.hzims.operational.defect.vo.StatistictCountVo; -import com.hnac.hzims.twindisplay.service.StatisticsService; -import org.springblade.core.mp.support.BladePage; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.util.List; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 15:30 - */ -@Service -public class StatisticsServiceImpl implements StatisticsService { - - @Autowired - private StatisticsFeignClient statisticsFeignClient; - - /** - * 缺陷管理 - * - * @param entity - * @return - */ - @Override - public BladePage list(OperDefectStatisticsVO entity) { - R> list = statisticsFeignClient.list(entity); - if (list.isSuccess()) { - return list.getData(); - } - return null; - } - - /** - * 巡检任务统计 - * - * @return - */ - @Override - public List defectStatistictCount() { - - R> r = statisticsFeignClient.defectStatistictCount(); - if (r.isSuccess()) { - return r.getData(); - } - return null; - } -} diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/TaskServiceImpl.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/TaskServiceImpl.java deleted file mode 100644 index ab88bc4..0000000 --- a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/service/impl/TaskServiceImpl.java +++ /dev/null @@ -1,135 +0,0 @@ -package com.hnac.hzims.twindisplay.service.impl; - -import com.hnac.hzims.twindisplay.service.TaskService; -import com.hnac.hzims.vo.VoteChartVo; -import com.hnac.hzinfo.inspect.areamonthly.feign.TaskFeignClient; -import com.hnac.hzinfo.inspect.areamonthly.vo.EventListVO; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskListQuery; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskObjectVO; -import com.hnac.hzinfo.inspect.areamonthly.vo.TaskVo; -import com.hnac.hzinfo.inspect.task.entity.TaskEntity; -import lombok.extern.slf4j.Slf4j; -import org.springblade.core.mp.support.BladePage; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.BladeUser; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Lazy; -import org.springframework.stereotype.Service; - -import java.util.List; - -/** - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/25 13:50 - */ -@Slf4j -@Service -public class TaskServiceImpl implements TaskService { - - - @Autowired - @Lazy - private TaskFeignClient taskFeignClient; - - /** - * 巡检任务分页 - * - * @param page - * @param size - * @param task - * @return - */ - @Override - public BladePage pageList(Long page, Long size, TaskListQuery task) { - R> pagedList = taskFeignClient.pageList(page, size, task); - if (pagedList.isSuccess()) { - return pagedList.getData(); - } - log.error("巡检任务调用失败"); - return null; - } - - // /** - // * 获取巡检情况列表信息 - // * - // * @param taskId - // * @param query - // * @param bladeUser - // * @return - // */ - // @Override - // public BladePage list(Long taskId, Query query, BladeUser bladeUser) { - // R> bladePageR = taskFeignClient.list(taskId, query, bladeUser); - // if (bladePageR.isSuccess()) { - // return bladePageR.getData(); - // } - // return null; - // } - - /** - * 根据id获取检修任务 - * - * @param id - * @return - */ - @Override - public TaskEntity detail(Long id) { - R detail = taskFeignClient.detail(id); - if (detail.isSuccess()) { - return detail.getData(); - } - return null; - } - - /** - * 任务查看弹窗下面的列表 - * - * @param taskId - * @param query - * @param bladeUser - * @return - */ - @Override - public BladePage eventList(Long taskId, Query query, BladeUser bladeUser) { - R> eventList = taskFeignClient.eventList(taskId, query, bladeUser); - if (eventList.isSuccess()) { - return eventList.getData(); - } - return null; - } - - /** - * 获取任务详情 - * - * @param id - * @return - */ - @Override - public List getTaskById(Long id) { - R> taskById = taskFeignClient.getTaskById(id); - if (taskById.isSuccess()) { - return taskById.getData(); - } - return null; - } - - /** - * 巡检计划统计 - * - * @param startTime - * @param endTime - * @param deptId - * @return - */ - @Override - public List getTaskListStatistics(String startTime, String endTime, Long deptId) { - R> taskListStatistics = taskFeignClient.getTaskListStatistics(startTime, endTime, deptId); - if (taskListStatistics.isSuccess()) { - return taskListStatistics.getData(); - } - return null; - } -} diff --git a/hzims-service/digital-twin-display/src/main/resources/application-dev.yml b/hzims-service/digital-twin-display/src/main/resources/application-dev.yml deleted file mode 100644 index 50a4ea7..0000000 --- a/hzims-service/digital-twin-display/src/main/resources/application-dev.yml +++ /dev/null @@ -1,30 +0,0 @@ -#服务器端口 -server: - port: 8200 - -#数据源配置 -#spring: -# datasource: -# url: ${blade.datasource.dev.url} -# username: ${blade.datasource.dev.username} -# password: ${blade.datasource.dev.password} - -spring: - #排除DruidDataSourceAutoConfigure - autoconfigure: - exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - datasource: - dynamic: - #设置默认的数据源或者数据源组,默认值即为master - primary: master - datasource: - master: - url: jdbc:mysql://127.0.0.1:3306/equipment?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true - username: root - password: 123456 - slave: - url: jdbc:mysql://127.0.0.1:3306/equipment?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true - username: root - password: 123456 -demo: - name: aaa diff --git a/hzims-service/digital-twin-display/src/main/resources/application-prod.yml b/hzims-service/digital-twin-display/src/main/resources/application-prod.yml deleted file mode 100644 index da89262..0000000 --- a/hzims-service/digital-twin-display/src/main/resources/application-prod.yml +++ /dev/null @@ -1,28 +0,0 @@ -#服务器端口 -server: - port: 8200 - -#数据源配置 -#spring: -# datasource: -# url: ${blade.datasource.prod.url} -# username: ${blade.datasource.prod.username} -# password: ${blade.datasource.prod.password} - -spring: - #排除DruidDataSourceAutoConfigure - autoconfigure: - exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - datasource: - dynamic: - #设置默认的数据源或者数据源组,默认值即为master - primary: master - datasource: - master: - url: ${blade.datasource.demo.master.url} - username: ${blade.datasource.demo.master.username} - password: ${blade.datasource.demo.master.password} - slave: - url: ${blade.datasource.demo.slave.url} - username: ${blade.datasource.demo.slave.username} - password: ${blade.datasource.demo.slave.password} diff --git a/hzims-service/digital-twin-display/src/main/resources/application.yml b/hzims-service/digital-twin-display/src/main/resources/application.yml deleted file mode 100644 index de3d915..0000000 --- a/hzims-service/digital-twin-display/src/main/resources/application.yml +++ /dev/null @@ -1,21 +0,0 @@ -#mybatis-plus配置 -mybatis-plus: - mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml - #实体扫描,多个package用逗号或者分号分隔 - typeAliasesPackage: com.hnac.hzims.**.entity - -#swagger扫描路径配置 -swagger: - base-packages: - - org.springbalde - - com.hnac - - - -spring: - datasource: - url: jdbc:mysql://192.168.65.124:3576/hzinfo_data?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true - username: hzinfo - password: 1qaz2WSX! - - - diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/impl/CentralMonitorServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/impl/CentralMonitorServiceImpl.java index 5c78168..41c442e 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/impl/CentralMonitorServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/impl/CentralMonitorServiceImpl.java @@ -1,6 +1,7 @@ package com.hnac.hzims.operational.config.service.impl; import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.hnac.hzims.operational.config.service.CentralMonitorService; import com.hnac.hzims.operational.config.vo.PointDataVo; @@ -19,6 +20,7 @@ import lombok.RequiredArgsConstructor; import org.springblade.core.log.exception.ServiceException; import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.CollectionUtil; +import org.springblade.core.tool.utils.ObjectUtil; import org.springblade.core.tool.utils.StringUtil; import org.springblade.system.entity.Dept; import org.springblade.system.feign.ISysClient; @@ -33,6 +35,7 @@ import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; +import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.List; @@ -92,10 +95,10 @@ public class CentralMonitorServiceImpl implements CentralMonitorService { OriginalDataQuery originalDataQuery = new OriginalDataQuery(); originalDataQuery.setRealId(roleId); originalDataQuery.setLimit(size); - LocalDateTime endTime = LocalDateTime.now(); - LocalDateTime startTime = endTime.minusHours(1); - originalDataQuery.setBeginTime(this.getOriginalDate(startTime)); - originalDataQuery.setEndTime(this.getOriginalDate(endTime)); + Calendar calendar = Calendar.getInstance(); + originalDataQuery.setEndTime(calendar.getTime()); + calendar.add(Calendar.HOUR_OF_DAY,-1); + originalDataQuery.setBeginTime(calendar.getTime()); Result> originalDataByRealIds = historyDataSearchClient.getOriginalDataByRealIds(originalDataQuery); if (!originalDataByRealIds.isSuccess()) { throw new ServiceException("数据不存在"); @@ -105,9 +108,13 @@ public class CentralMonitorServiceImpl implements CentralMonitorService { PointDataVo pointDataVo = new PointDataVo(); BeanUtils.copyProperties(item, pointDataVo); //通过站点id获取站点名称 - String station = pointDataVo.getStation(); - String stationName = stationService.selectStationById(station); - pointDataVo.setStationName(stationName); + String code = pointDataVo.getStation(); + StationEntity station = stationService.getOne(Wrappers.lambdaQuery() + .eq(StationEntity::getCode,code) + ); + if(ObjectUtil.isEmpty(station)){ + pointDataVo.setStationName(station.getName()); + } return pointDataVo; }).collect(Collectors.toList()); diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/HydropowerStationController.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/HydropowerStationController.java deleted file mode 100644 index c2a389f..0000000 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/HydropowerStationController.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.hnac.hzims.operational.station.controller; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.hnac.hzims.operational.station.entity.StationEntity; -import com.hnac.hzims.operational.station.service.IStationService; -import com.hnac.hzims.operational.station.vo.StationsQueryVo; -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; -import org.springblade.core.tool.api.R; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -import java.util.List; -import java.util.Map; - -/** - * 绿色小水电 - * - * @Author WL - * @Version v1.0 - * @Serial 1.0 - * @Date 2023/8/15 15:58 - */ -@RequestMapping("/hydropower/station") -@Slf4j -@RestController -@RequiredArgsConstructor -public class HydropowerStationController { - - - private final IStationService stationService; - - /** - * 对全县绿色水电站在水电GIS一张图上进行展示,直观展现绿色小水电站的分布信息。 - */ - @GetMapping("pageList/{page}/{size}") - public R pageList(@PathVariable Long page, - @PathVariable Long size, - StationsQueryVo stationQueryVo) { - Page stationEntityPage = new Page<>(page, size); - IPage stationEntityIPage = - stationService.selectPageList(stationEntityPage, stationQueryVo); - return R.data(stationEntityIPage); - } - - - /** - * 对全县绿色水电站在水电GIS一张图上进行展示,直观展现绿色小水电站的分布信息。 - */ - @GetMapping("/list") - public R list(StationsQueryVo stationsQueryVo) { - List list = stationService.selectStationsQueryList(stationsQueryVo); - return R.data(list); - } - - - /** - * 查看详情 - */ - @GetMapping("/get/{id}") - public R getById(@PathVariable Long id) { - StationEntity station = stationService.getById(id); - return R.data(station); - } - - - /** - * 获取绿色小水站电站数据 - */ - @GetMapping("/get/count") - public R getCount() { - Map stationVos = stationService.getCount(); - return R.data(stationVos); - } - - -} diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationController.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationController.java index ca0ecbb..2d358a0 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationController.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationController.java @@ -1,6 +1,5 @@ package com.hnac.hzims.operational.station.controller; -import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; @@ -13,7 +12,6 @@ import com.hnac.hzims.operational.station.entity.StationEntity; import com.hnac.hzims.operational.station.service.IStationService; import com.hnac.hzims.operational.station.vo.StationVO; import io.swagger.annotations.Api; -import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; @@ -23,8 +21,6 @@ import org.springblade.core.log.annotation.ApiLog; import org.springblade.core.log.exception.ServiceException; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.BladeUser; -import org.springblade.core.secure.utils.AuthUtil; import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.CollectionUtil; import org.springblade.core.tool.utils.Func; @@ -33,14 +29,7 @@ import org.springframework.util.Assert; import org.springframework.web.bind.annotation.*; import javax.validation.Valid; -import java.lang.reflect.Array; -import java.util.ArrayList; -import java.util.Arrays; import java.util.List; -import java.util.Optional; -import java.util.concurrent.Executors; -import java.util.concurrent.Future; -import java.util.stream.Collectors; @RestController @RequestMapping("/station") @@ -70,13 +59,6 @@ public class StationController extends BladeController { return R.data(vos); } - @GetMapping("/detail/{id}") - // @ApiOperationSupport(order = 60) - @ApiOperation(value = "查看详情", notes = "查看详情") - public R detail(@PathVariable @ApiParam("主键ID") Long id) { - return R.data(stationService.getByStationId(id)); - } - /** * 新增 */ @@ -84,7 +66,7 @@ public class StationController extends BladeController { @ApiOperationSupport(order = 20) @ApiOperation(value = "新增") public R save(@Valid @RequestBody StationEntity req) { - stationService.buildStation(req,"add"); + stationService.buildStation(req); return R.success("保存成功!"); // List list = stationService.list(new LambdaQueryWrapper(){{ // eq(StationEntity::getCode,req.getCode()).or().eq(StationEntity::getName,req.getName()); @@ -106,7 +88,7 @@ public class StationController extends BladeController { @ApiOperationSupport(order = 30) @ApiOperation(value = "修改", notes = "传入StationEntity") public R update(@Valid @RequestBody StationEntity req) { - stationService.buildStation(req,"update"); + stationService.buildStation(req); return R.success("修改成功!"); // LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper(); // queryWrapper.ne(StationEntity::getId,req.getId()); @@ -217,16 +199,4 @@ public class StationController extends BladeController { public R> select(@RequestParam(value = "type", required = false) Integer type, @RequestParam(value = "serveType", required = false) Integer serveType) { return R.data(stationService.select(type, serveType)); } - - - /** - * 两票编号抬头唯一效验 - */ - @ApiModelProperty("两票编号抬头唯一效验") - @GetMapping("/uniqueStationByStation") - public R uniqueStationByStation(@RequestParam(value = "signage") String signage) { - stationService.uniqueStationByStation(signage); - return R.success("两票编号抬头不存在,可以创建"); - } - } diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/IStationService.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/IStationService.java index fbf2ec8..924cb11 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/IStationService.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/IStationService.java @@ -27,11 +27,9 @@ public interface IStationService extends BaseService { /** * 新建站点 - * - * @param req 站点信息 - * @param updateOrAdd + * @param req */ - void buildStation(StationEntity req, String updateOrAdd); + void buildStation(StationEntity req); /** * 实例化实时画面项目 @@ -127,49 +125,6 @@ public interface IStationService extends BaseService { */ StationEntity getOne(StationEntity request); - - /** - * 两票编号抬头唯一效验 - * @param signage 站点编号 - * @return - */ - void uniqueStationByStation(String signage); - - /** - * 通过站点id获取站点名称 - * @param station - * @return - */ - String selectStationById(String station); - - - /** - * 查看详情 - * @param id - * @return - */ - StationEntity getByStationId(Long id); - - - /** - * 对全县绿色水电站在水电GIS一张图上进行展示,直观展现绿色小水电站的分布信息。 - * @param stationEntityPage - * @param stationQueryVo - * @return - */ - IPage selectPageList(Page stationEntityPage, StationsQueryVo stationQueryVo); - - /** - * 获取绿色小水站电站数据 - * @return - */ - Map getCount(); - - - /** - * 对全县绿色水电站在水电GIS一张图上进行展示,直观展现绿色小水电站的分布信息。 - * @param stationsQueryVo - * @return - */ - List selectStationsQueryList(StationsQueryVo stationsQueryVo); + @Override + boolean updateById(StationEntity req); } diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java index 9f2a033..a804f77 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java @@ -5,31 +5,31 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.Wrappers; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.google.common.collect.Lists; import com.hnac.hzims.common.service.UserAuthDataService; import com.hnac.hzims.fdp.feign.IQuestionClient; import com.hnac.hzims.operational.OperationalConstants; +import com.hnac.hzims.operational.main.constant.HomePageConstant; import com.hnac.hzims.operational.main.vo.StationCountVo; import com.hnac.hzims.operational.station.StationConstants; -import com.hnac.hzims.operational.main.constant.HomePageConstant; import com.hnac.hzims.operational.station.dto.StationPushConfigDTO; -import com.hnac.hzims.operational.station.entity.*; +import com.hnac.hzims.operational.station.entity.ControlUsersEntity; +import com.hnac.hzims.operational.station.entity.StationEntity; +import com.hnac.hzims.operational.station.entity.StationPushConfigEntity; import com.hnac.hzims.operational.station.mapper.ControlUsersMapper; import com.hnac.hzims.operational.station.mapper.StationMapper; -import com.hnac.hzims.operational.station.service.*; -import com.hnac.hzims.operational.station.vo.*; +import com.hnac.hzims.operational.station.service.IStationAttributeService; +import com.hnac.hzims.operational.station.service.IStationPushConfigService; +import com.hnac.hzims.operational.station.service.IStationService; +import com.hnac.hzims.operational.station.vo.HzimsStationCountVo; +import com.hnac.hzims.operational.station.vo.StationAndDeptVo; +import com.hnac.hzims.operational.station.vo.StationPushConfigVO; +import com.hnac.hzims.operational.station.vo.StationVO; import com.hnac.hzims.operational.station.wrapper.StationWrapper; -/*import com.hnac.hzinfo.sdk.core.response.Result; -import com.hnac.hzinfo.sdk.v5.project.ProjectClient; -import com.hnac.hzinfo.sdk.v5.project.dto.ProjectDTO; -import com.hnac.hzinfo.sdk.v5.project.vo.ProjectVO;*/ import com.hnac.hzinfo.sdk.core.response.Result; import com.hnac.hzinfo.sdk.v5.project.ProjectClient; import com.hnac.hzinfo.sdk.v5.project.dto.ProjectDTO; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang.StringUtils; import org.springblade.core.log.exception.ServiceException; import org.springblade.core.log.logger.BladeLogger; @@ -46,13 +46,11 @@ import org.springblade.system.entity.Dept; import org.springblade.system.feign.IDeptClient; import org.springblade.system.feign.ISysClient; import org.springblade.system.user.entity.User; - import org.springblade.system.user.feign.IUserClient; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.Assert; -import java.time.Year; import java.util.*; import java.util.stream.Collectors; @@ -73,13 +71,8 @@ public class StationServiceImpl extends BaseServiceImpllambdaQuery() @@ -103,49 +96,6 @@ public class StationServiceImpl extends BaseServiceImpl().eq(VideoStation::getStationId, - req.getId())); - //图片 - imageStationService.remove(new LambdaQueryWrapper().eq(ImageStation::getStationId, - req.getId())); - //文件 - fileStationService.remove(new LambdaQueryWrapper().eq(FileStation::getStationId, - req.getId())); - } - - - //视频 - List videoStationList = req.getVideoStationList(); - if (CollectionUtils.isNotEmpty(videoStationList)) { - List collect = videoStationList.stream().map(item -> { - item.setStationId(req.getId()); - return item; - }).collect(Collectors.toList()); - videoStationService.saveOrUpdateBatch(collect); - } - //图片 - List imageStationList = req.getImageStationList(); - if (CollectionUtils.isNotEmpty(imageStationList)) { - List collect = imageStationList.stream().map(item -> { - item.setStationId(req.getId()); - return item; - }).collect(Collectors.toList()); - imageStationService.saveOrUpdateBatch(collect); - } - //文件 - List fileStationList = req.getFileStationList(); - if (CollectionUtils.isNotEmpty(fileStationList)) { - List collect = fileStationList.stream().map(item -> { - item.setStationId(req.getId()); - return item; - }).collect(Collectors.toList()); - fileStationService.saveOrUpdateBatch(collect); - } } /** @@ -194,8 +144,8 @@ public class StationServiceImpl extends BaseServiceImpl videoStationList = - videoStationService.list(new LambdaQueryWrapper().eq(VideoStation::getStationId, id)); - if (CollectionUtil.isNotEmpty(videoStationList)) { - List collect = videoStationList.stream().map(VideoStation::getId).collect(Collectors.toList()); - videoStationService.removeByIds(collect); - } - - - //删除文件 - List fileStationList = - fileStationService.list(new LambdaQueryWrapper().eq(FileStation::getStationId, id)); - if (CollectionUtil.isNotEmpty(fileStationList)) { - List collect = fileStationList.stream().map(FileStation::getId).collect(Collectors.toList()); - fileStationService.removeByIds(collect); - } - - //删除图片 - List imageStationList = - imageStationService.list(new LambdaQueryWrapper().eq(ImageStation::getStationId, id)); - if (CollectionUtil.isNotEmpty(imageStationList)) { - List collect = imageStationList.stream().map(ImageStation::getId).collect(Collectors.toList()); - imageStationService.removeByIds(collect); - } - return saveFlag; } @@ -757,161 +679,4 @@ public class StationServiceImpl extends BaseServiceImpl projectClient.delete()); // } } - - - /** - * 两票编号抬头唯一效验 - * - * @param signage 站点编号 - * @return - */ - @Override - public void uniqueStationByStation(String signage) { - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(StationEntity::getSignage, signage); - Integer count = baseMapper.selectCount(queryWrapper); - if (count > 0) { - throw new ServiceException("两票编号抬头已存在"); - } - } - - - /** - * 通过站点id获取站点名称 - * - * @param station - * @return - */ - @Override - public String selectStationById(String station) { - if (StringUtils.isEmpty(station)) { - return null; - } - QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.lambda().eq(BaseEntity::getId, station); - queryWrapper.lambda().or().eq(StationEntity::getCode, station); - StationEntity stationEntity = baseMapper.selectOne(queryWrapper); - if (stationEntity != null) { - return stationEntity.getName(); - } - return null; - } - - - /** - * 查看详情 - * - * @param id - * @return - */ - @Override - public StationEntity getByStationId(Long id) { - StationEntity stationEntity = baseMapper.selectById(id); - //获取视频 - List videoStationList = - videoStationService.list(new LambdaQueryWrapper().eq(VideoStation::getStationId, id)); - if (CollectionUtil.isNotEmpty(videoStationList)) { - stationEntity.setVideoStationList(videoStationList); - } - - //获取文件 - List fileStationList = - fileStationService.list(new LambdaQueryWrapper().eq(FileStation::getStationId, id)); - if (CollectionUtil.isNotEmpty(fileStationList)) { - stationEntity.setFileStationList(fileStationList); - } - - //获取图片 - List imageStationList = - imageStationService.list(new LambdaQueryWrapper().eq(ImageStation::getStationId, id)); - if (CollectionUtil.isNotEmpty(imageStationList)) { - stationEntity.setImageStationList(imageStationList); - } - return stationEntity; - } - - - - /** - * 对全县绿色水电站在水电GIS一张图上进行展示,直观展现绿色小水电站的分布信息。 - * - * @param stationEntityPage - * @param stationQueryVo - * @return - */ - @Override - public IPage selectPageList(Page stationEntityPage, StationsQueryVo stationQueryVo) { - QueryWrapper queryWrapper = new QueryWrapper<>(); - - - Page resultStationEntity = baseMapper.selectPage(stationEntityPage, queryWrapper); - - - return resultStationEntity; - } - - - - - /** - * 获取绿色小水站电站数据 - * - * @return - */ - @Override - public Map getCount() { - Map resultMap = new HashMap<>(); - List stationVoList = baseMapper.stationVoCount(); - - - List yesterday = new ArrayList<>(); - Year year = Year.now(); - for (int i = 0; i < 6; i++) { - Year newYear = year.minusYears(i); - yesterday.add(newYear.getValue()); - } - - - for (StationsVo stationVo : stationVoList) { - Integer stationVoYear = stationVo.getYear(); - //包含删除 - if (yesterday.contains(stationVoYear)) { - yesterday.remove(stationVoYear); - } - } - - - for (Integer i : yesterday) { - StationsVo stationVo = new StationsVo(); - stationVo.setYear(i); - stationVo.setCount(0); - stationVoList.add(stationVo); - } - - - //月份 - List yearList = stationVoList.stream().map(StationsVo::getYear).collect(Collectors.toList()); - resultMap.put("yearList", yearList); - resultMap.put("stationVoList", stationVoList); - - - return resultMap; - } - - - /** - * 对全县绿色水电站在水电GIS一张图上进行展示,直观展现绿色小水电站的分布信息。 - * - * @param stationsQueryVo - * @return - */ - @Override - public List selectStationsQueryList(StationsQueryVo stationsQueryVo) { - - LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper<>(); - lambdaQueryWrapper.eq(StringUtils.isNotEmpty(stationsQueryVo.getAreaCode()), - StationEntity::getAreaCode, - stationsQueryVo.getAreaCode()); - return baseMapper.selectList(lambdaQueryWrapper); - } } diff --git a/hzims-service/pom.xml b/hzims-service/pom.xml index e69bc7f..e61f072 100644 --- a/hzims-service/pom.xml +++ b/hzims-service/pom.xml @@ -27,12 +27,6 @@ weather hzims-middle hzims-scheduled - base-info - digital-twin-display - dam-safety - video-image - water-quality - water-rain diff --git a/hzims-service/video-image/pom.xml b/hzims-service/video-image/pom.xml deleted file mode 100644 index c7e85d8..0000000 --- a/hzims-service/video-image/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - com.hnac.hzims - hzims-service - 4.0.0-SNAPSHOT - - - video-image - - - 8 - 8 - UTF-8 - - - - - - org.springblade - blade-core-boot - - - org.springblade - blade-starter-swagger - - - org.springblade - blade-starter-oss-all - - - com.baomidou - dynamic-datasource-spring-boot-starter - - - org.springblade - blade-core-test - test - - - org.springblade - blade-core-auto - compile - - - com.hnac.hzims - video-image-api - ${hzims.project.version} - - - - com.hikvision.ga - artemis-http-client - 1.1.2 - - - com.hnac.hzinfo.data - hzinfo-data-sdk - - - \ No newline at end of file diff --git a/hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/VideoImageApplication.java b/hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/VideoImageApplication.java deleted file mode 100644 index 60a47c8..0000000 --- a/hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/VideoImageApplication.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.hnac.hzims.videoimage; - -import org.mybatis.spring.annotation.MapperScan; -import org.springblade.core.cloud.feign.EnableBladeFeign; -import org.springblade.core.launch.BladeApplication; -import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; -import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.context.annotation.ComponentScan; -import org.springframework.scheduling.annotation.EnableScheduling; - -@EnableBladeFeign(basePackages = {"org.springblade","com.hnac"}) -@SpringCloudApplication -@MapperScan("com.hnac.hzims.**.mapper.**") -@EnableScheduling -@ComponentScan(basePackages = {"com.hnac.hzims.*"}) -public class VideoImageApplication extends SpringBootServletInitializer { - public final static String APP_NAME = "video-image"; - - public static void main(String[] args) { -// System.setProperty("nacos.standalone", "true"); - BladeApplication.run(APP_NAME, VideoImageApplication.class, args); - } - - @Override - protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { - return BladeApplication.createSpringApplicationBuilder(builder, APP_NAME, VideoImageApplication.class); - } -} \ No newline at end of file diff --git a/hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/controller/HikVideoController.java b/hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/controller/HikVideoController.java deleted file mode 100644 index 75ba4fa..0000000 --- a/hzims-service/video-image/src/main/java/com/hnac/hzims/videoimage/controller/HikVideoController.java +++ /dev/null @@ -1,259 +0,0 @@ -// -// Source code recreated from a .class file by IntelliJ IDEA -// (powered by Fernflower decompiler) -// - -package com.hnac.hzims.videoimage.controller; - - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.hnac.hzims.videoimage.entity.SysStationHikVideo; -import com.hnac.hzims.videoimage.entity.Video; -import com.hnac.hzims.videoimage.enums.CommandEnum; -import com.hnac.hzims.videoimage.manager.HikVideoManager; -import com.hnac.hzims.videoimage.service.IHikVideoService; -import com.hnac.hzims.videoimage.utils.SessionUtil; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiParam; -import org.springblade.core.mp.support.Condition; -import org.springblade.core.mp.support.Query; -import org.springblade.core.secure.utils.AuthUtil; -import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -import javax.servlet.http.HttpServletRequest; -import java.util.HashMap; -import java.util.Map; - -@RestController -@Api(value = "视频-海康视频接口", tags = "视频-海康视频接口") -@RequestMapping({"/videoImage/hikVideo"}) -public class HikVideoController { - @Autowired - IHikVideoService hikVideoService; - @Autowired - HikVideoManager hikVideoManager; - - public HikVideoController() { - } - - @ApiOperation("删除站点下ID匹配的海康视频数据") - @RequestMapping( - value = {"/remove"}, - method = {RequestMethod.DELETE} - ) - public R deleteById( Long id) { - return R.data(this.hikVideoManager.deleteById(SessionUtil.getExistDeptId(), id)); - } - - - @RequestMapping(value = "save",method = {RequestMethod.POST}) - @ApiOperation("在当前站点下新增一条海康数据") - public R insert(@RequestBody SysStationHikVideo sysStationHikVideo) { - sysStationHikVideo.setIsDeleted(0); - this.hikVideoManager.insert(SessionUtil.getExistDeptId(), sysStationHikVideo); - return R.data(sysStationHikVideo); - } - - - @RequestMapping(value = "update",method = {RequestMethod.POST}) - @ApiOperation("在当前站点下更新一条海康数据") - public R update(@RequestBody SysStationHikVideo sysStationHikVideo) { - this.hikVideoManager.update(SessionUtil.getExistDeptId(), sysStationHikVideo); - return R.data(sysStationHikVideo); - } - - - @RequestMapping(value = {"/{pointId}/list/page"}, method = {RequestMethod.GET}) - @ApiOperation("获取当前站点下, 指定监测点及其子节点下的所有海康视频列表") - public R searchList(@ApiParam(value = "监测点ID",required = false) @PathVariable long pointId, - @ApiParam("是否启用") @RequestParam(required = false) Integer inUse, - @ApiParam("搜索文本") @RequestParam(required = false) String content, @ModelAttribute Query query) { - - IPage