package com.cftech.questionnaire.core.questionscategory.service;

import com.cftech.core.generic.GenericService;
import com.cftech.core.sql.Conds;
import com.cftech.core.sql.Sort;
import com.cftech.questionnaire.core.questionscategory.model.Questionscategory;

import java.util.List;

/**
* 问卷分类Service
*
* @author Neil
* @date: 2017-05-23 13:24
*/
public interface QuestionscategoryService extends GenericService<Questionscategory> {

    List<Questionscategory> fetchSearchByPage(Long parentId, Conds conds, Sort sort, int page, int pageSize);
    List<Questionscategory> fetchTreeByPage(Conds conds, Sort sort, int page, int pageSize);

    int count(Long parentId, Conds conds);
}
