| | |
| | | */ |
| | | @PostMapping("/getInfoByParam") |
| | | public AjaxResult param(@Param("param") String param) { |
| | | ServiceOutPath serviceOutPath=new ServiceOutPath(); |
| | | ServiceOutPath serviceOutPath = new ServiceOutPath(); |
| | | serviceOutPath.setRadix(param); |
| | | List<ServiceOutPath> list = serviceOutPathService.selectServiceOutPathList(serviceOutPath); |
| | | ServiceOutPath serviceOutPath1 = list.get(0); |
| | | serviceOutPath1.setId(null); |
| | | serviceOutPath1.setRadix(null); |
| | | if (CollectionUtils.isNotEmpty(list)) return success(serviceOutPath1); |
| | | if (CollectionUtils.isNotEmpty(list)) { |
| | | ServiceOutPath serviceOutPath1 = list.get(0); |
| | | serviceOutPath1.setId(null); |
| | | serviceOutPath1.setRadix(null); |
| | | return success(serviceOutPath1); |
| | | } |
| | | return success(null); |
| | | } |
| | | |