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
326afd17
Commit
326afd17
authored
Dec 14, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询
parent
c3779a53
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletions
+15
-1
GroupChatPlanSearchQDTO.java
...ban/manage/api/dto/qdto/chat/GroupChatPlanSearchQDTO.java
+1
-1
GroupChatPlanServiceImpl.java
...e/service/service/chat/impl/GroupChatPlanServiceImpl.java
+1
-0
GroupChatPlanLogMapper.xml
...src/main/resources/mapper/chat/GroupChatPlanLogMapper.xml
+13
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/qdto/chat/GroupChatPlanSearchQDTO.java
View file @
326afd17
...
...
@@ -15,7 +15,7 @@ public class GroupChatPlanSearchQDTO implements Serializable {
private
String
searchParams
;
// 1进行中、2未开始、3已结束
private
Integer
status
;
// 群主 1待发送 2已发送
// 群主
0发送失败
1待发送 2已发送
private
Integer
sendStatus
;
// 群名称
private
String
chatName
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatPlanServiceImpl.java
View file @
326afd17
...
...
@@ -273,6 +273,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
for
(
QywxSendMessageResultDTO
item
:
list
)
{
TabGroupChatPlanLog
entity
=
new
TabGroupChatPlanLog
();
// 企微返回成功
// 0-未发送 1-已发送 2-因客户不是好友导致发送失败 3-因客户已经收到其他群发消息导致发送失败
if
(
item
.
getStatus
()
==
1
)
{
sendCount
++;
// 已发送
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanLogMapper.xml
View file @
326afd17
...
...
@@ -83,5 +83,17 @@
<if
test=
"null != ownLogId"
>
and a.own_log_id = #{ownLogId}
</if>
<if
test=
"null != searchParams and ''!=searchParams"
>
and c.staff_name like '%${searchParams}%'
</if>
<if
test=
"null !=chatName and '' !=chatName"
>
and (d.name like '%${chatName}%' or d.wx_chat_id like '%${chatName}%')
</if>
<if
test=
"null !=sendStatus"
>
and a.send_status = #{sendStatus}
</if>
<if
test=
"null != startDate"
>
and a.create_time
<![CDATA[>=]]>
#{startDate} and a.create_time
<![CDATA[<=]]>
#{endDate}
</if>
</select>
</mapper>
\ No newline at end of file
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