All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.foxtech.common.entity.service.foxsql.FoxSqlMapper Maven / Gradle / Ivy

package cn.foxtech.common.entity.service.foxsql;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

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

/**
 * 注意:在启动类中加上这个注解,此时会进行实例化的FoxSqlMapper
 */
public interface FoxSqlMapper {
    @Select("${sql}")
    List> selectMapList(@Param("sql") String sql);

    @Select({"${sql}"})
    Integer selectCount(@Param("sql") String sqlStr);

    @Delete({"${sql}"})
    void delete(@Param("sql") String sql);

    @Insert({"${sql}"})
    void insert(@Param("sql") String sql);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy