Browse Source

fix: 大模型工程重命名

zhongwei
haungxing 5 months ago
parent
commit
f02372a69c
  1. 4
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/BigModelConstants.java
  2. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/constants/MqttTopicConstants.java
  3. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/BigModelAnalysisRequestDTO.java
  4. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/BigModelAnalysisResponseDTO.java
  5. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/CanvasSyncDTO.java
  6. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/ControlSyncDTO.java
  7. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/SyncDTO.java
  8. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/VideoSyncDTO.java
  9. 8
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/IBigModelAnalysisClient.java
  10. 4
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/ICanvasSyncClient.java
  11. 4
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/IControlSyncClient.java
  12. 8
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/IDataAnalyseClient.java
  13. 4
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/ISyncClient.java
  14. 8
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/IVideoSyncClient.java
  15. 4
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/wrapper/BaseSyncWrapper.java
  16. 4
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/ControlDeviceAuthDTO.java
  17. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/PowerDataDTO.java
  18. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/RunReportAnalyseRequest.java
  19. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/RunReportDataAnalyseDTO.java
  20. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/RunTimeDataDTO.java
  21. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/SoeDataDTO.java
  22. 4
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/feign/IAuthClient.java
  23. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/dto/ControlDTO.java
  24. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/dto/ControlDeviceDTO.java
  25. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/req/ModelFunctionReq.java
  26. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/AttrSelectionVO.java
  27. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/DataItemVO.java
  28. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/DataVO.java
  29. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/ExtraVO.java
  30. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/FaultSelectionVO.java
  31. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/RealDataVO.java
  32. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/RemoteSelectionVO.java
  33. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/ScadaSelectionVO.java
  34. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/SelectionVO.java
  35. 4
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/StationSelectionVO.java
  36. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/VideoSelectionVO.java
  37. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/maintenance/entity/ControlEntity.java
  38. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/maintenance/entity/FunctionEntity.java
  39. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/maintenance/entity/WeaviateEntity.java
  40. 2
      hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/maintenance/entity/WhitelistEntity.java
  41. 2
      hzims-service/gglm-big-model/pom.xml
  42. 17
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/GglmBigModelApplication.java
  43. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/constants/SyncTableEnum.java
  44. 8
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/feign/BigModelAnalysisClient.java
  45. 8
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/feign/DataAnalyseClient.java
  46. 10
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/feign/VideoSyncClient.java
  47. 13
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/service/SyncService.java
  48. 10
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/consumer/VideoAddConsumer.java
  49. 8
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/consumer/VideoRemoveConsumer.java
  50. 6
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/controller/DataSourceExecuteController.java
  51. 4
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/controller/RemoteController.java
  52. 6
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/feign/AuthClient.java
  53. 9
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/service/AuthenticationService.java
  54. 10
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/service/DataSourceService.java
  55. 8
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/service/HistoryDataService.java
  56. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/service/RemoteService.java
  57. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/vo/SqlVO.java
  58. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/vo/TableAuthVO.java
  59. 6
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/wrapper/CanvasSyncWrapper.java
  60. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/configuration/BigModelInvokeApi.java
  61. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/configuration/ThreadPoolManager.java
  62. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/configuration/WeaviateConfigure.java
  63. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/configuration/WeaviateProperties.java
  64. 6
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/database/controller/WeaviateController.java
  65. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/database/dto/WeaviateSaveDTO.java
  66. 11
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/database/service/WeaviateService.java
  67. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/database/util/WeaviateUtil.java
  68. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/DataAuthTypeEnum.java
  69. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/DataMethodEnum.java
  70. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/DateEnum.java
  71. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/FuncRouteEnum.java
  72. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/FunctionConstants.java
  73. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/InfoMessageConstant.java
  74. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/ParamKeyConstants.java
  75. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/ProjectRemoteTypeEnum.java
  76. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/SearchStationTypeEnum.java
  77. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/SearchTypeEnum.java
  78. 6
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/controller/FontEndInteractiveController.java
  79. 20
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/controller/HznlmInteractiveController.java
  80. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/dto/AuthDataDTO.java
  81. 6
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/factory/AnswerResolveFactory.java
  82. 6
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/factory/ResolveFactory.java
  83. 16
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IAnalyseDataService.java
  84. 6
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IAnswerResolveService.java
  85. 26
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IHznlmInteractiveService.java
  86. 9
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IHznlmInvokeService.java
  87. 17
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IResolveService.java
  88. 16
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/AnalyseDataServiceImpl.java
  89. 14
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/CanvasResolveServiceImpl.java
  90. 12
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/ChoiceAnswerResolveServiceImpl.java
  91. 14
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/ControlAnswerResolveServiceImpl.java
  92. 14
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/DiagnoseAnswerResolveServiceImpl.java
  93. 28
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/HznlmInteractiveServiceImpl.java
  94. 23
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/HznlmInvokeServiceImpl.java
  95. 14
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/ParamAnswerResolveServiceImpl.java
  96. 14
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/RemoteAnswerResolveServiceImpl.java
  97. 14
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/VideoResolveServiceImpl.java
  98. 4
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/AnswerVO.java
  99. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/AuthDataVO.java
  100. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/HistoryDataSearchVO.java
  101. Some files were not shown because too many files have changed in this diff Show More

