You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
table name as static variable,which can be used in other scenarios
// Now
public final class CorpDynamicSqlSupport {
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final class Corp extends AliasableSqlTable<Corp> {
public final SqlColumn<String> corpId = column("corp_id", JDBCType.VARCHAR);
public ScheduleCorpConfigItem() {
super("corp", ScheduleCorpConfigItem::new);
}
}
}
// Suggestion Change
public final class CorpDynamicSqlSupport {
// !!!
public static final String TABLE_NAME = "corp";
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final class Corp extends AliasableSqlTable<Corp> {
public final SqlColumn<String> corpId = column("corp_id", JDBCType.VARCHAR);
public ScheduleCorpConfigItem() {
super(TABLE_NAME, ScheduleCorpConfigItem::new);
}
}
}
The text was updated successfully, but these errors were encountered:
Version: 1.4.2
Suggestion
table name
as static variable,which can be used in other scenariosThe text was updated successfully, but these errors were encountered: