mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 09:38:26 +08:00
bugfix: 修复bug#I7KADA 代码生成器填充setListenerClass错误
This commit is contained in:
parent
c48b6c9ed1
commit
8f791c15d7
@ -234,7 +234,7 @@ public class Table {
|
|||||||
tableAnnotation.append(", onUpdate = ").append(tableConfig.getUpdateListenerClass().getSimpleName()).append(".class");
|
tableAnnotation.append(", onUpdate = ").append(tableConfig.getUpdateListenerClass().getSimpleName()).append(".class");
|
||||||
}
|
}
|
||||||
if (tableConfig.getSetListenerClass() != null) {
|
if (tableConfig.getSetListenerClass() != null) {
|
||||||
tableAnnotation.append(", onSet = ").append(tableConfig.getUpdateListenerClass().getSimpleName()).append(".class");
|
tableAnnotation.append(", onSet = ").append(tableConfig.getSetListenerClass().getSimpleName()).append(".class");
|
||||||
}
|
}
|
||||||
if (Boolean.FALSE.equals(tableConfig.getMapperGenerateEnable())) {
|
if (Boolean.FALSE.equals(tableConfig.getMapperGenerateEnable())) {
|
||||||
tableAnnotation.append(", mapperGenerateEnable = false");
|
tableAnnotation.append(", mapperGenerateEnable = false");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user