Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
79a47e10
Commit
79a47e10
authored
Feb 21, 2020
by
1244575290@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示真实在线状态
parent
5ce969f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
PcloudRobotBizImpl.java
...cloud/book/pcloudkeyword/biz/impl/PcloudRobotBizImpl.java
+1
-1
PcloudRobot.java
...ava/com/pcloud/book/pcloudkeyword/entity/PcloudRobot.java
+2
-2
PcloudRobot.Mapper.xml
...ain/resources/mapper/pcloudkeyword/PcloudRobot.Mapper.xml
+1
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/pcloudkeyword/biz/impl/PcloudRobotBizImpl.java
View file @
79a47e10
...
@@ -161,7 +161,7 @@ public class PcloudRobotBizImpl implements PcloudRobotBiz {
...
@@ -161,7 +161,7 @@ public class PcloudRobotBizImpl implements PcloudRobotBiz {
}
}
// 如果超时没有收到心跳则下线
// 如果超时没有收到心跳则下线
if
(
System
.
currentTimeMillis
()
>
Long
.
parseLong
(
s
))
{
if
(
System
.
currentTimeMillis
()
>
Long
.
parseLong
(
s
))
{
pcloudRobotDao
.
updateRealStatus
(
id
,
2
);
pcloudRobotDao
.
updateRealStatus
(
id
,
0
);
}
}
}
}
}
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/pcloudkeyword/entity/PcloudRobot.java
View file @
79a47e10
...
@@ -41,10 +41,10 @@ public class PcloudRobot extends BaseEntity {
...
@@ -41,10 +41,10 @@ public class PcloudRobot extends BaseEntity {
@ApiModelProperty
(
"小号分类id"
)
@ApiModelProperty
(
"小号分类id"
)
private
String
classifyId
;
private
String
classifyId
;
@ApiModelProperty
(
"状态:1 在线
2
离线"
)
@ApiModelProperty
(
"状态:1 在线
0
离线"
)
private
Integer
state
;
private
Integer
state
;
@ApiModelProperty
(
"真实状态:1 在线
2
离线"
)
@ApiModelProperty
(
"真实状态:1 在线
0
离线"
)
private
Integer
realStatus
;
private
Integer
realStatus
;
@ApiModelProperty
(
"小号回复欢迎语"
)
@ApiModelProperty
(
"小号回复欢迎语"
)
...
...
pcloud-service-book/src/main/resources/mapper/pcloudkeyword/PcloudRobot.Mapper.xml
View file @
79a47e10
...
@@ -310,7 +310,7 @@
...
@@ -310,7 +310,7 @@
</select>
</select>
<select
id=
"listNoClassifyRobot"
resultMap=
"BaseResultMap"
>
<select
id=
"listNoClassifyRobot"
resultMap=
"BaseResultMap"
>
select id, wx_id, unique_number
select id, wx_id, unique_number
, real_status
from pcloud_robot where robot_type is null
from pcloud_robot where robot_type is null
</select>
</select>
...
...
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