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
e0db7913
Commit
e0db7913
authored
Dec 06, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询
parent
f194a676
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
+13
-1
GroupChatSearchQDTO.java
.../haoban/manage/api/dto/qdto/chat/GroupChatSearchQDTO.java
+9
-0
GroupChatMapper.xml
...ervice/src/main/resources/mapper/chat/GroupChatMapper.xml
+3
-0
GroupChatOwnerMapper.xml
...e/src/main/resources/mapper/chat/GroupChatOwnerMapper.xml
+1
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/qdto/chat/GroupChatSearchQDTO.java
View file @
e0db7913
...
...
@@ -21,6 +21,15 @@ public class GroupChatSearchQDTO implements Serializable {
private
List
<
String
>
staffIdList
;
// 群活码id
private
Long
chatHmId
;
private
String
staffId
;
public
String
getStaffId
()
{
return
staffId
;
}
public
void
setStaffId
(
String
staffId
)
{
this
.
staffId
=
staffId
;
}
public
Long
getChatHmId
()
{
return
chatHmId
;
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatMapper.xml
View file @
e0db7913
...
...
@@ -190,6 +190,9 @@
<select
id=
"list"
resultMap=
"result-map-tabHaobanGroupChat"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_group_chat where wx_enterprise_id=#{wxEnterpriseId} and delete_flag = 0
<if
test=
"null != staffId"
>
and staff_id = #{staffId}
</if>
</select>
<update
id=
"updateChatEnterpriseId"
>
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatOwnerMapper.xml
View file @
e0db7913
...
...
@@ -53,7 +53,7 @@
<select
id=
"listOwner"
parameterType=
"com.gic.haoban.manage.api.dto.qdto.chat.OwnerSearchQDTO"
resultType=
"com.gic.haoban.manage.api.dto.chat.GroupChatOwnerDTO"
>
SELECT a.staff_id staffId , b.`staff_name` staffName
FROM tab_haoban_group_chat_owner a LEFT JOIN tab_haoban_staff b ON a.`staff_id` = b.`staff_id`
where wx_enterprise_id=#{wxEnterpriseId}
where
a.
wx_enterprise_id=#{wxEnterpriseId}
<if
test=
"null != searchParams"
>
and b.staff_name like '%${searchParams}%'
</if>
...
...
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