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
d967afe9
Commit
d967afe9
authored
Jul 20, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提示信息
parent
1bd83911
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
BChapterServiceImpl.java
...t/business/bchapter/service/impl/BChapterServiceImpl.java
+1
-1
BLessonServiceImpl.java
...oft/business/blesson/service/impl/BLessonServiceImpl.java
+1
-1
BMessage.java
...n/java/org/rcisoft/business/bmessage/entity/BMessage.java
+2
-0
No files found.
src/main/java/org/rcisoft/business/bchapter/service/impl/BChapterServiceImpl.java
View file @
d967afe9
...
...
@@ -595,7 +595,7 @@ public class BChapterServiceImpl implements BChapterService {
if
(
ReleaseStateEnum
.
RELEASED
.
getCode
().
equals
(
bLesson
.
getReleaseState
())
||
ReleaseStateEnum
.
CLOSED
.
getCode
().
equals
(
bLesson
.
getReleaseState
()))
{
// 保存日志
bLessonLogRepository
.
insertSelective
(
BLessonLog
.
generate
(
"修改课程"
,
model
.
getLessonId
()));
bLessonLogRepository
.
insertSelective
(
BLessonLog
.
generate
(
"修改课程
内容
"
,
model
.
getLessonId
()));
//开启共享状态 编辑课程时 同步
if
(
LessonSycnEnum
.
OPEN
.
getCode
().
equals
(
flag
))
{
// 同步 资源共享 更新 缓存章节 文件 两个表(未发布的课程 之前不会被同步到缓存表中)
...
...
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonServiceImpl.java
View file @
d967afe9
...
...
@@ -451,7 +451,7 @@ public class BLessonServiceImpl implements BLessonService {
if
(
LessonSycnEnum
.
OPEN
.
getCode
().
equals
(
flag
)
&&
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
model
.
getLessonType
())){
// 保存日志(只有不是平台课程才可以执行下面的操作)
if
(!
"###"
.
equals
(
model
.
getCorpId
()))
{
bLessonLogRepository
.
insertSelective
(
BLessonLog
.
generate
(
"编辑课程"
,
model
.
getBusinessId
()));
bLessonLogRepository
.
insertSelective
(
BLessonLog
.
generate
(
"编辑课程
基本信息
"
,
model
.
getBusinessId
()));
// 同步 资源共享 更新 缓存课程 表
BPLesson
bpModel
=
new
BPLesson
();
BeanUtil
.
copyProperties
(
model
,
bpModel
);
...
...
src/main/java/org/rcisoft/business/bmessage/entity/BMessage.java
View file @
d967afe9
...
...
@@ -2,6 +2,7 @@ package org.rcisoft.business.bmessage.entity;
import
lombok.*
;
import
org.hibernate.validator.constraints.Length
;
import
org.rcisoft.core.entity.IdEntity
;
import
javax.persistence.*
;
import
java.math.BigDecimal
;
...
...
@@ -24,6 +25,7 @@ public class BMessage extends IdEntity<BMessage> {
private
String
name
;
@Length
(
min
=
0
,
max
=
5
,
message
=
"长度最小为1,最大为50"
)
private
String
timeValue
;
private
String
valueType
;
...
...
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