4
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/BigModelConstants.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/BigModelConstants.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel; package com.hnac.gglm.bigmodel;
/** /**
* @Author: huangxing * @Author: huangxing
@ -7,7 +7,7 @@ package com.hnac.hzims.bigmodel;
public interface BigModelConstants { public interface BigModelConstants {
/**注册至NACOS服务名**/ /**注册至NACOS服务名**/
String APP_NAME = "hzims-big-model"; String APP_NAME = "gglm-big-model";
/**前端展示服务名**/ /**前端展示服务名**/
String MODULE_NAME = "大模型管理"; String MODULE_NAME = "大模型管理";

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/constants/MqttTopicConstants.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/constants/MqttTopicConstants.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.api.constants; package com.hnac.gglm.bigmodel.api.constants;
/** /**
* @Author: huangxing * @Author: huangxing

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/dto/BigModelAnalysisRequestDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/BigModelAnalysisRequestDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.api.dto; package com.hnac.gglm.bigmodel.api.dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/dto/BigModelAnalysisResponseDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/BigModelAnalysisResponseDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.api.dto; package com.hnac.gglm.bigmodel.api.dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/dto/CanvasSyncDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/CanvasSyncDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.api.dto; package com.hnac.gglm.bigmodel.api.dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/dto/ControlSyncDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/ControlSyncDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.api.dto; package com.hnac.gglm.bigmodel.api.dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/dto/SyncDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/SyncDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.api.dto; package com.hnac.gglm.bigmodel.api.dto;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/dto/VideoSyncDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/dto/VideoSyncDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.api.dto; package com.hnac.gglm.bigmodel.api.dto;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;

8
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/feign/IBigModelAnalysisClient.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/IBigModelAnalysisClient.java

@ -1,8 +1,8 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.hnac.hzims.bigmodel.BigModelConstants; import com.hnac.gglm.bigmodel.BigModelConstants;
import com.hnac.hzims.bigmodel.api.dto.BigModelAnalysisRequestDTO; import com.hnac.gglm.bigmodel.api.dto.BigModelAnalysisRequestDTO;
import com.hnac.hzims.bigmodel.api.dto.BigModelAnalysisResponseDTO; import com.hnac.gglm.bigmodel.api.dto.BigModelAnalysisResponseDTO;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;

4
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/feign/ICanvasSyncClient.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/ICanvasSyncClient.java

@ -1,6 +1,6 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.hnac.hzims.bigmodel.api.dto.CanvasSyncDTO; import com.hnac.gglm.bigmodel.api.dto.CanvasSyncDTO;
/** /**
* @Author: huangxing * @Author: huangxing

4
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/feign/IControlSyncClient.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/IControlSyncClient.java

@ -1,6 +1,6 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.hnac.hzims.bigmodel.api.dto.ControlSyncDTO; import com.hnac.gglm.bigmodel.api.dto.ControlSyncDTO;
/** /**
* @Author: huangxing * @Author: huangxing

8
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/feign/IDataAnalyseClient.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/IDataAnalyseClient.java

@ -1,8 +1,8 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.hnac.hzims.bigmodel.BigModelConstants; import com.hnac.gglm.bigmodel.BigModelConstants;
import com.hnac.hzims.bigmodel.business.dto.RunReportAnalyseRequest; import com.hnac.gglm.bigmodel.business.dto.RunReportAnalyseRequest;
import com.hnac.hzims.bigmodel.business.dto.RunReportDataAnalyseDTO; import com.hnac.gglm.bigmodel.business.dto.RunReportDataAnalyseDTO;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;

4
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/feign/ISyncClient.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/ISyncClient.java

@ -1,6 +1,6 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.hnac.hzims.bigmodel.api.dto.SyncDTO; import com.hnac.gglm.bigmodel.api.dto.SyncDTO;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;

8
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/feign/IVideoSyncClient.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/feign/IVideoSyncClient.java

@ -1,8 +1,8 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.hnac.hzims.bigmodel.BigModelConstants; import com.hnac.gglm.bigmodel.BigModelConstants;
import com.hnac.hzims.bigmodel.api.dto.SyncDTO; import com.hnac.gglm.bigmodel.api.dto.SyncDTO;
import com.hnac.hzims.bigmodel.api.dto.VideoSyncDTO; import com.hnac.gglm.bigmodel.api.dto.VideoSyncDTO;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;

4
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/api/wrapper/BaseSyncWrapper.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/api/wrapper/BaseSyncWrapper.java

@ -1,6 +1,6 @@
package com.hnac.hzims.bigmodel.api.wrapper; package com.hnac.gglm.bigmodel.api.wrapper;
import com.hnac.hzims.bigmodel.api.dto.SyncDTO; import com.hnac.gglm.bigmodel.api.dto.SyncDTO;
import java.util.List; import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;

4
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/business/dto/ControlDeviceAuthDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/ControlDeviceAuthDTO.java

@ -1,6 +1,6 @@
package com.hnac.hzims.bigmodel.business.dto; package com.hnac.gglm.bigmodel.business.dto;
import com.hnac.hzims.bigmodel.interactive.dto.ControlDeviceDTO; import com.hnac.gglm.bigmodel.interactive.dto.ControlDeviceDTO;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/business/dto/PowerDataDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/PowerDataDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.business.dto; package com.hnac.gglm.bigmodel.business.dto;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/business/dto/RunReportAnalyseRequest.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/RunReportAnalyseRequest.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.business.dto; package com.hnac.gglm.bigmodel.business.dto;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/business/dto/RunReportDataAnalyseDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/RunReportDataAnalyseDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.business.dto; package com.hnac.gglm.bigmodel.business.dto;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/business/dto/RunTimeDataDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/RunTimeDataDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.business.dto; package com.hnac.gglm.bigmodel.business.dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/business/dto/SoeDataDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/dto/SoeDataDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.business.dto; package com.hnac.gglm.bigmodel.business.dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

4
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/business/feign/IAuthClient.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/business/feign/IAuthClient.java

@ -1,6 +1,6 @@
package com.hnac.hzims.bigmodel.business.feign; package com.hnac.gglm.bigmodel.business.feign;
import com.hnac.hzims.bigmodel.business.dto.ControlDeviceAuthDTO; import com.hnac.gglm.bigmodel.business.dto.ControlDeviceAuthDTO;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;
import java.util.List; import java.util.List;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/dto/ControlDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/dto/ControlDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.dto; package com.hnac.gglm.bigmodel.interactive.dto;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/dto/ControlDeviceDTO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/dto/ControlDeviceDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.dto; package com.hnac.gglm.bigmodel.interactive.dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/req/ModelFunctionReq.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/req/ModelFunctionReq.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.req; package com.hnac.gglm.bigmodel.interactive.req;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/AttrSelectionVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/AttrSelectionVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/DataItemVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/DataItemVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/DataVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/DataVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/ExtraVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/ExtraVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/FaultSelectionVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/FaultSelectionVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/RealDataVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/RealDataVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/RemoteSelectionVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/RemoteSelectionVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import java.io.Serializable; import java.io.Serializable;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/ScadaSelectionVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/ScadaSelectionVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/SelectionVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/SelectionVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data; import lombok.Data;

4
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/StationSelectionVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/StationSelectionVO.java

@ -1,6 +1,6 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import com.hnac.hzims.bigmodel.interactive.vo.SelectionVO; import com.hnac.gglm.bigmodel.interactive.vo.SelectionVO;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/VideoSelectionVO.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/VideoSelectionVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/maintenance/entity/ControlEntity.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/maintenance/entity/ControlEntity.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.maintenance.entity; package com.hnac.gglm.bigmodel.maintenance.entity;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.SqlCondition; import com.baomidou.mybatisplus.annotation.SqlCondition;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/entity/FunctionEntity.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/maintenance/entity/FunctionEntity.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.entity; package com.hnac.gglm.bigmodel.maintenance.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/database/entity/WeaviateEntity.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/maintenance/entity/WeaviateEntity.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.database.entity; package com.hnac.gglm.bigmodel.maintenance.entity;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data; import lombok.Data;

2
hzims-service-api/big-model-api/src/main/java/com/hnac/hzims/bigmodel/entity/WhitelistEntity.java → hzims-service-api/big-model-api/src/main/java/com/hnac/gglm/bigmodel/maintenance/entity/WhitelistEntity.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.entity; package com.hnac.gglm.bigmodel.maintenance.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;

2
hzims-service/hzims-big-model/pom.xml → hzims-service/gglm-big-model/pom.xml

@ -7,7 +7,7 @@
<version>4.0.0-SNAPSHOT</version> <version>4.0.0-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>hzims-big-model</artifactId> <artifactId>gglm-big-model</artifactId>
<name>big-model</name> <name>big-model</name>
<packaging>jar</packaging> <packaging>jar</packaging>

17
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/HzimsBigModelApplication.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/GglmBigModelApplication.java

@ -1,26 +1,17 @@
package com.hnac.hzims.bigmodel; package com.hnac.gglm.bigmodel;
import org.mybatis.spring.annotation.MapperScan; import org.mybatis.spring.annotation.MapperScan;
import org.springblade.core.cloud.feign.EnableBladeFeign;
import org.springblade.core.launch.BladeApplication; import org.springblade.core.launch.BladeApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import javax.annotation.Resource;
@SpringBootApplication(scanBasePackages = {"org.springblade", "com.hnac.*"}) @SpringBootApplication(scanBasePackages = {"org.springblade", "com.hnac.*"})
@MapperScan(basePackages = {"com.hnac.hzinfo.**.mapper","com.hnac.hzims.**.mapper"}) @MapperScan(basePackages = {"com.hnac.hzinfo.**.mapper","com.hnac.gglm.**.mapper"})
@EnableFeignClients(basePackages = {"org.springblade", "com.hnac"}) @EnableFeignClients(basePackages = {"org.springblade", "com.hnac"})
public class HzimsBigModelApplication { public class GglmBigModelApplication {
public static void main(String[] args) { public static void main(String[] args) {
BladeApplication.run(BigModelConstants.APP_NAME, HzimsBigModelApplication.class, args); BladeApplication.run(BigModelConstants.APP_NAME, GglmBigModelApplication.class, args);
} }
// @Override // @Override

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/api/constants/SyncTableEnum.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/constants/SyncTableEnum.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.api.constants; package com.hnac.gglm.bigmodel.api.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;

8
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/api/feign/BigModelAnalysisClient.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/feign/BigModelAnalysisClient.java

@ -1,8 +1,8 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.hnac.hzims.bigmodel.api.dto.BigModelAnalysisRequestDTO; import com.hnac.gglm.bigmodel.api.dto.BigModelAnalysisRequestDTO;
import com.hnac.hzims.bigmodel.api.dto.BigModelAnalysisResponseDTO; import com.hnac.gglm.bigmodel.api.dto.BigModelAnalysisResponseDTO;
import com.hnac.hzims.bigmodel.zhipuai.service.ZhipuAnalysisService; import com.hnac.gglm.bigmodel.zhipuai.service.ZhipuAnalysisService;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;

8
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/api/feign/DataAnalyseClient.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/feign/DataAnalyseClient.java

@ -1,9 +1,9 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.hnac.hzims.bigmodel.business.dto.RunReportAnalyseRequest; import com.hnac.gglm.bigmodel.business.dto.RunReportAnalyseRequest;
import com.hnac.hzims.bigmodel.business.dto.RunReportDataAnalyseDTO; import com.hnac.gglm.bigmodel.business.dto.RunReportDataAnalyseDTO;
import com.hnac.hzims.bigmodel.interactive.service.IHznlmInvokeService; import com.hnac.gglm.bigmodel.interactive.service.IHznlmInvokeService;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;

10
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/api/feign/VideoSyncClient.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/feign/VideoSyncClient.java

@ -1,9 +1,9 @@
package com.hnac.hzims.bigmodel.api.feign; package com.hnac.gglm.bigmodel.api.feign;
import com.hnac.hzims.bigmodel.api.constants.SyncTableEnum; import com.hnac.gglm.bigmodel.api.constants.SyncTableEnum;
import com.hnac.hzims.bigmodel.api.dto.VideoSyncDTO; import com.hnac.gglm.bigmodel.api.dto.VideoSyncDTO;
import com.hnac.hzims.bigmodel.api.service.SyncService; import com.hnac.gglm.bigmodel.api.service.SyncService;
import com.hnac.hzims.bigmodel.configuration.BigModelInvokeApi; import com.hnac.gglm.bigmodel.configuration.BigModelInvokeApi;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.Func;

13
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/api/service/SyncService.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/api/service/SyncService.java

@ -1,12 +1,11 @@
package com.hnac.hzims.bigmodel.api.service; package com.hnac.gglm.bigmodel.api.service;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference; import com.alibaba.fastjson.TypeReference;
import com.hnac.hzims.bigmodel.api.constants.SyncTableEnum; import com.hnac.gglm.bigmodel.api.constants.SyncTableEnum;
import com.hnac.hzims.bigmodel.api.dto.SyncDTO; import com.hnac.gglm.bigmodel.api.dto.SyncDTO;
import com.hnac.hzims.bigmodel.api.dto.VideoSyncDTO; import com.hnac.gglm.bigmodel.api.dto.VideoSyncDTO;
import com.hnac.hzims.bigmodel.configuration.BigModelInvokeApi; import com.hnac.gglm.bigmodel.configuration.BigModelInvokeApi;
import com.hnac.hzims.bigmodel.utils.RequestClientUtil; import com.hnac.gglm.bigmodel.utils.RequestClientUtil;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.utils.BeanUtil; import org.springblade.core.tool.utils.BeanUtil;

10
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/consumer/VideoAddConsumer.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/consumer/VideoAddConsumer.java

@ -1,11 +1,11 @@
package com.hnac.hzims.bigmodel.business.consumer; package com.hnac.gglm.bigmodel.business.consumer;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.hnac.hzims.bigmodel.api.dto.VideoSyncDTO; import com.hnac.gglm.bigmodel.api.dto.VideoSyncDTO;
import com.hnac.hzims.bigmodel.api.feign.ISyncClient; import com.hnac.gglm.bigmodel.api.feign.ISyncClient;
import com.hnac.hzims.bigmodel.api.feign.VideoSyncClient; import com.hnac.gglm.bigmodel.api.feign.VideoSyncClient;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.utils.CollectionUtil; import org.springblade.core.tool.utils.CollectionUtil;
@ -13,7 +13,7 @@ import org.springblade.core.tool.utils.Func;
import org.springblade.mqtt.customer.IMqttReceive; import org.springblade.mqtt.customer.IMqttReceive;
import org.springblade.mqtt.customer.annotation.MqttReceive; import org.springblade.mqtt.customer.annotation.MqttReceive;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.hnac.hzims.bigmodel.api.constants.MqttTopicConstants; import com.hnac.gglm.bigmodel.api.constants.MqttTopicConstants;
import java.util.List; import java.util.List;

8
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/consumer/VideoRemoveConsumer.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/consumer/VideoRemoveConsumer.java

@ -1,9 +1,9 @@
package com.hnac.hzims.bigmodel.business.consumer; package com.hnac.gglm.bigmodel.business.consumer;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.hnac.hzims.bigmodel.api.constants.MqttTopicConstants; import com.hnac.gglm.bigmodel.api.constants.MqttTopicConstants;
import com.hnac.hzims.bigmodel.api.dto.VideoSyncDTO; import com.hnac.gglm.bigmodel.api.dto.VideoSyncDTO;
import com.hnac.hzims.bigmodel.api.feign.VideoSyncClient; import com.hnac.gglm.bigmodel.api.feign.VideoSyncClient;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.Func;

6
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/controller/DataSourceExecuteController.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/controller/DataSourceExecuteController.java

@ -1,8 +1,8 @@
package com.hnac.hzims.bigmodel.business.controller; package com.hnac.gglm.bigmodel.business.controller;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.hnac.hzims.bigmodel.business.service.DataSourceService; import com.hnac.gglm.bigmodel.business.service.DataSourceService;
import com.hnac.hzims.bigmodel.business.vo.SqlVO; import com.hnac.gglm.bigmodel.business.vo.SqlVO;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;

4
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/controller/RemoteController.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/controller/RemoteController.java

@ -1,7 +1,7 @@
package com.hnac.hzims.bigmodel.business.controller; package com.hnac.gglm.bigmodel.business.controller;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.hnac.hzims.bigmodel.business.service.RemoteService; import com.hnac.gglm.bigmodel.business.service.RemoteService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;

6
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/feign/AuthClient.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/feign/AuthClient.java

@ -1,7 +1,7 @@
package com.hnac.hzims.bigmodel.business.feign; package com.hnac.gglm.bigmodel.business.feign;
import com.hnac.hzims.bigmodel.business.dto.ControlDeviceAuthDTO; import com.hnac.gglm.bigmodel.business.dto.ControlDeviceAuthDTO;
import com.hnac.hzims.bigmodel.business.service.AuthenticationService; import com.hnac.gglm.bigmodel.business.service.AuthenticationService;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;

9
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/service/AuthenticationService.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/service/AuthenticationService.java

@ -1,9 +1,9 @@
package com.hnac.hzims.bigmodel.business.service; package com.hnac.gglm.bigmodel.business.service;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.hnac.hzims.bigmodel.interactive.constants.ProjectRemoteTypeEnum; import com.hnac.gglm.bigmodel.interactive.constants.ProjectRemoteTypeEnum;
import com.hnac.hzims.bigmodel.interactive.vo.SessionContentVO; import com.hnac.gglm.bigmodel.interactive.vo.SessionContentVO;
import com.hnac.hzims.bigmodel.websocket.constants.RedisKeyConstants; import com.hnac.gglm.bigmodel.websocket.constants.RedisKeyConstants;
import com.hnac.hzinfo.sdk.core.response.Result; import com.hnac.hzinfo.sdk.core.response.Result;
import com.hnac.hzinfo.sdk.v5.project.ProjectClient; import com.hnac.hzinfo.sdk.v5.project.ProjectClient;
import com.hnac.hzinfo.sdk.v5.project.vo.ProjectVO; import com.hnac.hzinfo.sdk.v5.project.vo.ProjectVO;
@ -17,7 +17,6 @@ import org.springblade.system.dto.DeptStationDTO;
import org.springblade.system.entity.CtrlAuth; import org.springblade.system.entity.CtrlAuth;
import org.springblade.system.feign.IDeptClient; import org.springblade.system.feign.IDeptClient;
import org.springblade.system.feign.IRemoteClient; import org.springblade.system.feign.IRemoteClient;
import org.springblade.system.user.feign.IUserClient;
import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.util.Assert; import org.springframework.util.Assert;

10
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/service/DataSourceService.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/service/DataSourceService.java

@ -1,12 +1,12 @@
package com.hnac.hzims.bigmodel.business.service; package com.hnac.gglm.bigmodel.business.service;
import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder; import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.hnac.hzims.bigmodel.business.vo.SqlVO; import com.hnac.gglm.bigmodel.business.vo.SqlVO;
import com.hnac.hzims.bigmodel.business.vo.TableAuthVO; import com.hnac.gglm.bigmodel.business.vo.TableAuthVO;
import com.hnac.hzims.bigmodel.maintenance.entity.TablePropertyEntity; import com.hnac.gglm.bigmodel.maintenance.entity.TablePropertyEntity;
import com.hnac.hzims.bigmodel.maintenance.service.TablePropertyService; import com.hnac.gglm.bigmodel.maintenance.service.TablePropertyService;
import com.hnac.hzims.common.service.UserAuthDataService; import com.hnac.hzims.common.service.UserAuthDataService;
import com.hnac.hzinfo.exception.HzServiceException; import com.hnac.hzinfo.exception.HzServiceException;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;

8
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/service/HistoryDataService.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/service/HistoryDataService.java

@ -1,10 +1,10 @@
package com.hnac.hzims.bigmodel.business.service; package com.hnac.gglm.bigmodel.business.service;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.hnac.hzims.bigmodel.interactive.constants.DataMethodEnum; import com.hnac.gglm.bigmodel.interactive.constants.DataMethodEnum;
import com.hnac.hzims.bigmodel.interactive.constants.DateEnum; import com.hnac.gglm.bigmodel.interactive.constants.DateEnum;
import com.hnac.hzims.bigmodel.interactive.vo.HistoryDataSearchVO; import com.hnac.gglm.bigmodel.interactive.vo.HistoryDataSearchVO;
import com.hnac.hzinfo.sdk.core.response.Result; import com.hnac.hzinfo.sdk.core.response.Result;
import com.hnac.hzinfo.sdk.v5.device.DeviceDataClient; import com.hnac.hzinfo.sdk.v5.device.DeviceDataClient;
import com.hnac.hzinfo.sdk.v5.device.dto.ReductionAttrDataDTO; import com.hnac.hzinfo.sdk.v5.device.dto.ReductionAttrDataDTO;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/service/RemoteService.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/service/RemoteService.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.business.service; package com.hnac.gglm.bigmodel.business.service;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/vo/SqlVO.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/vo/SqlVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.business.vo; package com.hnac.gglm.bigmodel.business.vo;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/vo/TableAuthVO.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/vo/TableAuthVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.business.vo; package com.hnac.gglm.bigmodel.business.vo;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

6
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/business/wrapper/CanvasSyncWrapper.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/wrapper/CanvasSyncWrapper.java

@ -1,7 +1,7 @@
package com.hnac.hzims.bigmodel.business.wrapper; package com.hnac.gglm.bigmodel.business.wrapper;
import com.hnac.hzims.bigmodel.api.dto.CanvasSyncDTO; import com.hnac.gglm.bigmodel.api.dto.CanvasSyncDTO;
import com.hnac.hzims.bigmodel.api.wrapper.BaseSyncWrapper; import com.hnac.gglm.bigmodel.api.wrapper.BaseSyncWrapper;
import com.hnac.hzinfo.sdk.v5.scada.vo.CanvasVO; import com.hnac.hzinfo.sdk.v5.scada.vo.CanvasVO;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/configuration/BigModelInvokeApi.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/configuration/BigModelInvokeApi.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.configuration; package com.hnac.gglm.bigmodel.configuration;
import lombok.Data; import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/configuration/ThreadPoolManager.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/configuration/ThreadPoolManager.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.configuration; package com.hnac.gglm.bigmodel.configuration;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/configuration/WeaviateConfigure.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/configuration/WeaviateConfigure.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.configuration; package com.hnac.gglm.bigmodel.configuration;
import io.weaviate.client.Config; import io.weaviate.client.Config;
import io.weaviate.client.WeaviateAuthClient; import io.weaviate.client.WeaviateAuthClient;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/configuration/WeaviateProperties.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/configuration/WeaviateProperties.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.configuration; package com.hnac.gglm.bigmodel.configuration;
import lombok.Data; import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;

6
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/database/controller/WeaviateController.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/database/controller/WeaviateController.java

@ -1,7 +1,7 @@
package com.hnac.hzims.bigmodel.database.controller; package com.hnac.gglm.bigmodel.database.controller;
import com.hnac.hzims.bigmodel.database.dto.WeaviateSaveDTO; import com.hnac.gglm.bigmodel.database.dto.WeaviateSaveDTO;
import com.hnac.hzims.bigmodel.database.service.WeaviateService; import com.hnac.gglm.bigmodel.database.service.WeaviateService;
import io.weaviate.client.v1.data.model.WeaviateObject; import io.weaviate.client.v1.data.model.WeaviateObject;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/database/dto/WeaviateSaveDTO.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/database/dto/WeaviateSaveDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.database.dto; package com.hnac.gglm.bigmodel.database.dto;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;

11
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/database/service/WeaviateService.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/database/service/WeaviateService.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.database.service; package com.hnac.gglm.bigmodel.database.service;
import cn.hutool.http.HttpRequest; import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpResponse; import cn.hutool.http.HttpResponse;
@ -6,21 +6,15 @@ import cn.hutool.json.JSONUtil;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.hnac.hzims.bigmodel.configuration.BigModelInvokeApi; import com.hnac.gglm.bigmodel.configuration.BigModelInvokeApi;
import com.hnac.hzinfo.exception.HzServiceException; import com.hnac.hzinfo.exception.HzServiceException;
import io.weaviate.client.Config;
import io.weaviate.client.WeaviateAuthClient;
import io.weaviate.client.WeaviateClient; import io.weaviate.client.WeaviateClient;
import io.weaviate.client.base.Result; import io.weaviate.client.base.Result;
import io.weaviate.client.v1.auth.exception.AuthException;
import io.weaviate.client.v1.data.api.ObjectCreator; import io.weaviate.client.v1.data.api.ObjectCreator;
import io.weaviate.client.v1.data.api.ObjectDeleter; import io.weaviate.client.v1.data.api.ObjectDeleter;
import io.weaviate.client.v1.data.api.ObjectUpdater; import io.weaviate.client.v1.data.api.ObjectUpdater;
import io.weaviate.client.v1.data.api.ObjectsGetter; import io.weaviate.client.v1.data.api.ObjectsGetter;
import io.weaviate.client.v1.data.model.WeaviateObject; import io.weaviate.client.v1.data.model.WeaviateObject;
import io.weaviate.client.v1.graphql.model.GraphQLResponse;
import io.weaviate.client.v1.graphql.query.Get;
import io.weaviate.client.v1.graphql.query.fields.Field;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.api.ResultCode; import org.springblade.core.tool.api.ResultCode;
@ -35,7 +29,6 @@ import java.util.*;
import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import java.util.stream.IntStream; import java.util.stream.IntStream;
import java.util.stream.Stream;
/** /**
* @Author: huangxing * @Author: huangxing

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/database/util/WeaviateUtil.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/database/util/WeaviateUtil.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.database.util; package com.hnac.gglm.bigmodel.database.util;
/** /**
* @Author: huangxing * @Author: huangxing

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/DataAuthTypeEnum.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/DataAuthTypeEnum.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/DataMethodEnum.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/DataMethodEnum.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/DateEnum.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/DateEnum.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/FuncRouteEnum.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/FuncRouteEnum.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/FunctionConstants.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/FunctionConstants.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/InfoMessageConstant.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/InfoMessageConstant.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
/** /**
* @Author: huangxing * @Author: huangxing

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/ParamKeyConstants.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/ParamKeyConstants.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
/** /**
* @Author: huangxing * @Author: huangxing

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/ProjectRemoteTypeEnum.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/ProjectRemoteTypeEnum.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/SearchStationTypeEnum.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/SearchStationTypeEnum.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/constants/SearchTypeEnum.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/constants/SearchTypeEnum.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.constants; package com.hnac.gglm.bigmodel.interactive.constants;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;

6
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/controller/FontEndInteractiveController.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/controller/FontEndInteractiveController.java

@ -1,10 +1,10 @@
package com.hnac.hzims.bigmodel.interactive.controller; package com.hnac.gglm.bigmodel.interactive.controller;
import com.baomidou.mybatisplus.core.toolkit.IdWorker; import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.hnac.hzims.bigmodel.BigModelConstants; import com.hnac.gglm.bigmodel.BigModelConstants;
import com.hnac.hzims.bigmodel.interactive.service.IHznlmInvokeService; import com.hnac.gglm.bigmodel.interactive.service.IHznlmInvokeService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;

20
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/controller/HznlmInteractiveController.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/controller/HznlmInteractiveController.java

@ -1,15 +1,15 @@
package com.hnac.hzims.bigmodel.interactive.controller; package com.hnac.gglm.bigmodel.interactive.controller;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.hnac.hzims.bigmodel.BigModelConstants; import com.hnac.gglm.bigmodel.BigModelConstants;
import com.hnac.hzims.bigmodel.business.service.DataSourceService; import com.hnac.gglm.bigmodel.business.service.DataSourceService;
import com.hnac.hzims.bigmodel.business.vo.SqlVO; import com.hnac.gglm.bigmodel.business.vo.SqlVO;
import com.hnac.hzims.bigmodel.interactive.dto.AuthDataDTO; import com.hnac.gglm.bigmodel.interactive.dto.AuthDataDTO;
import com.hnac.hzims.bigmodel.interactive.dto.ControlDTO; import com.hnac.gglm.bigmodel.interactive.dto.ControlDTO;
import com.hnac.hzims.bigmodel.interactive.req.ModelFunctionReq; import com.hnac.gglm.bigmodel.interactive.req.ModelFunctionReq;
import com.hnac.hzims.bigmodel.interactive.service.IHznlmInteractiveService; import com.hnac.gglm.bigmodel.interactive.service.IHznlmInteractiveService;
import com.hnac.hzims.bigmodel.interactive.vo.AuthDataVO; import com.hnac.gglm.bigmodel.interactive.vo.AuthDataVO;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/dto/AuthDataDTO.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/dto/AuthDataDTO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.dto; package com.hnac.gglm.bigmodel.interactive.dto;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;

6
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/factory/AnswerResolveFactory.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/factory/AnswerResolveFactory.java

@ -1,9 +1,9 @@
package com.hnac.hzims.bigmodel.interactive.factory; package com.hnac.gglm.bigmodel.interactive.factory;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.service.IAnswerResolveService; import com.hnac.gglm.bigmodel.interactive.service.IAnswerResolveService;
import com.hnac.hzinfo.exception.HzServiceException; import com.hnac.hzinfo.exception.HzServiceException;
import org.springblade.core.log.exception.ServiceException; import org.springblade.core.log.exception.ServiceException;
import org.springblade.core.tool.api.ResultCode; import org.springblade.core.tool.api.ResultCode;

6
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/factory/ResolveFactory.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/factory/ResolveFactory.java

@ -1,7 +1,7 @@
package com.hnac.hzims.bigmodel.interactive.factory; package com.hnac.gglm.bigmodel.interactive.factory;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.service.IResolveService; import com.hnac.gglm.bigmodel.interactive.service.IResolveService;
import com.hnac.hzinfo.exception.HzServiceException; import com.hnac.hzinfo.exception.HzServiceException;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.log.exception.ServiceException; import org.springblade.core.log.exception.ServiceException;

16
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IAnalyseDataService.java

@ -0,0 +1,16 @@
package com.hnac.gglm.bigmodel.interactive.service;
import com.alibaba.fastjson.JSONObject;
import com.hnac.gglm.bigmodel.interactive.vo.AnswerVO;
import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import com.hnac.gglm.bigmodel.interactive.vo.HistoryDataSearchVO;
/**
* @Author: huangxing
* @Date: 2024/05/28 11:29
*/
public interface IAnalyseDataService {
ExtraVO getHistoryData(HistoryDataSearchVO searchVO);
}

