Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-service
Project
Project
Details
Activity
Releases
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
中通客车项目
zhongtong-avi-service
Commits
764886e2
Commit
764886e2
authored
Sep 24, 2019
by
夏东伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除接口URL修改
parent
960ccb8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
BasicInfoController.java
...ongtong/avi/equipment/controller/BasicInfoController.java
+8
-8
No files found.
src/main/java/net/vtstar/zhongtong/avi/equipment/controller/BasicInfoController.java
View file @
764886e2
...
@@ -63,10 +63,10 @@ public class BasicInfoController {
...
@@ -63,10 +63,10 @@ public class BasicInfoController {
}
}
@ApiOperation
(
"删除设备(根据id删除单个)"
)
@ApiOperation
(
"删除设备(根据id删除单个)"
)
@DeleteMapping
(
"/equipDelete"
)
@DeleteMapping
(
"/equipDelete
/{equipId}
"
)
public
Return
deleteEquip
(
@
RequestParam
Long
i
d
)
{
public
Return
deleteEquip
(
@
PathVariable
(
"equipId"
)
Long
equipI
d
)
{
Assert
.
notNull
(
i
d
,
"Id is null"
);
Assert
.
notNull
(
equipI
d
,
"Id is null"
);
basicInfoService
.
deleteEquipById
(
i
d
);
basicInfoService
.
deleteEquipById
(
equipI
d
);
return
Return
.
success
();
return
Return
.
success
();
}
}
...
@@ -105,10 +105,10 @@ public class BasicInfoController {
...
@@ -105,10 +105,10 @@ public class BasicInfoController {
}
}
@ApiOperation
(
"删除工位(根据id删除单个)"
)
@ApiOperation
(
"删除工位(根据id删除单个)"
)
@DeleteMapping
(
"/stationDelete"
)
@DeleteMapping
(
"/stationDelete
/{stationId}
"
)
public
Return
deleteStation
(
@
RequestParam
Long
i
d
)
{
public
Return
deleteStation
(
@
PathVariable
(
"stationId"
)
Long
stationI
d
)
{
Assert
.
notNull
(
i
d
,
"Id is null"
);
Assert
.
notNull
(
stationI
d
,
"Id is null"
);
basicInfoService
.
deleteStationById
(
i
d
);
basicInfoService
.
deleteStationById
(
stationI
d
);
return
Return
.
success
();
return
Return
.
success
();
}
}
}
}
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