
package com.lideeyunji.core.framework.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lideeyunji.core.framework.entity.EnhanceSqlEntity;

import java.util.List;

/**
 * SQL增强相关
 */
public interface IEnhanceSqlService extends IService<EnhanceSqlEntity> {

    List<EnhanceSqlEntity> getSlectList(Long dbFormId);

    //新增sql增强
    void saveEnhanceSql(EnhanceSqlEntity enhanceSqlEntity);

    //编辑sql增强
    void updateEnhanceSql(EnhanceSqlEntity enhanceSqlEntity);

    //复制
    void copy(Long sourceFormIdId,Long targetFormIdId);

    //获取所有有效的sql增强
    List<EnhanceSqlEntity> getAllSqlEnhance();

    //批量删除
    void removeByIds(List<Long> ids);
}