6
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/IAnswerResolveService.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IAnswerResolveService.java

@ -1,9 +1,9 @@
package com.hnac.hzims.bigmodel.interactive.service; package com.hnac.gglm.bigmodel.interactive.service;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.hnac.hzims.bigmodel.interactive.vo.AnswerVO; import com.hnac.gglm.bigmodel.interactive.vo.AnswerVO;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import java.util.Arrays; import java.util.Arrays;
import java.util.stream.Stream; import java.util.stream.Stream;

26
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IHznlmInteractiveService.java

@ -0,0 +1,26 @@
package com.hnac.gglm.bigmodel.interactive.service;
import com.hnac.gglm.bigmodel.interactive.dto.AuthDataDTO;
import com.hnac.gglm.bigmodel.interactive.dto.ControlDTO;
import com.hnac.gglm.bigmodel.interactive.req.ModelFunctionReq;
import com.hnac.gglm.bigmodel.interactive.vo.AuthDataVO;
import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import com.hnac.gglm.bigmodel.interactive.vo.ResolveResultVO;
import org.springframework.web.bind.annotation.RequestBody;
import javax.validation.Valid;
import java.util.List;
/**
* @Author: huangxing
* @Date: 2024/06/21 10:23
*/
public interface IHznlmInteractiveService {
List<AuthDataVO> getAuthData(AuthDataDTO req);
ExtraVO resolve(ModelFunctionReq req);
ExtraVO controlDevice(ControlDTO req);
}

