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
1b91c895
Commit
1b91c895
authored
Dec 14, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群发
parent
f1eb80e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
GroupChatPlanOwnerLogMapper.xml
...ain/resources/mapper/chat/GroupChatPlanOwnerLogMapper.xml
+1
-1
GroupChatPlanController.java
...manage/web/controller/haoban/GroupChatPlanController.java
+13
-2
No files found.
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanOwnerLogMapper.xml
View file @
1b91c895
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
b.plan_id planId ,
b.plan_id planId ,
b.name planName ,
b.name planName ,
b.start_time startTime ,
b.start_time startTime ,
b.end_time end
_t
ime ,
b.end_time end
T
ime ,
<!-- 已发送 -->
<!-- 已发送 -->
SUM(CASE a.send_status WHEN 2 THEN 1 ELSE 0 END ) sendCount,
SUM(CASE a.send_status WHEN 2 THEN 1 ELSE 0 END ) sendCount,
<!-- 待发送 -->
<!-- 待发送 -->
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/haoban/GroupChatPlanController.java
View file @
1b91c895
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
.
haoban
;
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
.
haoban
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -51,9 +52,19 @@ public class GroupChatPlanController {
...
@@ -51,9 +52,19 @@ public class GroupChatPlanController {
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setClerkId
(
clerkId
);
qdto
.
setClerkId
(
clerkId
);
ServiceResponse
<
Page
<
ChatOwnerTotalDTO
>>
page
=
this
.
groupChatPlanApiService
.
listOwnerLogPageForWxaTotal
(
qdto
,
ServiceResponse
<
Page
<
ChatOwnerTotalDTO
>>
page
Resp
=
this
.
groupChatPlanApiService
.
listOwnerLogPageForWxaTotal
(
qdto
,
basePageInfo
);
basePageInfo
);
return
RestResponse
.
successResult
(
page
.
getResult
());
Page
<
ChatOwnerTotalDTO
>
page
=
pageResp
.
getResult
()
;
if
(
null
!=
page
.
getResult
())
{
page
.
getResult
().
forEach
(
dto
->{
if
(
dto
.
getEndTime
().
before
(
new
Date
()))
{
dto
.
setPlanStatus
(
1
);
}
else
{
dto
.
setPlanStatus
(
2
);
}
});
}
return
RestResponse
.
successResult
(
page
);
}
}
@RequestMapping
(
"owner-list"
)
@RequestMapping
(
"owner-list"
)
...
...
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