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
19d0d972
Commit
19d0d972
authored
Aug 20, 2021
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除冗余代码
parent
ca75f8be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
34 deletions
+0
-34
PointController.java
...amos/supervision/business/controller/PointController.java
+0
-34
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/controller/PointController.java
View file @
19d0d972
...
...
@@ -803,38 +803,4 @@ public class PointController extends AbstractBaseController {
return
CommonResponseUtil
.
success
(
iPointService
.
getRegionTress
());
}
// /**
// * 同步点
// *
// * @return
// */
// @TycloudOperation(ApiLevel = UserType.AGENCY)
// @ApiOperation(value = "机场单位同步", notes = "机场单位同步")
// @RequestMapping(value = "/teamInput", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
// public CommonResponse syncSavePoint(
// @ApiParam(value = "同步请求参数") @RequestBody OrgUsrFormDto orgUsrFormDto) {
// ReginParams reginParams = getSelectedOrgInfo();
// iPointService.syncSavePoint(orgUsrFormDto);
// return CommonResponseUtil.success();
// }
/**
* 删除巡检点
*
* @param id
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"同步删除机场单位"
,
notes
=
"同步删除机场单位"
)
@PostMapping
(
value
=
"/delete"
,
produces
=
"application/json;charset=UTF-8"
)
public
CommonResponse
deleteOwner
(
@ApiParam
(
value
=
"巡检点ID"
,
required
=
true
)
@RequestBody
Long
id
)
{
try
{
iPointService
.
delPointByPointNo
(
id
);
return
CommonResponseUtil
.
success
();
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
return
CommonResponseUtil
.
failure
(
"删除检查点失败"
);
}
}
}
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