| | |
| | | insert.setRemark(category.getRemark()); |
| | | insert.setStatus(Constants.ZERO); |
| | | insert.setSortnum(category.getSortnum()); |
| | | insert.setBizType(category.getBizType()); |
| | | insert.setImgurl(category.getImgurl()); |
| | | insert.setType(category.getType()); |
| | | insert.setParentId(category.getParentId()); |
| | |
| | | } |
| | | @Override |
| | | public List<Category> findChileList(Category model) { |
| | | if(Objects.isNull(model)){ |
| | | model = new Category(); |
| | | } |
| | | model.setIsdeleted(Constants.ZERO); |
| | | List<Category> list =findList(model); |
| | | List<Category> data = new ArrayList<>(); |
| | | if(list!=null){ |
| | |
| | | category.setGroupName( category.getParentName()+"/"+category.getName()); |
| | | data.add(category); |
| | | } |
| | | }else{ |
| | | data.add(category); |
| | | } |
| | | } |
| | | } |