Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
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
李丛阳
education
Commits
3e7cc6dc
Commit
3e7cc6dc
authored
Jan 13, 2020
by
zhangqingle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改通知课程培训名不统一
parent
c9bff9d4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
BDiscussServiceImpl.java
...t/business/bdiscuss/service/impl/BDiscussServiceImpl.java
+1
-1
SendNoticeServiceImpl.java
.../business/blesson/service/impl/SendNoticeServiceImpl.java
+1
-1
MessageTask.java
src/main/java/org/rcisoft/core/task/MessageTask.java
+1
-1
No files found.
src/main/java/org/rcisoft/business/bdiscuss/service/impl/BDiscussServiceImpl.java
View file @
3e7cc6dc
...
@@ -106,7 +106,7 @@ public class BDiscussServiceImpl implements BDiscussService {
...
@@ -106,7 +106,7 @@ public class BDiscussServiceImpl implements BDiscussService {
BLesson
bLesson
=
lessonRepository
.
selectByPrimaryKey
(
bDiscuss
.
getLessonId
());
BLesson
bLesson
=
lessonRepository
.
selectByPrimaryKey
(
bDiscuss
.
getLessonId
());
String
lessonType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
"线上课程"
:
"线下培训"
;
String
lessonType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
"线上课程"
:
"线下培训"
;
String
urlType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
UrlTypeEnum
.
LESSON
.
getName
()
:
UrlTypeEnum
.
TRAIN
.
getName
();
String
urlType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
UrlTypeEnum
.
LESSON
.
getName
()
:
UrlTypeEnum
.
TRAIN
.
getName
();
bNotice
.
setInfoText
(
sysUserServiceImpl
.
getNameById
(
bDiscuss
.
getStudentId
()).
getName
()
+
"回复了您在"
+
lessonType
+
"
["
+
bLesson
.
getLessonName
()
+
"]
的评论"
);
bNotice
.
setInfoText
(
sysUserServiceImpl
.
getNameById
(
bDiscuss
.
getStudentId
()).
getName
()
+
"回复了您在"
+
lessonType
+
"
\""
+
bLesson
.
getLessonName
()
+
"\"
的评论"
);
// 发消息
// 发消息
// InfoTypeEnum.REPLY_DISCUSS.getvalue()
// InfoTypeEnum.REPLY_DISCUSS.getvalue()
client
.
send
(
bNotice
,
InfoTypeEnum
.
REPLY_DISCUSS
.
getValue
(),
MessageEnum
.
HFPL
.
getName
(),
urlType
);
client
.
send
(
bNotice
,
InfoTypeEnum
.
REPLY_DISCUSS
.
getValue
(),
MessageEnum
.
HFPL
.
getName
(),
urlType
);
...
...
src/main/java/org/rcisoft/business/blesson/service/impl/SendNoticeServiceImpl.java
View file @
3e7cc6dc
...
@@ -55,7 +55,7 @@ public class SendNoticeServiceImpl implements SendNoticeService {
...
@@ -55,7 +55,7 @@ public class SendNoticeServiceImpl implements SendNoticeService {
String
infoType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
InfoTypeEnum
.
ONLINE_LESSON
.
getValue
()
:
InfoTypeEnum
.
OFFLINE_TRAIN
.
getValue
();
String
infoType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
InfoTypeEnum
.
ONLINE_LESSON
.
getValue
()
:
InfoTypeEnum
.
OFFLINE_TRAIN
.
getValue
();
bNotice
.
setInfoType
(
infoType
);
bNotice
.
setInfoType
(
infoType
);
String
urlType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
UrlTypeEnum
.
LESSON
.
getName
()
:
UrlTypeEnum
.
TRAIN
.
getName
();
String
urlType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
UrlTypeEnum
.
LESSON
.
getName
()
:
UrlTypeEnum
.
TRAIN
.
getName
();
bNotice
.
setInfoText
(
sysUserServiceImpl
.
getNameById
(
appointLessonDTO
.
getUserId
()).
getName
()
+
"给您指派了"
+
lessonType
+
"
“"
+
bLesson
.
getLessonName
()
+
"”
,请及时学习"
);
bNotice
.
setInfoText
(
sysUserServiceImpl
.
getNameById
(
appointLessonDTO
.
getUserId
()).
getName
()
+
"给您指派了"
+
lessonType
+
"
\""
+
bLesson
.
getLessonName
()
+
"\"
,请及时学习"
);
// 往智信平台发啊消息
// 往智信平台发啊消息
client
.
send
(
bNotice
,
InfoTypeEnum
.
REPLY_DISCUSS
.
getLable
(),
type
,
urlType
);
client
.
send
(
bNotice
,
InfoTypeEnum
.
REPLY_DISCUSS
.
getLable
(),
type
,
urlType
);
}
}
...
...
src/main/java/org/rcisoft/core/task/MessageTask.java
View file @
3e7cc6dc
...
@@ -74,7 +74,7 @@ public class MessageTask {
...
@@ -74,7 +74,7 @@ public class MessageTask {
bNotice
.
setLessonId
(
bLesson
.
getBusinessId
());
bNotice
.
setLessonId
(
bLesson
.
getBusinessId
());
bNotice
.
setCorpId
(
bLesson
.
getCorpId
());
bNotice
.
setCorpId
(
bLesson
.
getCorpId
());
// 通知信息
// 通知信息
bNotice
.
setInfoText
(
"
“"
+
bLesson
.
getLessonName
()+
"”
线下培训即将开始"
);
bNotice
.
setInfoText
(
"
\""
+
bLesson
.
getLessonName
()+
"\"
线下培训即将开始"
);
// 往智信平台发啊消息
// 往智信平台发啊消息
client
.
send
(
bNotice
,
InfoTypeEnum
.
OFFLINE_TRAIN
.
getLable
(),
MessageEnum
.
PXJJKS
.
getName
(),
UrlTypeEnum
.
TRAIN
.
getName
());
client
.
send
(
bNotice
,
InfoTypeEnum
.
OFFLINE_TRAIN
.
getLable
(),
MessageEnum
.
PXJJKS
.
getName
(),
UrlTypeEnum
.
TRAIN
.
getName
());
});
});
...
...
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