fix:bug修复
This commit is contained in:
parent
54d1e95474
commit
0e4d702b96
|
@ -7,7 +7,7 @@ import org.springframework.stereotype.Component;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
@FeignClient("jeecg-system")
|
@FeignClient("jeecg-spectrum")
|
||||||
public interface SystemClient {
|
public interface SystemClient {
|
||||||
|
|
||||||
/* 获取当前用户信息 */
|
/* 获取当前用户信息 */
|
||||||
|
|
|
@ -7,6 +7,7 @@ import org.jeecg.modules.entity.data.PointVo;
|
||||||
import org.jeecg.modules.entity.data.StationOperation;
|
import org.jeecg.modules.entity.data.StationOperation;
|
||||||
import org.jeecg.modules.service.IStationOperationService;
|
import org.jeecg.modules.service.IStationOperationService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -16,6 +17,9 @@ import java.util.List;
|
||||||
@Api(value = "台站运行管理", tags = "台站运行管理")
|
@Api(value = "台站运行管理", tags = "台站运行管理")
|
||||||
public class StationOperationController {
|
public class StationOperationController {
|
||||||
|
|
||||||
|
@Value("${map.Url}")
|
||||||
|
private String mapUrl;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private IStationOperationService stationOperationService;
|
private IStationOperationService stationOperationService;
|
||||||
|
|
||||||
|
@ -66,4 +70,11 @@ public class StationOperationController {
|
||||||
return stationOperationService.getDataProvisionEfficiency();
|
return stationOperationService.getDataProvisionEfficiency();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("getMapUrl")
|
||||||
|
@ApiOperation(value = "获取地图地址", notes = "获取地图地址")
|
||||||
|
public Result<?> getMapUrl(){
|
||||||
|
Result<String> result = Result.OK();
|
||||||
|
result.setResult(mapUrl);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,8 +74,8 @@ public class JeecgAutoProcessApplication extends SpringBootServletInitializer im
|
||||||
}
|
}
|
||||||
//校验临时存储目录是否存在
|
//校验临时存储目录是否存在
|
||||||
checkTemporaryStorageDirectory();
|
checkTemporaryStorageDirectory();
|
||||||
// autoProcessManager.start(systemStartupTime,ftpOpierationLock);
|
// autoProcessManager.start(systemStartupTime,ftpOpierationLock);
|
||||||
// undealHandleManager.start(ftpOpierationLock);
|
// undealHandleManager.start(ftpOpierationLock);
|
||||||
fileSourceHandleManager.start(ftpOpierationLock);
|
fileSourceHandleManager.start(ftpOpierationLock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user