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
97bf19df
Commit
97bf19df
authored
Oct 23, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群成员导出
parent
0c1d7c6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
GroupChatController.java
...aoban/manage/web/controller/chat/GroupChatController.java
+5
-7
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatController.java
View file @
97bf19df
...
@@ -49,11 +49,7 @@ import java.util.Date;
...
@@ -49,11 +49,7 @@ import java.util.Date;
import
java.util.List
;
import
java.util.List
;
/**
/**
*
* 企微群
* @ClassName: GroupChatController
* @Description: 群
* @author xugh
* @date 2022年11月26日 上午9:32:56
*
*
*/
*/
@RestController
@RestController
...
@@ -154,7 +150,9 @@ public class GroupChatController {
...
@@ -154,7 +150,9 @@ public class GroupChatController {
return
RestResponse
.
successResult
(
page
.
getResult
());
return
RestResponse
.
successResult
(
page
.
getResult
());
}
}
/**
* 群详情导出
*/
@RequestMapping
(
"user/detail/excel"
)
@RequestMapping
(
"user/detail/excel"
)
public
RestResponse
<
Boolean
>
detailExcel
(
HttpServletRequest
request
,
HttpServletResponse
response
,
GroupChatUserSearchQDTO
qdto
)
{
public
RestResponse
<
Boolean
>
detailExcel
(
HttpServletRequest
request
,
HttpServletResponse
response
,
GroupChatUserSearchQDTO
qdto
)
{
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
...
@@ -177,7 +175,7 @@ public class GroupChatController {
...
@@ -177,7 +175,7 @@ public class GroupChatController {
List
<
GroupChatUserExcelVO
>
voList
=
new
ArrayList
<>()
;
List
<
GroupChatUserExcelVO
>
voList
=
new
ArrayList
<>()
;
for
(
GroupChatUserDTO
dto
:
list
)
{
for
(
GroupChatUserDTO
dto
:
list
)
{
GroupChatUserExcelVO
vo
=
EntityUtil
.
changeEntityByJSON
(
GroupChatUserExcelVO
.
class
,
dto
)
;
GroupChatUserExcelVO
vo
=
EntityUtil
.
changeEntityByJSON
(
GroupChatUserExcelVO
.
class
,
dto
)
;
vo
.
setAddTimeExcel
(
DateUtil
.
dateToStr
(
dto
.
get
UserQuitTime
(),
"yyyy-MM-dd HH:mm:ss"
));
vo
.
setAddTimeExcel
(
DateUtil
.
dateToStr
(
dto
.
get
JoinTime
()
,
"yyyy-MM-dd HH:mm:ss"
));
if
(
dto
.
getUserType
()==
1
)
{
if
(
dto
.
getUserType
()==
1
)
{
vo
.
setUserTypeExcel
(
"企业成员"
);
vo
.
setUserTypeExcel
(
"企业成员"
);
}
else
if
(
dto
.
getUserType
()==
2
)
{
}
else
if
(
dto
.
getUserType
()==
2
)
{
...
...
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