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
76b57ee1
Commit
76b57ee1
authored
Jul 18, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群数据导出
parent
41107d4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
GroupChatPlanOwnerLogMapper.xml
...ain/resources/mapper/chat/GroupChatPlanOwnerLogMapper.xml
+0
-1
QwMomentController.java
...oban/manage/web/controller/moment/QwMomentController.java
+10
-0
No files found.
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanOwnerLogMapper.xml
View file @
76b57ee1
...
...
@@ -162,7 +162,6 @@
<foreach
collection=
"storeIdList"
item=
"item"
separator=
","
close=
")"
open=
"("
>
#{item}
</foreach>
/>
</if>
order by a.create_time , a.owner_log_id
</select>
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/moment/QwMomentController.java
View file @
76b57ee1
...
...
@@ -460,6 +460,11 @@ public class QwMomentController {
qdto
.
setEnterpriseId
(
loginUser
.
getEnterpriseId
());
qdto
.
setPageNum
(
1
);
qdto
.
setPageSize
(
1
);
List
<
String
>
storeIdList
=
this
.
getGicStoreId
(
qo
.
getStoreGroupIds
(),
loginUser
.
getEnterpriseId
())
;
if
(
CollectionUtils
.
isNotEmpty
(
storeIdList
)
&&
storeIdList
.
size
()
==
1
&&
storeIdList
.
contains
(
"-1"
))
{
return
RestResponse
.
failure
(
"9999"
,
"导出数据条数为0"
);
}
qdto
.
setStoreIdList
(
storeIdList
);
ServiceResponse
<
Page
<
QwMomentPlanDataDTO
>>
pageResp
=
this
.
qwMomentApiService
.
dataList
(
qdto
);
final
int
totalCount
=
pageResp
.
getResult
().
getTotalCount
();
if
(
totalCount
==
0
)
{
...
...
@@ -570,6 +575,11 @@ public class QwMomentController {
qdto
.
setEnterpriseId
(
loginUser
.
getEnterpriseId
());
qdto
.
setPageNum
(
1
);
qdto
.
setPageSize
(
1
);
List
<
String
>
storeIdList
=
this
.
getGicStoreId
(
qo
.
getStoreGroupIds
(),
AuthWebRequestUtil
.
getLoginUser
().
getEnterpriseId
())
;
if
(
CollectionUtils
.
isNotEmpty
(
storeIdList
)
&&
storeIdList
.
size
()
==
1
&&
storeIdList
.
contains
(
"-1"
))
{
return
RestResponse
.
failure
(
"9999"
,
"导出数据条数为0"
);
}
qdto
.
setStoreIdList
(
storeIdList
);
ServiceResponse
<
Page
<
QwMomentPlanAttendDTO
>>
pageResp
=
this
.
qwMomentApiService
.
attendList
(
qdto
);
final
int
totalCount
=
pageResp
.
getResult
().
getTotalCount
();
if
(
totalCount
==
0
)
{
...
...
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