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
9f5d8d7a
Commit
9f5d8d7a
authored
Nov 26, 2019
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口
parent
76c5764b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
2 deletions
+9
-2
BChapterServiceImpl.java
...t/business/bchapter/service/impl/BChapterServiceImpl.java
+1
-1
BPersonValueServiceImpl.java
...ss/bpersonvalue/service/impl/BPersonValueServiceImpl.java
+4
-0
BReleaseValueServiceImpl.java
.../breleasevalue/service/impl/BReleaseValueServiceImpl.java
+3
-0
ContactFeignClient.java
...g/rcisoft/common/util/feignClient/ContactFeignClient.java
+0
-1
ResultServiceEnums.java
...main/java/org/rcisoft/core/result/ResultServiceEnums.java
+1
-0
No files found.
src/main/java/org/rcisoft/business/bchapter/service/impl/BChapterServiceImpl.java
View file @
9f5d8d7a
...
...
@@ -238,7 +238,7 @@ public class BChapterServiceImpl implements BChapterService {
int
line
=
0
;
BFile
bFile
=
new
BFile
();
BChapter
model
=
new
BChapter
();
if
(
(
chapterDTO
.
getChapterLevel
()
==
2
&&
(
dto
.
getFileSize
()==
null
||
""
.
equals
(
dto
.
getFileSize
()
)))){
if
(
chapterDTO
.
getChapterLevel
()
==
2
&&
(
dto
.
getFileSize
()==
null
||
""
.
equals
(
dto
.
getFileSize
(
)))){
throw
new
ServiceException
(
ResultServiceEnums
.
FILE_NOT_NULL
);
}
...
...
src/main/java/org/rcisoft/business/bpersonvalue/service/impl/BPersonValueServiceImpl.java
View file @
9f5d8d7a
...
...
@@ -55,6 +55,10 @@ public class BPersonValueServiceImpl implements BPersonValueService {
BeanUtils
.
copyProperties
(
personValueDto
,
bPersonValue
);
UserUtil
.
setCurrentPersistOperation
(
bPersonValue
);
if
(
personValueDto
.
getValue
()==
null
||
""
.
equals
(
personValueDto
.
getValue
())){
throw
new
ServiceException
(
ResultServiceEnums
.
VALUE_NOT_NULL
);
}
if
(
"0"
.
equals
(
personValueDto
.
getType
())){
bPersonValue
.
setEvent
(
"积分发放"
);
}
else
if
(
"1"
.
equals
(
personValueDto
.
getType
())){
...
...
src/main/java/org/rcisoft/business/breleasevalue/service/impl/BReleaseValueServiceImpl.java
View file @
9f5d8d7a
...
...
@@ -150,6 +150,9 @@ public class BReleaseValueServiceImpl implements BReleaseValueService {
@Override
public
PersistModel
updateLessonValue
(
String
businessId
,
String
valueConsume
,
String
valueGain
)
{
if
(
valueConsume
==
null
||
""
.
equals
(
valueConsume
)
||
valueGain
==
null
||
""
.
equals
(
valueGain
)){
throw
new
ServiceException
(
ResultServiceEnums
.
VALUE_NOT_NULL
);
}
int
line
=
bReleaseValueRepository
.
updateLessonValue
(
businessId
,
valueConsume
,
valueGain
);
return
new
PersistModel
(
line
);
}
...
...
src/main/java/org/rcisoft/common/util/feignClient/ContactFeignClient.java
View file @
9f5d8d7a
...
...
@@ -233,7 +233,6 @@ public interface ContactFeignClient {
/**
* 根据部门ids 获取部门及子部门多有人员id(未去重)
* 获取的id与s_suer中businessId不匹配 需使用accountId 查询出 businessId
*/
@RequestMapping
(
value
=
"/user/get_sub_userIds_by_dept_ids"
,
method
=
RequestMethod
.
POST
)
Ret
<
List
<
String
>>
getSubUserIdsByDeptIds
(
@RequestBody
GetSubUserIdsByDeptIdsReqDTO
getSubUserIdsByDeptIdsReqDTO
,
...
...
src/main/java/org/rcisoft/core/result/ResultServiceEnums.java
View file @
9f5d8d7a
...
...
@@ -249,6 +249,7 @@ public enum ResultServiceEnums {
LEARN_LESSON_NOT_EXISTS
(
149
,
"未学习该课程"
),
NOT_SIGN_DATE
(
150
,
"当前时间不在签到时间范围内"
),
FILE_NOT_NULL
(
151
,
"文件内容不能为空"
),
VALUE_NOT_NULL
(
152
,
"积分不能为空"
),
;
private
Integer
code
;
...
...
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