package com.xunmei.core.resumption.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xunmei.common.core.web.page.TableDataInfo;
import com.xunmei.core.resumption.domain.AppRuleItem;
import com.xunmei.core.resumption.dto.appRuleItem.AppRuleItemDetailDto;
import com.xunmei.core.resumption.dto.appRuleItem.AppRuleItemDto;
import com.xunmei.core.resumption.dto.appRuleItem.AppRuleItemPageDto;
import com.xunmei.core.resumption.dto.appRuleItem.AppRulePointSelectPageDto;
import com.xunmei.core.resumption.vo.appRuleItem.RuleTreeItem;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jingyuanchao
 * @since 2022-04-27
 */
public interface IAppRuleItemService extends IService<AppRuleItem> {

    long edit(AppRuleItemDto appRuleItemDto);

    TableDataInfo pageQuery(AppRuleItemPageDto itemPageDto);

    AppRuleItemDetailDto findOne(Long id);

    boolean del(Long id);

    List<RuleTreeItem> getRuleTree(Long orgId);

    /**
     * 获取履职内容选择框的翻页列表
     * @param dto
     * @return
     */
    TableDataInfo pointSelectionPage(AppRulePointSelectPageDto dto);
//    SysDictListDto dict();

//    List<SecBookDtInstDto> dataType();

//    List<AreaListVo> selectCheckAreaList();


//    JsonResponse<?> checkRepeat(AppRuleItemCheckDto checkDto);

}
