Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
V
volunteer_service
Project
Project
Details
Activity
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
licc
volunteer_service
Commits
404aa6a1
Commit
404aa6a1
authored
Feb 26, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改个人信息编辑2
parent
e6ffa7e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
ProfessionServiceImpl.java
.../cn/wisenergy/service/app/impl/ProfessionServiceImpl.java
+1
-1
UserServiceImpl.java
...n/java/cn/wisenergy/service/app/impl/UserServiceImpl.java
+2
-3
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/ProfessionServiceImpl.java
View file @
404aa6a1
...
@@ -99,7 +99,7 @@ public class ProfessionServiceImpl extends ServiceImpl<ProfessionMapper, Profess
...
@@ -99,7 +99,7 @@ public class ProfessionServiceImpl extends ServiceImpl<ProfessionMapper, Profess
private
Integer
getSchemeType
(
Integer
type
,
Integer
userId
)
{
private
Integer
getSchemeType
(
Integer
type
,
Integer
userId
)
{
//获取用户成绩
//获取用户成绩
ScoreInfo
scoreInfo
=
scoreInfoMapper
.
getById
(
userId
);
ScoreInfo
scoreInfo
=
scoreInfoMapper
.
getBy
User
Id
(
userId
);
if
(
null
==
scoreInfo
)
{
if
(
null
==
scoreInfo
)
{
return
null
;
return
null
;
}
}
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/UserServiceImpl.java
View file @
404aa6a1
...
@@ -164,15 +164,14 @@ public class UserServiceImpl extends ServiceImpl<UsersMapper, User> implements U
...
@@ -164,15 +164,14 @@ public class UserServiceImpl extends ServiceImpl<UsersMapper, User> implements U
user
.
setSource
(
userInfo
.
getSource
());
user
.
setSource
(
userInfo
.
getSource
());
//3、要提交的用户的成绩信息
//3、要提交的用户的成绩信息
ScoreInfo
score
=
scoreInfoMapper
.
getByUserId
(
user
.
getId
()
);
ScoreInfo
score
Info
=
userInfo
.
getScoreInfo
(
);
//检查副科
//检查副科
R
<
Boolean
>
checkScore
=
volunteerManager
.
checkScore
(
score
);
R
<
Boolean
>
checkScore
=
volunteerManager
.
checkScore
(
score
Info
);
if
(
null
!=
checkScore
&&
checkScore
.
getCode
()
==
ERROR_CODE
)
{
if
(
null
!=
checkScore
&&
checkScore
.
getCode
()
==
ERROR_CODE
)
{
return
R
.
error
(
checkScore
.
getMessage
());
return
R
.
error
(
checkScore
.
getMessage
());
}
}
ScoreInfo
scoreInfo
=
userInfo
.
getScoreInfo
();
ScoreInfo
flagStatus
=
scoreInfoMapper
.
getByUserId
(
user
.
getId
());
ScoreInfo
flagStatus
=
scoreInfoMapper
.
getByUserId
(
user
.
getId
());
int
flag
;
int
flag
;
if
(
null
==
flagStatus
)
{
if
(
null
==
flagStatus
)
{
...
...
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