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
a4a05100
Commit
a4a05100
authored
Dec 08, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql
parent
5ff2297f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
GroupChatMapper.xml
...ervice/src/main/resources/mapper/chat/GroupChatMapper.xml
+1
-1
GroupChatHmController.java
...ban/manage/web/controller/chat/GroupChatHmController.java
+9
-9
No files found.
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatMapper.xml
View file @
a4a05100
...
...
@@ -213,7 +213,7 @@
<if
test=
"null != gicFlag and gicFlag ==0 "
>
and gic_flag = 0
</if>
<if
test=
"null = gicFlag or gicFlag ==1 "
>
<if
test=
"null =
=
gicFlag or gicFlag ==1 "
>
and gic_flag = 1
</if>
<if
test=
"null != groupChatIdList && groupChatIdList.size>0"
>
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatHmController.java
View file @
a4a05100
...
...
@@ -77,24 +77,24 @@ public class GroupChatHmController {
return
RestResponse
.
successResult
(
hm
);
}
@RequestMapping
(
"link-relation"
)
public
RestResponse
<
Object
>
linkRelation
(
Long
chatHmId
,
BasePageInfo
basePageInfo
)
{
public
RestResponse
<
Object
>
linkRelation
(
Long
chatHmId
,
BasePageInfo
basePageInfo
)
{
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
loginUser
.
getWxEnterpriseId
()
;
ServiceResponse
<
Page
<
HmLinkChatDTO
>>
page
=
this
.
groupChatHmApiService
.
listPageChatLink
(
wxEnterpriseId
,
chatHmId
,
basePageInfo
);
String
wxEnterpriseId
=
loginUser
.
getWxEnterpriseId
();
ServiceResponse
<
Page
<
HmLinkChatDTO
>>
page
=
this
.
groupChatHmApiService
.
listPageChatLink
(
wxEnterpriseId
,
chatHmId
,
basePageInfo
);
return
RestResponse
.
successResult
(
page
.
getResult
());
}
@RequestMapping
(
"group-relation"
)
public
RestResponse
<
Object
>
groupRelation
(
Long
chatHmId
,
BasePageInfo
basePageInfo
)
{
public
RestResponse
<
Object
>
groupRelation
(
Long
chatHmId
,
BasePageInfo
basePageInfo
)
{
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
loginUser
.
getWxEnterpriseId
()
;
GroupChatSearchQDTO
qdto
=
new
GroupChatSearchQDTO
()
;
String
wxEnterpriseId
=
loginUser
.
getWxEnterpriseId
();
GroupChatSearchQDTO
qdto
=
new
GroupChatSearchQDTO
();
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setChatHmId
(
chatHmId
);
ServiceResponse
<
Page
<
GroupChatDTO
>>
page
=
this
.
groupChatApiService
.
listPage
(
qdto
,
basePageInfo
);
return
RestResponse
.
successResult
(
page
.
getResult
());
}
}
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