MrShi
2025-08-19 ff087240b3dee29ce4e14ad0836e76b9fdf312cf
server/src/main/java/com/doumee/service/business/CategoryService.java
@@ -3,6 +3,10 @@
import com.doumee.core.model.PageData;
import com.doumee.core.model.PageWrap;
import com.doumee.dao.business.model.Category;
import com.doumee.dao.business.vo.CategoryDcaProblemDto;
import com.doumee.dao.web.vo.CategoryVO;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;
/**
@@ -95,5 +99,22 @@
     */
    long count(Category category);
    /**
     * 获取分类树
     * @param categoryType
     * @return
     */
    List<CategoryVO>  getCategoryVOTree(String categoryType,Integer categoryId);
    List<CategoryDcaProblemDto>  findListForDca(Category category);
    List<CategoryVO>  getCategoryVOList(Integer categoryType,Integer isRoot);
    List<CategoryVO>  getCategoryVOForGCXTree(Integer categoryId);
    List<Category> treeList(Category param );
    String importDcaBatch(MultipartFile file);
    String initRedis();
    void dealjson();
}