package com.lideeyunji.core.framework.config.aspect.enhance.strategy.sql;

import com.lideeyunji.core.framework.config.aspect.enhance.model.EnhanceContext;
import com.lideeyunji.core.framework.entity.EnhanceSqlEntity;

import java.util.Map;

/**
 * 导入策略
 */
public class ImportEnhanceSqlStrategy extends BaseEnhanceSqlStrategy implements EnhanceSqlStrategy {

    @Override
    public void execute(EnhanceContext context, EnhanceSqlEntity enhanceSqlEntity) {
        Map<String, Object> paramMap = context.getParam().getParams();

        super.executeSql(enhanceSqlEntity.getExecuteSql(), paramMap);
    }

}
