package com.ruoyi.quartz.mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Select;
|
import org.apache.ibatis.annotations.Update;
|
|
import java.util.List;
|
import java.util.Map;
|
|
@Mapper
|
public interface UtilsMapper {
|
|
/**
|
* 查询sql
|
* @param sql
|
* @return
|
*/
|
@Select({"${sql}"})
|
List<Map<String, Object>> getList(@Param("sql") String sql);
|
|
/**
|
* 更新sql
|
* @param sql
|
*/
|
@Update({"${sql}"})
|
Integer updateSql(@Param("sql") String sql);
|
}
|