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
19b42b1f
Commit
19b42b1f
authored
Dec 19, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载
parent
88772129
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
ChatHmSearchQDTO.java
...gic/haoban/manage/api/dto/qdto/chat/ChatHmSearchQDTO.java
+9
-0
GroupChatHmController.java
...ban/manage/web/controller/chat/GroupChatHmController.java
+5
-4
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/qdto/chat/ChatHmSearchQDTO.java
View file @
19b42b1f
...
...
@@ -19,7 +19,16 @@ public class ChatHmSearchQDTO implements Serializable {
private
List
<
Long
>
chatHmIdList
;
private
List
<
String
>
creatorIdList
;
private
Integer
linkCount
;
private
int
allFlag
;
public
int
getAllFlag
()
{
return
allFlag
;
}
public
void
setAllFlag
(
int
allFlag
)
{
this
.
allFlag
=
allFlag
;
}
public
Integer
getLinkCount
()
{
return
linkCount
;
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatHmController.java
View file @
19b42b1f
...
...
@@ -320,8 +320,8 @@ public class GroupChatHmController {
@SuppressWarnings
(
"deprecation"
)
@RequestMapping
(
"download"
)
public
RestResponse
<
Object
>
download
(
@RequestBody
ChatHmSearchQDTO
qdto
,
@RequestParam
(
defaultValue
=
"0"
)
int
allFlag
)
{
public
RestResponse
<
Object
>
download
(
@RequestBody
ChatHmSearchQDTO
qdto
)
{
int
allFlag
=
qdto
.
getAllFlag
();
if
(
allFlag
==
0
&&
CollectionUtils
.
isEmpty
(
qdto
.
getChatHmIdList
()))
{
return
RestResponse
.
failure
(
"1"
,
"请选择要下载的群活码"
);
}
...
...
@@ -348,13 +348,14 @@ public class GroupChatHmController {
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
loginUser
.
getWxEnterpriseId
();
String
enterpriseId
=
loginUser
.
getEnterpriseId
();
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
BasePageInfo
basePageInfo
=
new
BasePageInfo
();
basePageInfo
.
setPageNum
(
1
);
basePageInfo
.
setPageSize
(
500000
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
ServiceResponse
<
Page
<
GroupChatHmDTO
>>
resp
=
this
.
groupChatHmApiService
.
listPage
(
qdto
,
basePageInfo
);
List
<
GroupChatHmDTO
>
dtoList
=
resp
.
getResult
().
getResult
();
int
size
=
dtoList
.
size
();
JSONResponse
jsonResponse
=
DataPermissionExport
.
generatedExcel
(
1
,
au
,
""
,
""
,
size
,
fileName
,
qrCodeName
,
downloadReportService
);
...
...
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