freemarker.template.common.dao.ftl Maven / Gradle / Ivy
package ${stratificationInfo.daoFullPackage};
import java.util.List;
import ${stratificationInfo.pojoFullPackage}.${stratificationInfo.pojoName};
/**
* description : ${tableInfo.tableName} table dao layer interface
<#include "java/comment.ftl"/>
*/
public interface ${stratificationInfo.daoName} {
int ${methodInfo.insertMethodName}(${stratificationInfo.pojoName} ${stratificationInfo.pojoName?uncap_first});
int ${methodInfo.deleteMethodName}(${stratificationInfo.pojoName} ${stratificationInfo.pojoName?uncap_first});
int ${methodInfo.updateMethodName}(${stratificationInfo.pojoName} ${stratificationInfo.pojoName?uncap_first});
int ${methodInfo.countMethodName}(${stratificationInfo.pojoName} ${stratificationInfo.pojoName?uncap_first});
List<${stratificationInfo.pojoName}> ${methodInfo.queryMethodName}(${stratificationInfo.pojoName} ${stratificationInfo.pojoName?uncap_first});
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy