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
88f46578
Commit
88f46578
authored
Aug 11, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口返回标准
parent
1a753e8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TzBaseEnterpriseInfoController.java
...le/tzs/biz/controller/TzBaseEnterpriseInfoController.java
+4
-4
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/TzBaseEnterpriseInfoController.java
View file @
88f46578
...
...
@@ -85,8 +85,8 @@ public class TzBaseEnterpriseInfoController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
TzBaseEnterpriseInfo
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
return
iTzBaseEnterpriseInfoService
.
getById
(
id
);
public
ResponseModel
<
TzBaseEnterpriseInfo
>
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
return
ResponseHelper
.
buildResponse
(
iTzBaseEnterpriseInfoService
.
getById
(
id
)
);
}
...
...
@@ -98,7 +98,7 @@ public class TzBaseEnterpriseInfoController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
TzBaseEnterpriseInfo
>
listPage
(
String
pageNum
,
String
pageSize
,
public
ResponseModel
<
IPage
<
TzBaseEnterpriseInfo
>
>
listPage
(
String
pageNum
,
String
pageSize
,
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
){
Page
<
TzBaseEnterpriseInfo
>
pageBean
;
...
...
@@ -135,7 +135,7 @@ public class TzBaseEnterpriseInfoController {
pageBean
=
new
Page
<>(
Integer
.
parseInt
(
pageNum
),
Integer
.
parseInt
(
pageSize
));
}
page
=
iTzBaseEnterpriseInfoService
.
page
(
pageBean
,
tzBaseEnterpriseInfoQueryWrapper
);
return
page
;
return
ResponseHelper
.
buildResponse
(
page
)
;
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
...
...
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