Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
ocrCloudPlatForm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ocr-cloud-platform
ocrCloudPlatForm
Commits
e3773908
Commit
e3773908
authored
May 06, 2024
by
黄明步
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7b8fc936
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
src/main/java/com/gxmailu/ocrCloudPlatform/service/impl/ServerInfoServiceImpl.java
+1
-2
No files found.
src/main/java/com/gxmailu/ocrCloudPlatform/service/impl/ServerInfoServiceImpl.java
View file @
e3773908
...
@@ -2,7 +2,6 @@ package com.gxmailu.ocrCloudPlatform.service.impl;
...
@@ -2,7 +2,6 @@ package com.gxmailu.ocrCloudPlatform.service.impl;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.util.ObjUtil
;
import
cn.hutool.core.util.ObjUtil
;
import
cn.hutool.core.util.RandomUtil
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
...
@@ -238,7 +237,7 @@ public class ServerInfoServiceImpl implements ServerInfoService {
...
@@ -238,7 +237,7 @@ public class ServerInfoServiceImpl implements ServerInfoService {
try
{
try
{
List
<
ServerInfo
>
serverInfos
;
List
<
ServerInfo
>
serverInfos
;
Object
object
=
redisService
.
getValue
(
RedisConstant
.
OCR_SERVER_ALL
);
Object
object
=
redisService
.
getValue
(
RedisConstant
.
OCR_SERVER_ALL
);
if
(
ObjUtil
.
isNull
(
object
))
{
if
(
ObjUtil
.
isN
otN
ull
(
object
))
{
serverInfos
=
JSONArray
.
parseArray
(
object
.
toString
(),
ServerInfo
.
class
);
serverInfos
=
JSONArray
.
parseArray
(
object
.
toString
(),
ServerInfo
.
class
);
}
else
{
}
else
{
serverInfos
=
serverInfoMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
ServerInfo
.
class
)
serverInfos
=
serverInfoMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
ServerInfo
.
class
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment