package org.nl.system.service.coderule;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.nl.common.domain.query.PageQuery;
import org.nl.system.service.coderule.dao.SysCodeRuleDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import org.nl.system.service.coderule.dto.CodeRuleDetailQuery;
import org.springframework.data.domain.Pageable;

import java.util.Map;

/**
 * <p>
 * 编码规则明细表 服务类
 * </p>
 *
 * @author generator
 * @since 2022-12-20
 */
public interface ISysCodeRuleDetailService extends IService<SysCodeRuleDetail> {

    IPage<SysCodeRuleDetail> queryAll(CodeRuleDetailQuery form, PageQuery pageable);

    void create(SysCodeRuleDetail codeRuleDetail);

    /**
     * 根据id删除
     * @param id
     */
    void delete(String id);

    /**
     * 修改明细
     * @param json
     */
    void update(SysCodeRuleDetail json);
}
