Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-java
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
PeiZhen-Java
peizhen-java
Commits
98947620
Commit
98947620
authored
a year ago
by
邹磊浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
34fa96fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
pz-admin/src/main/java/com/pz/web/task/InsertTestOrderTask.java
+1
-1
pz-applet/src/main/java/com/pz/applet/WebSocketOneToOneController.java
+1
-0
No files found.
pz-admin/src/main/java/com/pz/web/task/InsertTestOrderTask.java
View file @
98947620
...
...
@@ -67,7 +67,7 @@ public class InsertTestOrderTask {
public
static
List
<
Integer
>
businessIds
=
Arrays
.
asList
(
0
,
1
,
2
,
3
,
4
,
5
,
6
);
@Scheduled
(
cron
=
"0 0 0 * * ?"
)
// 凌晨12点执行
//
@Scheduled(cron = "0 0 0 * * ?") // 凌晨12点执行
public
void
insertOrder
()
throws
InterruptedException
{
// 就诊人员
List
<
UserVsitor
>
userVsitors
=
userVsitorMapper
.
selectList
(
Wrappers
.<
UserVsitor
>
lambdaQuery
().
last
(
"limit 20"
));
...
...
This diff is collapsed.
Click to expand it.
pz-applet/src/main/java/com/pz/applet/WebSocketOneToOneController.java
View file @
98947620
...
...
@@ -106,6 +106,7 @@ public class WebSocketOneToOneController {
String
lastMessageTime
=
json
.
getString
(
"lastMessageTime"
);
// 使用类型推断,如果不存在键"lastMessageTime",则为null
Long
receiveId
=
json
.
getLong
(
"receiveId"
);
// 发送对象的用户标识(接收者)
String
createTime
=
json
.
getString
(
"createTime"
);
log
.
info
(
"json:"
,
json
);
// 发送消息
send
(
msg
,
sendId
,
receiveId
,
roomId
,
msgType
,
requestId
,
lastMessageTime
,
sessionId
,
createTime
);
...
...
This diff is collapsed.
Click to expand it.
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