package com.dcsoft.system.face.service;

import com.dcsoft.system.face.domain.FaceRule;

import java.util.List;

/**
 * ruleService接口
 *
 * @author nichun
 * @date 2023-04-19
 */
public interface IFaceRuleService
{
    /**
     * 查询rule
     *
     * @param ftrx rule主键
     * @return rule
     */
    public FaceRule selectFaceRuleByFtrx(String ftrx);

    /**
     * 查询rule列表
     *
     * @param faceRule rule
     * @return rule集合
     */
    public List<FaceRule> selectFaceRuleList(FaceRule faceRule);

    /**
     * 新增rule
     *
     * @param faceRule rule
     * @return 结果
     */
    public int insertFaceRule(FaceRule faceRule);

    /**
     * 修改rule
     *
     * @param faceRule rule
     * @return 结果
     */
    public int updateFaceRule(FaceRule faceRule);

    /**
     * 批量删除rule
     *
     * @param ftrxs 需要删除的rule主键集合
     * @return 结果
     */
    public int deleteFaceRuleByFtrxs(String[] ftrxs);

    /**
     * 删除rule信息
     *
     * @param ftrx rule主键
     * @return 结果
     */
    public int deleteFaceRuleByFtrx();
}