9
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/IHznlmInvokeService.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IHznlmInvokeService.java

@ -1,9 +1,8 @@
package com.hnac.hzims.bigmodel.interactive.service; package com.hnac.gglm.bigmodel.interactive.service;
import com.hnac.hzims.bigmodel.business.dto.RunReportAnalyseRequest; import com.hnac.gglm.bigmodel.business.dto.RunReportAnalyseRequest;
import com.hnac.hzims.bigmodel.business.dto.RunReportDataAnalyseDTO; import com.hnac.gglm.bigmodel.interactive.vo.AnswerVO;
import com.hnac.hzims.bigmodel.interactive.vo.AnswerVO; import com.hnac.gglm.bigmodel.question.dto.QuestionDTO;
import com.hnac.hzims.bigmodel.question.dto.QuestionDTO;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;

17
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/IResolveService.java

@ -0,0 +1,17 @@
package com.hnac.gglm.bigmodel.interactive.service;
import com.hnac.gglm.bigmodel.interactive.req.ModelFunctionReq;
import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import com.hnac.gglm.bigmodel.interactive.vo.ResolveResultVO;
/**
* @Author: huangxing
* @Date: 2024/06/21 15:39
*/
public interface IResolveService {
ExtraVO resolve(String id);
ExtraVO resolve(ModelFunctionReq req);
}

16
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/AnalyseDataServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/AnalyseDataServiceImpl.java

@ -1,13 +1,13 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.hnac.hzims.bigmodel.business.service.HistoryDataService; import com.hnac.gglm.bigmodel.business.service.HistoryDataService;
import com.hnac.hzims.bigmodel.interactive.constants.DataMethodEnum; import com.hnac.gglm.bigmodel.interactive.constants.DataMethodEnum;
import com.hnac.hzims.bigmodel.interactive.constants.DateEnum; import com.hnac.gglm.bigmodel.interactive.constants.DateEnum;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.service.IAnalyseDataService; import com.hnac.gglm.bigmodel.interactive.service.IAnalyseDataService;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import com.hnac.hzims.bigmodel.interactive.vo.HistoryDataSearchVO; import com.hnac.gglm.bigmodel.interactive.vo.HistoryDataSearchVO;
import com.hnac.hzinfo.sdk.core.response.Result; import com.hnac.hzinfo.sdk.core.response.Result;
import com.hnac.hzinfo.sdk.v5.device.vo.ReductionDataVO; import com.hnac.hzinfo.sdk.v5.device.vo.ReductionDataVO;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;

14
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/CanvasResolveServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/CanvasResolveServiceImpl.java

@ -1,12 +1,12 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.constants.ParamKeyConstants; import com.hnac.gglm.bigmodel.interactive.constants.ParamKeyConstants;
import com.hnac.hzims.bigmodel.interactive.factory.ResolveFactory; import com.hnac.gglm.bigmodel.interactive.factory.ResolveFactory;
import com.hnac.hzims.bigmodel.interactive.req.ModelFunctionReq; import com.hnac.gglm.bigmodel.interactive.req.ModelFunctionReq;
import com.hnac.hzims.bigmodel.interactive.service.IResolveService; import com.hnac.gglm.bigmodel.interactive.service.IResolveService;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import com.hnac.hzims.operational.station.entity.StationEntity; import com.hnac.hzims.operational.station.entity.StationEntity;
import com.hnac.hzims.operational.station.feign.IStationClient; import com.hnac.hzims.operational.station.feign.IStationClient;
import com.hnac.hzinfo.exception.HzServiceException; import com.hnac.hzinfo.exception.HzServiceException;

