Commit fc0d2adf authored by hewei's avatar hewei

增加逻辑删除插件

parent 2cfa1ddd
...@@ -71,6 +71,7 @@ public class BatchInsertPlugin extends PluginAdapter { ...@@ -71,6 +71,7 @@ public class BatchInsertPlugin extends PluginAdapter {
/** /**
* Java Client Methods 生成 * Java Client Methods 生成
* 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html * 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
*
* @param interfaze * @param interfaze
* @param topLevelClass * @param topLevelClass
* @param introspectedTable * @param introspectedTable
...@@ -101,6 +102,7 @@ public class BatchInsertPlugin extends PluginAdapter { ...@@ -101,6 +102,7 @@ public class BatchInsertPlugin extends PluginAdapter {
/** /**
* SQL Map Methods 生成 * SQL Map Methods 生成
* 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html * 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
*
* @param document * @param document
* @param introspectedTable * @param introspectedTable
* @return * @return
......
...@@ -41,7 +41,7 @@ public class ExampleTargetPlugin extends PluginAdapter { ...@@ -41,7 +41,7 @@ public class ExampleTargetPlugin extends PluginAdapter {
public static final String TARGET_PACKAGE_KEY = "targetPackage"; // 配置targetPackage名 public static final String TARGET_PACKAGE_KEY = "targetPackage"; // 配置targetPackage名
private static final Logger logger = LoggerFactory.getLogger(ExampleTargetPlugin.class); private static final Logger logger = LoggerFactory.getLogger(ExampleTargetPlugin.class);
private String targetPackage; // 目标包 private static String targetPackage; // 目标包
/** /**
* {@inheritDoc} * {@inheritDoc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment