Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
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
王衍超
cloud-fb
Commits
1dac949b
Commit
1dac949b
authored
Mar 30, 2021
by
王衍超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.beecode.cn:kunlun/xyst_dinas/xyst_dinas_backend into develop
parents
9aacd81a
699370a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ProjectFiledController.java
...va/com/xyst/dinas/project/web/ProjectFiledController.java
+2
-2
No files found.
backend/xyst.dinas.project/src/main/java/com/xyst/dinas/project/web/ProjectFiledController.java
View file @
1dac949b
...
@@ -36,8 +36,8 @@ public class ProjectFiledController {
...
@@ -36,8 +36,8 @@ public class ProjectFiledController {
public
Object
verifyName
(
@RequestParam
(
"name"
)
String
name
)
{
public
Object
verifyName
(
@RequestParam
(
"name"
)
String
name
)
{
Boolean
flag
=
projectFiledService
.
verifyName
(
name
);
Boolean
flag
=
projectFiledService
.
verifyName
(
name
);
if
(
flag
)
{
if
(
flag
)
{
throw
new
BusinessException
(
ProjectErrorCodeEnum
.
PROJECT_NAME_REPEATED
);
//
throw new BusinessException(ProjectErrorCodeEnum.PROJECT_NAME_REPEATED);
//
return ResponseObj.error("该项目已存在,请重新确认");
return
ResponseObj
.
error
(
"该项目已存在,请重新确认"
);
}
}
return
null
;
return
null
;
}
}
...
...
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