use of org.mybatis.generator.codegen.ibatis2.dao.elements.DeleteByExampleMethodGenerator in project generator by mybatis.
the class DAOGenerator method addDeleteByExampleMethod.
protected void addDeleteByExampleMethod(TopLevelClass topLevelClass, Interface interfaze) {
if (introspectedTable.getRules().generateDeleteByExample()) {
AbstractDAOElementGenerator methodGenerator = new DeleteByExampleMethodGenerator();
initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
}
}
Aggregations