package com.jisco.dynamicweight.dynamicbasematerial.mapper;

import com.jisco.dynamicweight.dynamicbasematerial.model.DynamicBaseMaterial;
import com.steerinfo.framework.mapper.IBaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DynamicBaseMaterialMapper extends IBaseMapper<DynamicBaseMaterial, String> {
    /**
     * 启用
     * @param config
     * @return
     */
    int enable(DynamicBaseMaterial config);

    /**
     * 禁用
     * @param config
     * @return
     */
    int disable(DynamicBaseMaterial config);
}