Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
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
hewei
wecloud_im_server
Commits
19232df7
Commit
19232df7
authored
Jun 17, 2021
by
giaogiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息id字段改为msgId
parent
05dd4427
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
common/src/main/java/com/wecloud/im/param/add/ImMsgUpdate.java
+1
-1
common/src/main/java/com/wecloud/im/service/impl/ImMessageServiceImpl.java
+1
-1
common/src/main/java/com/wecloud/im/vo/OfflineMsgDto.java
+1
-1
common/src/main/resources/mapper/ImMessageMapper.xml
+4
-4
No files found.
common/src/main/java/com/wecloud/im/param/add/ImMsgUpdate.java
View file @
19232df7
...
...
@@ -24,7 +24,7 @@ public class ImMsgUpdate extends BaseEntity {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"消息id"
)
private
Long
i
d
;
private
Long
msgI
d
;
@ApiModelProperty
(
"内容"
)
private
HashMap
content
;
...
...
common/src/main/java/com/wecloud/im/service/impl/ImMessageServiceImpl.java
View file @
19232df7
...
...
@@ -91,7 +91,7 @@ public class ImMessageServiceImpl extends BaseServiceImpl<ImMessageMapper, ImMes
}*/
ImMessage
imMessage
=
new
ImMessage
();
imMessage
.
setId
(
imMsgUpdate
.
getId
());
imMessage
.
setId
(
imMsgUpdate
.
get
Msg
Id
());
JsonMapper
jsonMapper
=
new
JsonMapper
();
...
...
common/src/main/java/com/wecloud/im/vo/OfflineMsgDto.java
View file @
19232df7
...
...
@@ -17,7 +17,7 @@ import java.util.Date;
public
class
OfflineMsgDto
implements
Serializable
{
@ApiModelProperty
(
"消息id"
)
private
Long
i
d
;
private
Long
msgI
d
;
@ApiModelProperty
(
"创建时间"
)
private
Date
createTime
;
...
...
common/src/main/resources/mapper/ImMessageMapper.xml
View file @
19232df7
...
...
@@ -22,7 +22,7 @@
</select>
<select
id=
"getOfflineListByClientAndConversation"
resultType=
"com.wecloud.im.vo.OfflineMsgDto"
>
SELECT im_message.id AS
i
d,
SELECT im_message.id AS
msgI
d,
im_message.create_time,
im_message.withdraw_time,
im_message.update_date,
...
...
@@ -44,7 +44,7 @@
AND im_inbox.read_msg = 0
</select>
<select
id=
"getHistoryMsgConversationId"
resultType=
"com.wecloud.im.vo.OfflineMsgDto"
>
SELECT im_message.id AS
i
d,
SELECT im_message.id AS
msgI
d,
im_message.create_time,
im_message.withdraw_time,
im_message.update_date,
...
...
@@ -63,7 +63,7 @@
</select>
<select
id=
"getReceivedLastMsgByConversationId"
resultType=
"com.wecloud.im.vo.OfflineMsgDto"
>
SELECT im_message.id AS
i
d,
SELECT im_message.id AS
msgI
d,
im_message.create_time,
im_message.withdraw_time,
im_message.update_date,
...
...
@@ -83,7 +83,7 @@
ORDER BY create_time DESC LIMIT 1
</select>
<select
id=
"getLastMsgByConversationId"
resultType=
"com.wecloud.im.vo.OfflineMsgDto"
>
SELECT im_message.id AS
i
d,
SELECT im_message.id AS
msgI
d,
im_message.create_time,
im_message.withdraw_time,
im_message.update_date,
...
...
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