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
0b325c73
Commit
0b325c73
authored
Dec 05, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
社群群发
parent
4bc9ccc9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
GroupChatSearchQDTO.java
.../haoban/manage/api/dto/qdto/chat/GroupChatSearchQDTO.java
+12
-1
GroupChatPlanServiceImpl.java
...e/service/service/chat/impl/GroupChatPlanServiceImpl.java
+3
-1
GroupChatMapper.xml
...ervice/src/main/resources/mapper/chat/GroupChatMapper.xml
+5
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/qdto/chat/GroupChatSearchQDTO.java
View file @
0b325c73
...
...
@@ -37,7 +37,18 @@ public class GroupChatSearchQDTO extends PageQo implements Serializable {
private
Integer
canUseFlag
;
private
String
wxChatId
;
private
String
searchPage
;
// 查询放弃群的过滤时间
private
Date
giveUpStartTime
;
public
Date
getGiveUpStartTime
()
{
return
giveUpStartTime
;
}
public
void
setGiveUpStartTime
(
Date
giveUpStartTime
)
{
this
.
giveUpStartTime
=
giveUpStartTime
;
}
public
String
getSearchPage
()
{
return
searchPage
;
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatPlanServiceImpl.java
View file @
0b325c73
...
...
@@ -533,9 +533,10 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
List
<
TabGroupChatPlanLog
>
addList
=
new
ArrayList
<>();
boolean
endFlag
=
false
;
List
<
Long
>
doneGroupChatIdList
=
new
ArrayList
<>()
;
Date
sendTime
=
null
;
for
(
QywxSendMessageResultDTO
item
:
list
)
{
TabGroupChatPlanLog
entity
=
new
TabGroupChatPlanLog
();
Date
sendTime
=
item
.
getSendTime
();
sendTime
=
item
.
getSendTime
();
String
wxChatId
=
item
.
getChatId
();
// 如果企微的发送时间晚于计划的结束时间,不记录此类数据
if
(
sendTime
.
after
(
plan
.
getEndTime
()))
{
...
...
@@ -581,6 +582,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
chatQDTO
.
setStaffId
(
staffId
);
chatQDTO
.
setStatus
(
0
);
chatQDTO
.
setGicFlag
(
1
);
chatQDTO
.
setGiveUpStartTime
(
sendTime
);
List
<
GroupChatDTO
>
groupChatDTOList
=
this
.
groupChatMapper
.
list
(
chatQDTO
);
if
(
CollectionUtils
.
isNotEmpty
(
groupChatDTOList
))
{
for
(
GroupChatDTO
chatDTO
:
groupChatDTOList
)
{
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatMapper.xml
View file @
0b325c73
...
...
@@ -316,6 +316,11 @@
<if
test=
"null != startDate"
>
and a.chat_add_time
<![CDATA[ >=]]>
#{startDate} and a.chat_add_time
<![CDATA[ <= ]]>
#{endDate}
</if>
<if
test=
"null != giveUpStartTime"
>
and a.chat_add_time
<![CDATA[ <= ]]>
#{giveUpStartTime}
</if>
<if
test=
"null != dismissStartDate"
>
and a.chat_dissolve_time
<![CDATA[ >=]]>
#{startDate} and a.chat_dissolve_time
<![CDATA[ <= ]]>
#{endDate}
</if>
...
...
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