package com.hai.service;

import com.hai.entity.SecConfig;

/**
 * @ClassName SecConfigService.java
 * @author Sum1Dream
 * @version 1.0.0
 * @Description //TODO
 * @createTime 17:29 2021/6/23
 **/
public interface SecConfigService {

    /**
     * @ClassName SecConfigService.java
     * @author Sum1Dream
     * @version 1.0.0
     * @Description //TODO
     * @createTime 17:30 2021/6/23
     **/
    SecConfig findById(Integer id);

    /**
     * @ClassName SecConfigService.java
     * @author Sum1Dream
     * @version 1.0.0
     * @Description //TODO
     * @createTime 17:31 2021/6/23
     **/
    void updateSecConfig(SecConfig secConfig);

    /**
     * @ClassName SecConfigService.java
     * @author Sum1Dream
     * @version 1.0.0
     * @Description //TODO
     * @createTime 17:36 2021/6/23
     **/
    SecConfig findByCodeType(String codeType);

    Boolean isConfig(String codeType , String codeValue);

}
