Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
02686312
Commit
02686312
authored
Jul 17, 2023
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据projectId查询 项目基本信息
parent
fcb8c653
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
ProjectController.java
...mos/boot/module/ugp/biz/controller/ProjectController.java
+23
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/ProjectController.java
View file @
02686312
...
...
@@ -802,5 +802,28 @@ public class ProjectController extends BaseController {
public
ResponseModel
<
ProjectDto
>
getProject
(
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
projectServiceImpl
.
selectById
(
sequenceNbr
));
}
/**
* 根据projectId查询 项目基本信息
* @param projectId
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据projectId查询项目基本信息"
,
notes
=
"根据projectId查询项目基本信息"
)
@GetMapping
(
value
=
"/getFollow"
)
public
ResponseModel
<
Object
>
getFollow
(
@RequestParam
(
"projectId"
)
Long
projectId
){
if
(
ValidationUtil
.
isEmpty
(
projectServiceImpl
.
getById
(
projectId
))){
InstallNotice
installNotice
=
iInstallNoticeService
.
getById
(
projectId
);
if
(!
ValidationUtil
.
isEmpty
(
installNotice
)){
projectId
=
installNotice
.
getProjectId
();
}
}
//项目基本信息
JSONObject
jsonObject
=
(
JSONObject
)
JSONObject
.
toJSON
(
projectServiceImpl
.
selectById
(
projectId
));
return
ResponseHelper
.
buildResponse
(
jsonObject
);
}
}
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