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
b1da7d55
Commit
b1da7d55
authored
Jan 16, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
培训无讲师异常
parent
b6e29372
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
BDiscussServiceImpl.java
...t/business/bdiscuss/service/impl/BDiscussServiceImpl.java
+3
-0
ResultServiceEnums.java
...main/java/org/rcisoft/core/result/ResultServiceEnums.java
+1
-0
No files found.
src/main/java/org/rcisoft/business/bdiscuss/service/impl/BDiscussServiceImpl.java
View file @
b1da7d55
...
...
@@ -136,6 +136,9 @@ public class BDiscussServiceImpl implements BDiscussService {
if
(
bLesson
==
null
){
throw
new
ServiceException
(
ResultServiceEnums
.
LESSON_NOT_EXISTA
);
}
if
(
StringUtils
.
isEmpty
(
bLesson
.
getLecturerId
())){
throw
new
ServiceException
(
ResultServiceEnums
.
NO_LECTURE
);
}
bNotice
.
setRecipientIds
(
new
ArrayList
<>(
Arrays
.
asList
(
bLesson
.
getLecturerId
())));
String
lessonType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
"线上课程"
:
"线下培训"
;
String
urlType
=
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
bLesson
.
getLessonType
())
?
UrlTypeEnum
.
LESSON
.
getName
()
:
UrlTypeEnum
.
TRAIN
.
getName
();
...
...
src/main/java/org/rcisoft/core/result/ResultServiceEnums.java
View file @
b1da7d55
...
...
@@ -260,6 +260,7 @@ public enum ResultServiceEnums {
VALUE_HAVE_ERROR
(
160
,
"积分异常,请联系管理员"
),
NOT_DOWNLOAD_FILE
(
161
,
"无下载文件"
),
ZHIXIN_ERROR
(
162
,
"调用智信接口异常"
),
NO_LECTURE
(
163
,
"当前培训无讲师"
),
;
private
Integer
code
;
...
...
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