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
ec909c7e
Commit
ec909c7e
authored
Dec 26, 2022
by
DESKTOP-BQLVS7A\admin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
2a2ddf90
25093103
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
TzsCitInfoController.java
.../boot/module/tzs/biz/controller/TzsCitInfoController.java
+6
-6
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/TzsCitInfoController.java
View file @
ec909c7e
...
...
@@ -64,12 +64,12 @@ public class TzsCitInfoController extends BaseController {
@RequestMapping
(
value
=
"/{ids}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@Transactional
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
String
ids
){
public
ResponseModel
<
Boolean
>
deleteById
(
@PathVariable
String
ids
){
String
[]
idList
=
ids
.
split
(
","
);
for
(
String
id
:
idList
)
{
iTzsCitInfoService
.
removeById
(
id
);
}
return
true
;
return
ResponseHelper
.
buildResponse
(
true
)
;
}
...
...
@@ -81,8 +81,8 @@ public class TzsCitInfoController extends BaseController {
*/
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改"
,
notes
=
"修改"
)
public
boolean
updateByIdTzsCitInfo
(
HttpServletRequest
request
,
@RequestBody
TzsCitInfo
tzsCitInfo
){
return
iTzsCitInfoService
.
updateById
(
tzsCitInfo
);
public
ResponseModel
<
Boolean
>
updateByIdTzsCitInfo
(
@RequestBody
TzsCitInfo
tzsCitInfo
){
return
ResponseHelper
.
buildResponse
(
iTzsCitInfoService
.
updateById
(
tzsCitInfo
)
);
}
...
...
@@ -95,8 +95,8 @@ public class TzsCitInfoController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
TzsCitInfo
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
return
iTzsCitInfoService
.
getById
(
id
);
public
ResponseModel
<
TzsCitInfo
>
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
return
ResponseHelper
.
buildResponse
(
iTzsCitInfoService
.
getById
(
id
)
);
}
...
...
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