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
fdc1ebdc
Commit
fdc1ebdc
authored
Nov 22, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加删除
parent
16210dee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
TdcDrawingController.java
.../boot/module/tdc/biz/controller/TdcDrawingController.java
+6
-2
No files found.
amos-boot-system-tdc/amos-boot-module-tdc-biz/src/main/java/com/yeejoin/amos/boot/module/tdc/biz/controller/TdcDrawingController.java
View file @
fdc1ebdc
...
...
@@ -47,6 +47,7 @@ public class TdcDrawingController extends BaseController {
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增"
,
notes
=
"新增"
)
public
boolean
saveTdcDrawing
(
HttpServletRequest
request
,
@RequestBody
TdcDrawing
tdcDrawing
)
{
...
...
@@ -59,10 +60,11 @@ public class TdcDrawingController extends BaseController {
* @param id
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
return
iTdcDrawingService
.
removeById
(
id
);
public
ResponseModel
<
Boolean
>
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
return
ResponseHelper
.
buildResponse
(
iTdcDrawingService
.
removeById
(
id
)
);
}
...
...
@@ -71,6 +73,7 @@ public class TdcDrawingController extends BaseController {
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改"
,
notes
=
"修改"
)
public
boolean
updateByIdTdcDrawing
(
HttpServletRequest
request
,
@RequestBody
TdcDrawing
tdcDrawing
)
{
...
...
@@ -84,6 +87,7 @@ public class TdcDrawingController extends BaseController {
* @param id
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
TdcDrawing
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
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