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
8c75a431
Commit
8c75a431
authored
Jul 16, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日志bug29369
parent
abc624e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
BLessonServiceImpl.java
...oft/business/blesson/service/impl/BLessonServiceImpl.java
+6
-2
No files found.
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonServiceImpl.java
View file @
8c75a431
...
...
@@ -439,7 +439,9 @@ public class BLessonServiceImpl implements BLessonService {
}
}
else
{
//将课程的企业信息添加到 model (用于区分平台课程)
model
.
setCorpId
(
bLessonRepository
.
selectByPrimaryKey
(
model
.
getBusinessId
()).
getCorpId
());
BLesson
tempLesson
=
bLessonRepository
.
selectByPrimaryKey
(
model
.
getBusinessId
());
model
.
setCorpId
(
tempLesson
.
getCorpId
());
model
.
setReleaseState
(
tempLesson
.
getReleaseState
());
UserUtil
.
setCurrentMergeOperation
(
model
);
line
=
bLessonRepository
.
updateByPrimaryKeySelective
(
model
);
if
(!
ReleaseStateEnum
.
UNRELEASED
.
getCode
().
equals
(
model
.
getReleaseState
())){
...
...
@@ -624,7 +626,9 @@ public class BLessonServiceImpl implements BLessonService {
bLesson
.
setDeleted
();
UserUtil
.
setCurrentMergeOperation
(
bLesson
);
// 保存日志
bLessonLogRepository
.
insertSelective
(
BLessonLog
.
generate
(
"删除课程"
,
bLesson
.
getBusinessId
()));
if
(!
"0"
.
equals
(
bLesson
.
getReleaseState
()))
{
bLessonLogRepository
.
insertSelective
(
BLessonLog
.
generate
(
"删除课程"
,
bLesson
.
getBusinessId
()));
}
//查询 当前资源共享状态
String
flag
=
bMessageRepository
.
getSycnValue
(
bLesson
.
getCorpId
());
if
(
LessonSycnEnum
.
OPEN
.
getCode
().
equals
(
flag
)){
...
...
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