Skip to content

Commit

Permalink
update: 更新 README 文档
Browse files Browse the repository at this point in the history
  • Loading branch information
BanTanger committed Aug 27, 2023
1 parent aeba520 commit fb3294b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,7 @@ git clone https://github.com/BanTanger/im-whale-shark.git
2. 项目打包

```bash
mvn clean package -pl im-common
mvn clean package -pl im-codec
mvn clean package -pl im-infrastructure
mvn clean package -pl im-tcp
mvn clean package -pl im-domain
mvn clean package -pl im-message-store
mvn clean package
```

此过程可能有点长,请耐心等待
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<update id="readMark" parameterType="com.bantanger.im.domain.conversation.dao.ImConversationSetEntity">
update im_conversation_set
set read_sequence = #{readSequence}, sequence = #{sequence}
where conversation_id = #{conversationId} and app_id = #{appId} and read_sequence <![CDATA[<]]> #{readSequence};
where app_id = #{appId} and conversation_id = #{conversationId} and read_sequence <![CDATA[<]]> #{sequence};
</update>

<select id="getConversationSetMaxSeq" parameterType="map" resultType="java.lang.Long">
select max(sequence)
from im_conversation_set where app_id = #{appId} and from_id = #{fromId};
select max(sequence) from im_conversation_set
where app_id = #{appId} and from_id = #{fromId};
</select>

<select id="getConversationMaxSeq" resultType="java.lang.Long">
select max(sequence) from im_conversation_set
where app_id = #{appId} and from_id = #{fromId};
where app_id = #{appId};
</select>
</mapper>

0 comments on commit fb3294b

Please sign in to comment.