public class MybatisGroupOrderPlugin
extends org.mybatis.generator.api.PluginAdapter
| Constructor and Description |
|---|
MybatisGroupOrderPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clientGenerated(org.mybatis.generator.api.dom.java.Interface interfaze,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
为自定义查询添加接口
|
boolean |
modelExampleClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
添加groupby与orderby属性
|
boolean |
sqlMapDocumentGenerated(org.mybatis.generator.api.dom.xml.Document document,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
添加自定义查询XML
|
boolean |
sqlMapSelectByExampleWithBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
为selectByExampleWithBLOBs添加groupby
|
boolean |
sqlMapSelectByExampleWithoutBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
为selectByExample添加groupby
|
boolean |
validate(List<String> warnings) |
clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientCountByExampleMethodGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientInsertMethodGenerated, clientInsertMethodGenerated, clientInsertSelectiveMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, getContext, getProperties, initialized, modelBaseRecordClassGenerated, modelFieldGenerated, modelGetterMethodGenerated, modelPrimaryKeyClassGenerated, modelRecordWithBLOBsClassGenerated, modelSetterMethodGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, setContext, setProperties, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated, sqlMapUpdateByExampleSelectiveElementGenerated, sqlMapUpdateByExampleWithBLOBsElementGenerated, sqlMapUpdateByExampleWithoutBLOBsElementGenerated, sqlMapUpdateByPrimaryKeySelectiveElementGenerated, sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGeneratedpublic boolean modelExampleClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
modelExampleClassGenerated in interface org.mybatis.generator.api.PluginmodelExampleClassGenerated in class org.mybatis.generator.api.PluginAdapterpublic boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
sqlMapSelectByExampleWithoutBLOBsElementGenerated in interface org.mybatis.generator.api.PluginsqlMapSelectByExampleWithoutBLOBsElementGenerated in class org.mybatis.generator.api.PluginAdapterpublic boolean sqlMapSelectByExampleWithBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
sqlMapSelectByExampleWithBLOBsElementGenerated in interface org.mybatis.generator.api.PluginsqlMapSelectByExampleWithBLOBsElementGenerated in class org.mybatis.generator.api.PluginAdapterpublic boolean sqlMapDocumentGenerated(org.mybatis.generator.api.dom.xml.Document document,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
sqlMapDocumentGenerated in interface org.mybatis.generator.api.PluginsqlMapDocumentGenerated in class org.mybatis.generator.api.PluginAdapterpublic boolean clientGenerated(org.mybatis.generator.api.dom.java.Interface interfaze,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
clientGenerated in interface org.mybatis.generator.api.PluginclientGenerated in class org.mybatis.generator.api.PluginAdapterCopyright © 2018. All rights reserved.