12
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/ChoiceAnswerResolveServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/ChoiceAnswerResolveServiceImpl.java

@ -1,13 +1,13 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.factory.AnswerResolveFactory; import com.hnac.gglm.bigmodel.interactive.factory.AnswerResolveFactory;
import com.hnac.hzims.bigmodel.interactive.service.IAnswerResolveService; import com.hnac.gglm.bigmodel.interactive.service.IAnswerResolveService;
import com.hnac.hzims.bigmodel.interactive.vo.AnswerVO; import com.hnac.gglm.bigmodel.interactive.vo.AnswerVO;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import groovy.util.logging.Slf4j; import groovy.util.logging.Slf4j;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

14
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/ControlAnswerResolveServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/ControlAnswerResolveServiceImpl.java

@ -1,18 +1,18 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import cn.hutool.http.HttpRequest; import cn.hutool.http.HttpRequest;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.hnac.hzims.bigmodel.interactive.constants.FunctionConstants; import com.hnac.gglm.bigmodel.interactive.constants.FunctionConstants;
import com.hnac.hzims.bigmodel.interactive.factory.AnswerResolveFactory; import com.hnac.gglm.bigmodel.interactive.factory.AnswerResolveFactory;
import com.hnac.hzims.bigmodel.interactive.service.IAnswerResolveService; import com.hnac.gglm.bigmodel.interactive.service.IAnswerResolveService;
import com.hnac.hzims.bigmodel.interactive.vo.AnswerVO; import com.hnac.gglm.bigmodel.interactive.vo.AnswerVO;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.Func;
import org.springblade.system.cache.ParamCache; import org.springblade.system.cache.ParamCache;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.hnac.hzims.bigmodel.interactive.constants.ParamKeyConstants; import com.hnac.gglm.bigmodel.interactive.constants.ParamKeyConstants;
import java.util.HashMap; import java.util.HashMap;

