top.lingkang.mm.orm.MagicCreateLangMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-magic Show documentation
Show all versions of mybatis-magic Show documentation
mybatis能力扩展框架,兼顾mybatis的mapper.xml编写操作数据库。
The newest version!
package top.lingkang.mm.orm;
import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import java.util.List;
import java.util.Map;
/**
* 自定义sql处理
*
* @author lingkang
* @create by 2024/3/6 10:21
*/
public interface MagicCreateLangMapper {
@Select("${execSql_}")
@Lang(MagicCreateLangDriver.class)
List list(Map map);
@Select("${execSql_}")
@Lang(MagicCreateLangDriver.class)
T one(Map map);
@Update("${execSql_}")
@Lang(MagicCreateLangDriver.class)
int update(Map map);
}