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
8270c357
Commit
8270c357
authored
Jul 21, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改外链新增逻辑
parent
4e4087d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
BExternalLinkServiceImpl.java
.../bexternallink/service/impl/BExternalLinkServiceImpl.java
+1
-1
No files found.
src/main/java/org/rcisoft/business/bexternallink/service/impl/BExternalLinkServiceImpl.java
View file @
8270c357
...
...
@@ -79,7 +79,7 @@ public class BExternalLinkServiceImpl implements BExternalLinkService {
UserUtil
.
setCurrentPersistOperation
(
bExternalLink
);
//查询外链是否大于等于10个,大于等于十个不允许添加
int
countBanner
=
bExternalLinkRepository
.
selectCountExternalLink
(
bExternalLink
.
getCorpId
());
if
(
countBanner
>=
1
0
){
if
(
countBanner
>=
1
5
){
throw
new
ServiceException
(
ResultServiceEnums
.
NOT_MORE_COUNT
);
}
//查询最大排序值+1后放入外链中
...
...
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