| | |
| | | obj.put("code",code.substring(0,2)); |
| | | } else if (code.substring(0,6).indexOf("00") > -1) { |
| | | obj.put("code",code.substring(0,4)); |
| | | }else if (code.substring(0,8).indexOf("00") > -1){ |
| | | obj.put("code",code.substring(0,8)); |
| | | } |
| | | List<AttAdBaseVO> list = attAdBaseService.lazyTree(parentCode, obj); |
| | | return R.data(listNodeLazyVO(list)); |
| | |
| | | obj.put("code",code.substring(0,2)); |
| | | } else if (code.substring(0,6).indexOf("00") > -1) { |
| | | obj.put("code",code.substring(0,4)); |
| | | } else if (code.substring(0,8).indexOf("00") > -1) { |
| | | obj.put("code",code.substring(0,6)); |
| | | } |
| | | } |
| | | List<AttAdBaseVO> list = attAdBaseService.lazyTreeAll(parentCode, obj); |
| | |
| | | return ForestNodeMerger.merge(list); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/getYwxtAttadBaseList") |
| | | public R getYwxtAttadBaseList(String parentId,String isYwxtRegion){ |
| | | List<AttAdBase> attAdBases = attAdBaseService.getYwxtAttadBaseList(parentId,isYwxtRegion); |
| | | return R.data(attAdBases); |
| | | } |
| | | |
| | | } |