liusheng
7 天以前 bd6c66c1a161e9f0fe94b94bed7935b2bde541f2
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/ServiceOutPathController.java
@@ -50,13 +50,15 @@
     */
    @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);
    }