Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
08b45b4e
Commit
08b45b4e
authored
Dec 02, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql
parent
76de39f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
GroupChatMapper.xml
...ervice/src/main/resources/mapper/chat/GroupChatMapper.xml
+10
-4
No files found.
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatMapper.xml
View file @
08b45b4e
...
...
@@ -147,8 +147,7 @@
SELECT
<include
refid=
"Base_Column_List"
/>
FROM tab_haoban_group_chat WHERE group_chat_id in
<foreach
collection=
"idList"
item=
"id"
index=
"index"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"idList"
item=
"id"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
and delete_flag = 0
...
...
@@ -171,8 +170,14 @@
</select>
<update
id=
"updateChatEnterpriseId"
>
update tab_haoban_group_chat set enterprise_id = #{enterpriseId} where wx_enterprise_id=#{wxEnterpriseId}
<if
test=
"null "
></if>
update tab_haoban_group_chat set enterprise_id = #{enterpriseId} , update_time=now() where wx_enterprise_id=#{wxEnterpriseId}
<if
test=
"null != groupChatIdList and groupChatIdList.size > 0"
>
and group_chat_id
<foreach
collection=
"groupChatIdList"
item=
"id"
index=
"index"
separator=
","
open=
"("
close=
")"
>
#{id}
</foreach>
</if>
and delete_flag = 0 and enterprise_id is null
</select>
</mapper>
\ No newline at end of file
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