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
abc624e2
Commit
abc624e2
authored
Jul 16, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug'29455
parent
d74cb813
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
BLessonServiceImpl.java
...oft/business/blesson/service/impl/BLessonServiceImpl.java
+8
-6
No files found.
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonServiceImpl.java
View file @
abc624e2
...
...
@@ -447,12 +447,14 @@ public class BLessonServiceImpl implements BLessonService {
String
flag
=
bMessageRepository
.
getSycnValue
(
curUser
.
getCorpId
());
//开启共享状态 编辑课程时 添加日志
if
(
LessonSycnEnum
.
OPEN
.
getCode
().
equals
(
flag
)
&&
LessonTypeEnum
.
LESSON
.
getCode
().
equals
(
model
.
getLessonType
())){
// 保存日志
bLessonLogRepository
.
insertSelective
(
BLessonLog
.
generate
(
"编辑课程"
,
model
.
getBusinessId
()));
// 同步 资源共享 更新 缓存课程 表
BPLesson
bpModel
=
new
BPLesson
();
BeanUtil
.
copyProperties
(
model
,
bpModel
);
bpLessonRepository
.
updateByPrimaryKeySelective
(
bpModel
);
// 保存日志(只有不是平台课程才可以执行下面的操作)
if
(!
"###"
.
equals
(
model
.
getCorpId
()))
{
bLessonLogRepository
.
insertSelective
(
BLessonLog
.
generate
(
"编辑课程"
,
model
.
getBusinessId
()));
// 同步 资源共享 更新 缓存课程 表
BPLesson
bpModel
=
new
BPLesson
();
BeanUtil
.
copyProperties
(
model
,
bpModel
);
bpLessonRepository
.
updateByPrimaryKeySelective
(
bpModel
);
}
}
}
//若培训结束时间改变 修改学生签到状态
...
...
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