Skip to content

Repository files navigation

mybatis-generator

定制化mybatis 代码生成插件,生成简化的文件

Mapper 注解, 生成下面简化风格的

@Mapper public interface TabMapper {

Tab getById(Integer id);

List<Tab> getByIds(@Param("ids")List<Integer> ids);

int update(Tab record);

int updateSelective(Tab record);

int softDeleteById(Integer id);

int softDeleteByIds(@Param("ids")List<Integer> ids);

int insert(Tab record);

int batchInsert(@Param("items") List<Tab> items);

}

Domain 带有Getter,Setter注解

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages