Browse Source

add: 数据控制、查询service指定hznlm数据源

zhongwei
haungxing 2 months ago
parent
commit
40aab0128e
  1. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataInstructService.java
  2. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataRecordService.java

2
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataInstructService.java

@ -1,5 +1,6 @@
package com.hnac.gglm.bigmodel.maintenance.service;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hnac.gglm.bigmodel.business.service.VectorDataService;
@ -20,6 +21,7 @@ import java.util.List;
@Service
@Slf4j
@AllArgsConstructor
@DS("hznlm")
public class DataInstructService extends BaseServiceImpl<DataInstructMapper, DataInstructEntity> {
private final VectorDataService vectorDataService;

2
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataRecordService.java

@ -1,5 +1,6 @@
package com.hnac.gglm.bigmodel.maintenance.service;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.hnac.gglm.bigmodel.business.service.VectorDataService;
import com.hnac.gglm.bigmodel.maintenance.dto.DeviceAttrDTO;
import com.hnac.gglm.bigmodel.maintenance.dto.DeviceFuncDTO;
@ -17,6 +18,7 @@ import java.util.List;
@Service
@Slf4j
@AllArgsConstructor
@DS("hznlm")
public class DataRecordService extends BaseServiceImpl<DataRecordMapper, DataRecordEntity> {
private final VectorDataService vectorDataService;

Loading…
Cancel
Save