14
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/DiagnoseAnswerResolveServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/DiagnoseAnswerResolveServiceImpl.java

@ -1,13 +1,13 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.constants.FunctionConstants; import com.hnac.gglm.bigmodel.interactive.constants.FunctionConstants;
import com.hnac.hzims.bigmodel.interactive.factory.AnswerResolveFactory; import com.hnac.gglm.bigmodel.interactive.factory.AnswerResolveFactory;
import com.hnac.hzims.bigmodel.interactive.service.IAnswerResolveService; import com.hnac.gglm.bigmodel.interactive.service.IAnswerResolveService;
import com.hnac.hzims.bigmodel.interactive.vo.AnswerVO; import com.hnac.gglm.bigmodel.interactive.vo.AnswerVO;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import groovy.util.logging.Slf4j; import groovy.util.logging.Slf4j;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

28
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/HznlmInteractiveServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/HznlmInteractiveServiceImpl.java

@ -1,18 +1,18 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.hnac.hzims.bigmodel.business.dto.ControlDeviceAuthDTO; import com.hnac.gglm.bigmodel.business.dto.ControlDeviceAuthDTO;
import com.hnac.hzims.bigmodel.business.feign.IAuthClient; import com.hnac.gglm.bigmodel.business.feign.IAuthClient;
import com.hnac.hzims.bigmodel.business.service.AuthenticationService; import com.hnac.gglm.bigmodel.business.service.AuthenticationService;
import com.hnac.hzims.bigmodel.interactive.constants.DataAuthTypeEnum; import com.hnac.gglm.bigmodel.interactive.constants.DataAuthTypeEnum;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.dto.AuthDataDTO; import com.hnac.gglm.bigmodel.interactive.dto.AuthDataDTO;
import com.hnac.hzims.bigmodel.interactive.dto.ControlDTO; import com.hnac.gglm.bigmodel.interactive.dto.ControlDTO;
import com.hnac.hzims.bigmodel.interactive.factory.ResolveFactory; import com.hnac.gglm.bigmodel.interactive.factory.ResolveFactory;
import com.hnac.hzims.bigmodel.interactive.req.ModelFunctionReq; import com.hnac.gglm.bigmodel.interactive.req.ModelFunctionReq;
import com.hnac.hzims.bigmodel.interactive.service.IHznlmInteractiveService; import com.hnac.gglm.bigmodel.interactive.service.IHznlmInteractiveService;
import com.hnac.hzims.bigmodel.interactive.service.IResolveService; import com.hnac.gglm.bigmodel.interactive.service.IResolveService;
import com.hnac.hzims.bigmodel.interactive.vo.AuthDataVO; import com.hnac.gglm.bigmodel.interactive.vo.AuthDataVO;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import groovy.util.logging.Slf4j; import groovy.util.logging.Slf4j;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springblade.core.log.exception.ServiceException; import org.springblade.core.log.exception.ServiceException;

23
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/HznlmInvokeServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/HznlmInvokeServiceImpl.java

