package org.jeecg.modules.dataVue.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.dataVue.entity.Mock;
import org.springframework.jdbc.core.JdbcTemplate;

import java.util.List;
import java.util.Map;

// For simple sql
// TODO:  应该增加 sql注入检测
public interface IServiceExtend  extends IService<Mock> {


    public List<Map<String, Object>> querySql(String sql, JdbcTemplate jdbcTemplate);

    public int querySqlCount(String sql, JdbcTemplate jdbcTemplate);
}
