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
8f27a64c
Commit
8f27a64c
authored
Dec 14, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
画布-群发
parent
46e26160
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
NoticeMessageTypeEnum.java
...om/gic/haoban/manage/api/enums/NoticeMessageTypeEnum.java
+1
-1
GroupChatPlanServiceImpl.java
...e/service/service/chat/impl/GroupChatPlanServiceImpl.java
+3
-2
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/enums/NoticeMessageTypeEnum.java
View file @
8f27a64c
...
@@ -35,7 +35,7 @@ public enum NoticeMessageTypeEnum {
...
@@ -35,7 +35,7 @@ public enum NoticeMessageTypeEnum {
CLERK_TASK_SEND_NOTICE
(
2014
,
"导购任务通知"
,
NoticeMessageCategoryTypeEnum
.
TASK
.
getType
(),
"clerk_task_send_notice"
,
"/pages/route/index?pageType="
,
"hbapp_guide_task_detail"
,
"clerk_task_send_notice"
,
"haobanNotice"
),
CLERK_TASK_SEND_NOTICE
(
2014
,
"导购任务通知"
,
NoticeMessageCategoryTypeEnum
.
TASK
.
getType
(),
"clerk_task_send_notice"
,
"/pages/route/index?pageType="
,
"hbapp_guide_task_detail"
,
"clerk_task_send_notice"
,
"haobanNotice"
),
GROUP_CHAT_PLAN
(
2015
,
"社群群发任务通知"
,
NoticeMessageCategoryTypeEnum
.
TASK
.
getType
(),
"haobanGroupChatPlan"
,
"/pages/route/index?pageType="
,
"hbapp_
guide_task_detail
"
,
"haobanGroupChatPlan"
,
"haobanNotice"
),
GROUP_CHAT_PLAN
(
2015
,
"社群群发任务通知"
,
NoticeMessageCategoryTypeEnum
.
TASK
.
getType
(),
"haobanGroupChatPlan"
,
"/pages/route/index?pageType="
,
"hbapp_
canvas_group_send
"
,
"haobanGroupChatPlan"
,
"haobanNotice"
),
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatPlanServiceImpl.java
View file @
8f27a64c
...
@@ -306,13 +306,14 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
...
@@ -306,13 +306,14 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
return
Collections
.
emptyList
()
;
return
Collections
.
emptyList
()
;
}
}
private
void
sendNotice
(
String
enterpriseId
,
String
staffId
,
String
clerkId
,
String
taskName
,
Date
endTime
)
{
private
void
sendNotice
(
String
enterpriseId
,
String
staffId
,
String
clerkId
,
String
taskName
,
Date
endTime
,
Long
ownerLogId
)
{
logger
.
info
(
"发送社群任务通知,clerkId={}"
,
clerkId
);
logger
.
info
(
"发送社群任务通知,clerkId={}"
,
clerkId
);
// 发送通知
// 发送通知
Map
<
String
,
String
>
map
=
new
HashMap
<>();
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"taskName"
,
taskName
);
map
.
put
(
"taskName"
,
taskName
);
map
.
put
(
"overTime"
,
DateUtil
.
dateToStr
(
endTime
,
"yyyy-MM-dd HH:mm:ss"
));
map
.
put
(
"overTime"
,
DateUtil
.
dateToStr
(
endTime
,
"yyyy-MM-dd HH:mm:ss"
));
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"taskId"
,
ownerLogId
)
;
int
messageType
=
NoticeMessageTypeEnum
.
GROUP_CHAT_PLAN
.
getType
();
int
messageType
=
NoticeMessageTypeEnum
.
GROUP_CHAT_PLAN
.
getType
();
NoticeMessageUtil
.
sendNoticeMessageByStaff
(
enterpriseId
,
staffId
,
clerkId
,
messageType
,
null
,
map
,
jsonObject
);
NoticeMessageUtil
.
sendNoticeMessageByStaff
(
enterpriseId
,
staffId
,
clerkId
,
messageType
,
null
,
map
,
jsonObject
);
}
}
...
@@ -424,7 +425,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
...
@@ -424,7 +425,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
String
enterpriseId
=
ownerLog
.
getEnterpriseId
()
;
String
enterpriseId
=
ownerLog
.
getEnterpriseId
()
;
String
clerkId
=
ownerLog
.
getClerkId
()
;
String
clerkId
=
ownerLog
.
getClerkId
()
;
String
staffId
=
ownerLog
.
getStaffId
()
;
String
staffId
=
ownerLog
.
getStaffId
()
;
this
.
sendNotice
(
enterpriseId
,
staffId
,
clerkId
,
plan
.
getName
(),
plan
.
getEndTime
());
this
.
sendNotice
(
enterpriseId
,
staffId
,
clerkId
,
plan
.
getName
(),
plan
.
getEndTime
()
,
ownerLog
.
getOwnerLogId
()
);
}
}
}
}
}
}
...
...
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