@ -1,21 +1,20 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference; import com.alibaba.fastjson.TypeReference;
import com.baomidou.mybatisplus.core.toolkit.IdWorker; import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.hnac.hzims.bigmodel.business.dto.RunReportAnalyseRequest; import com.hnac.gglm.bigmodel.business.dto.RunReportAnalyseRequest;
import com.hnac.hzims.bigmodel.business.feign.IAuthClient; import com.hnac.gglm.bigmodel.business.feign.IAuthClient;
import com.hnac.hzims.bigmodel.business.dto.RunReportDataAnalyseDTO; import com.hnac.gglm.bigmodel.configuration.BigModelInvokeApi;
import com.hnac.hzims.bigmodel.configuration.BigModelInvokeApi; import com.hnac.gglm.bigmodel.interactive.service.IHznlmInvokeService;
import com.hnac.hzims.bigmodel.interactive.service.IHznlmInvokeService; import com.hnac.gglm.bigmodel.interactive.vo.AnswerVO;
import com.hnac.hzims.bigmodel.interactive.vo.AnswerVO; import com.hnac.gglm.bigmodel.manager.SessionRedisManager;
import com.hnac.hzims.bigmodel.manager.SessionRedisManager; import com.hnac.gglm.bigmodel.question.dto.QuestionDTO;
import com.hnac.hzims.bigmodel.question.dto.QuestionDTO; import com.hnac.gglm.bigmodel.utils.RequestClientUtil;
import com.hnac.hzims.bigmodel.utils.RequestClientUtil; import com.hnac.gglm.bigmodel.websocket.constants.RedisKeyConstants;
import com.hnac.hzims.bigmodel.websocket.constants.RedisKeyConstants; import com.hnac.gglm.bigmodel.websocket.sessionManager.InteractiveSessionManager;
import com.hnac.hzims.bigmodel.websocket.sessionManager.InteractiveSessionManager;
import com.hnac.hzims.common.constant.CommonConstant; import com.hnac.hzims.common.constant.CommonConstant;
import com.hnac.hzinfo.exception.HzServiceException; import com.hnac.hzinfo.exception.HzServiceException;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

14
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/ParamAnswerResolveServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/ParamAnswerResolveServiceImpl.java

@ -1,13 +1,13 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.constants.SearchTypeEnum; import com.hnac.gglm.bigmodel.interactive.constants.SearchTypeEnum;
import com.hnac.hzims.bigmodel.interactive.factory.AnswerResolveFactory; import com.hnac.gglm.bigmodel.interactive.factory.AnswerResolveFactory;
import com.hnac.hzims.bigmodel.interactive.service.IAnalyseDataService; import com.hnac.gglm.bigmodel.interactive.service.IAnalyseDataService;
import com.hnac.hzims.bigmodel.interactive.service.IAnswerResolveService; import com.hnac.gglm.bigmodel.interactive.service.IAnswerResolveService;
import com.hnac.hzims.bigmodel.interactive.vo.*; import com.hnac.gglm.bigmodel.interactive.vo.*;
import com.xxl.job.core.log.XxlJobLogger; import com.xxl.job.core.log.XxlJobLogger;
import groovy.util.logging.Slf4j; import groovy.util.logging.Slf4j;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;

14
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/RemoteAnswerResolveServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/RemoteAnswerResolveServiceImpl.java

@ -1,14 +1,14 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.factory.AnswerResolveFactory; import com.hnac.gglm.bigmodel.interactive.factory.AnswerResolveFactory;
import com.hnac.hzims.bigmodel.interactive.service.IAnswerResolveService; import com.hnac.gglm.bigmodel.interactive.service.IAnswerResolveService;
import com.hnac.hzims.bigmodel.interactive.vo.AnswerVO; import com.hnac.gglm.bigmodel.interactive.vo.AnswerVO;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import com.hnac.hzims.bigmodel.interactive.vo.RemoteParamVO; import com.hnac.gglm.bigmodel.interactive.vo.RemoteParamVO;
import com.hnac.hzinfo.sdk.v5.device.client.DeviceClient; import com.hnac.hzinfo.sdk.v5.device.client.DeviceClient;
import com.hnac.hzinfo.sdk.v5.device.vo.DeviceInstanceFuncVO; import com.hnac.hzinfo.sdk.v5.device.vo.DeviceInstanceFuncVO;
import groovy.util.logging.Slf4j; import groovy.util.logging.Slf4j;

14
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/service/impl/VideoResolveServiceImpl.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/VideoResolveServiceImpl.java

@ -1,12 +1,12 @@
package com.hnac.hzims.bigmodel.interactive.service.impl; package com.hnac.gglm.bigmodel.interactive.service.impl;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.hnac.hzims.bigmodel.interactive.constants.FuncRouteEnum; import com.hnac.gglm.bigmodel.interactive.constants.FuncRouteEnum;
import com.hnac.hzims.bigmodel.interactive.constants.FunctionConstants; import com.hnac.gglm.bigmodel.interactive.constants.FunctionConstants;
import com.hnac.hzims.bigmodel.interactive.factory.ResolveFactory; import com.hnac.gglm.bigmodel.interactive.factory.ResolveFactory;
import com.hnac.hzims.bigmodel.interactive.req.ModelFunctionReq; import com.hnac.gglm.bigmodel.interactive.req.ModelFunctionReq;
import com.hnac.hzims.bigmodel.interactive.service.IResolveService; import com.hnac.gglm.bigmodel.interactive.service.IResolveService;
import com.hnac.hzims.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO;
import com.hnac.hzims.operational.station.entity.StationVideoTypeEntity; import com.hnac.hzims.operational.station.entity.StationVideoTypeEntity;
import com.hnac.hzims.operational.station.feign.IStationVideoTypeClient; import com.hnac.hzims.operational.station.feign.IStationVideoTypeClient;
import com.hnac.hzinfo.exception.HzServiceException; import com.hnac.hzinfo.exception.HzServiceException;

4
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/AnswerVO.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/AnswerVO.java

@ -1,7 +1,7 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.hnac.hzims.bigmodel.interactive.constants.InfoMessageConstant; import com.hnac.gglm.bigmodel.interactive.constants.InfoMessageConstant;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/AuthDataVO.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/AuthDataVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/vo/HistoryDataSearchVO.java → hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/vo/HistoryDataSearchVO.java

@ -1,4 +1,4 @@
package com.hnac.hzims.bigmodel.interactive.vo; package com.hnac.gglm.bigmodel.interactive.vo;
import lombok.Data; import lombok.Data;

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

Loading…
Cancel
Save