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
1d10e803
Commit
1d10e803
authored
Dec 18, 2019
by
zhangqingle
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/meiteng' into zql
# Conflicts: # sql/edu_modify_table.sql
parents
3e91105d
335fe624
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
BLessonPersonServiceImpl.java
...siness/blesson/service/impl/BLessonPersonServiceImpl.java
+2
-2
No files found.
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonPersonServiceImpl.java
View file @
1d10e803
...
...
@@ -330,7 +330,7 @@ public class BLessonPersonServiceImpl implements BLessonPersonService {
//扣除对应积分 添加用户积分详情 更新用户积分
//增加用户积分详情
if
(
bLesson
.
getValueConsume
()
!=
null
&&
!
"0"
.
equals
(
bLesson
.
getValueConsume
())
&&
!(
curUser
.
getUserId
().
equals
(
bLesson
.
getLecturerId
()))){
BPersonValue
bPersonValue
=
new
BPersonValue
(
curUser
.
getUserId
(),
"学
完
!@#课程"
,
bLesson
.
getValueConsume
(),
"1"
,
bLesson
.
getBusinessId
());
BPersonValue
bPersonValue
=
new
BPersonValue
(
curUser
.
getUserId
(),
"学
习
!@#课程"
,
bLesson
.
getValueConsume
(),
"1"
,
bLesson
.
getBusinessId
());
bLessonServiceImpl
.
addValueEvent
(
curUser
.
getUserId
(),
bPersonValue
,
userInfo
.
getLockNum
());
}
bLessonRepository
.
personNumberReCount
(
lessonAndUserDTO
.
getLessonId
(),
"0"
);
...
...
@@ -348,7 +348,7 @@ public class BLessonPersonServiceImpl implements BLessonPersonService {
//增加用户积分详情
//积分变化后 s_user表中value字段重新统计
if
(
bLesson
.
getValueConsume
()
!=
null
&&
!
"0"
.
equals
(
bLesson
.
getValueConsume
())
&&
!(
curUser
.
getUserId
().
equals
(
bLesson
.
getLecturerId
()))){
BPersonValue
bPersonValue
=
new
BPersonValue
(
curUser
.
getUserId
(),
"学
完
!@#课程"
,
bLesson
.
getValueConsume
(),
"1"
,
bLesson
.
getBusinessId
());
BPersonValue
bPersonValue
=
new
BPersonValue
(
curUser
.
getUserId
(),
"学
习
!@#课程"
,
bLesson
.
getValueConsume
(),
"1"
,
bLesson
.
getBusinessId
());
bLessonServiceImpl
.
addValueEvent
(
curUser
.
getUserId
(),
bPersonValue
,
userInfo
.
getLockNum
());
}
//重新统计在学人数
...
...
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