| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("deleteTrampController") |
| | | @GetMapping("deleteTrampController") |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @SsoAop() |
| | | public BaseResponse<Boolean> deleteTrampController(Long id) { |
| | |
| | | } |
| | | |
| | | Integer rows = intakeControllerSv.deleteTrampController(id); |
| | | if (rows == 0) { |
| | | return BaseResponseUtils.buildErrorMsg(ProjectResultCode.DELETE_TRAMP_CONTROLLER_FAIL.getMessage()); |
| | | } |
| | | // if (rows == 0) { |
| | | // return BaseResponseUtils.buildErrorMsg(ProjectResultCode.DELETE_TRAMP_CONTROLLER_FAIL.getMessage()); |
| | | // } |
| | | return BaseResponseUtils.buildSuccess(true); |
| | | } |
| | | |