| 程序包 | 说明 |
|---|---|
| io.jboot.components.cache.interceptor | |
| io.jboot.db.model | |
| io.jboot.service | |
| io.jboot.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
private <M extends JbootModel> |
CacheableInterceptor.getCopyObject(com.jfinal.aop.Invocation inv,
Object data) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
JbootModel<M extends JbootModel<M>> |
class |
Joiner<M extends JbootModel<M>> |
| 限定符和类型 | 字段和说明 |
|---|---|
private M |
Joiner.model |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
CPI.buildIdCacheKey(JbootModel dao,
Object... idValues) |
static String |
CPI.buildIdCacheName(JbootModel dao,
String name) |
void |
JbootModelFilter.filter(JbootModel<?> model,
int filterBy) |
Object |
PrimarykeyValueGenerator.genValue(JbootModel model,
Class primarykeyValueClass) |
static <T> T |
JbootModelExts.getDatasourceDAO(JbootModel<?> holder,
String key) |
static String |
JbootModelExts.getDistinctColumn(JbootModel<?> holder) |
static JbootDialect |
CPI.getJbootDialect(JbootModel dao) |
static com.jfinal.plugin.activerecord.Config |
CPI.getModelConfig(JbootModel dao) |
static boolean |
CPI.hasAnyJoinEffective(JbootModel dao) |
static boolean |
CPI.hasColumn(JbootModel dao,
String columnLabel) |
static <M> M |
CPI.loadByCache(JbootModel dao,
Object... idValues) |
static Class<?> |
CPI.safeDeleteCache(JbootModel dao) |
static void |
CPI.safeDeleteCache(JbootModel dao,
Object... idValues) |
static void |
JbootModelExts.setDatasourceDAO(JbootModel<?> holder,
String key,
JbootModel datasourceDAO) |
static void |
JbootModelExts.setDatasourceDAO(JbootModel<?> holder,
String key,
JbootModel datasourceDAO) |
static void |
JbootModelExts.setDistinctColumn(JbootModel<?> holder,
String column) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
JbootServiceBase<M extends JbootModel<M>>
JbootServiceBase 类
Jboot 1.x 的 Service 需要 Join 功能的话,需要实现 JbootServiceJoiner 接口
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected JbootModel<M> |
JbootServiceBase.DAO |
| 限定符和类型 | 方法和说明 |
|---|---|
<M extends JbootModel> |
JbootServiceJoiner.join(List<M> models,
String columnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(List<M> models,
String columnName) |
<M extends JbootModel> |
JbootServiceJoiner.join(List<M> models,
String columnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(List<M> models,
String columnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.join(List<M> models,
String columnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(List<M> models,
String columnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.join(List<M> models,
String columnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(List<M> models,
String columnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.join(M model,
String columnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(M model,
String columnName)
添加关联数据到某个model中去,避免关联查询,提高性能。
|
<M extends JbootModel> |
JbootServiceJoiner.join(M model,
String columnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(M model,
String columnName,
String joinName)
添加关联数据到某个model中去,避免关联查询,提高性能。
|
<M extends JbootModel> |
JbootServiceJoiner.join(M model,
String columnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(M model,
String columnName,
String[] attrs)
添加关联数据到某个model中去,避免关联查询,提高性能。
|
<M extends JbootModel> |
JbootServiceJoiner.join(M model,
String columnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(M model,
String columnName,
String joinName,
String[] attrs)
添加关联数据到某个model中去,避免关联查询,提高性能。
|
<M extends JbootModel> |
JbootServiceJoiner.join(com.jfinal.plugin.activerecord.Page<M> page,
String columnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(com.jfinal.plugin.activerecord.Page<M> page,
String columnName) |
<M extends JbootModel> |
JbootServiceJoiner.join(com.jfinal.plugin.activerecord.Page<M> page,
String columnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(com.jfinal.plugin.activerecord.Page<M> page,
String columnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.join(com.jfinal.plugin.activerecord.Page<M> page,
String columnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(com.jfinal.plugin.activerecord.Page<M> page,
String columnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.join(com.jfinal.plugin.activerecord.Page<M> page,
String columnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.join(com.jfinal.plugin.activerecord.Page<M> page,
String columnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(List<M> models,
ObjectFunc<M> modelValueGetter,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(List<M> models,
ObjectFunc<M> modelValueGetter,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(List<M> models,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(List<M> models,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(List<M> models,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(List<M> models,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(List<M> models,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(List<M> models,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(List<M> models,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(List<M> models,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(List<M> models,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(List<M> models,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(List<M> models,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(List<M> models,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(List<M> models,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(List<M> models,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(M model,
ObjectFunc<M> modelValueGetter,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(M model,
ObjectFunc<M> modelValueGetter,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(M model,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(M model,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(M model,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(M model,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(M model,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(M model,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(M model,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(M model,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(M model,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(M model,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(M model,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(M model,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(M model,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(M model,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinMany(com.jfinal.plugin.activerecord.Page<M> page,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(List<M> models,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(List<M> models,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(List<M> models,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(List<M> models,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(List<M> models,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(List<M> models,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(List<M> models,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(List<M> models,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(List<M> models,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(List<M> models,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(List<M> models,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(List<M> models,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(List<M> models,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(List<M> models,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(List<M> models,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(List<M> models,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(M model,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(M model,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(M model,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(M model,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(M model,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(M model,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(M model,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(M model,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(M model,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(M model,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(M model,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(M model,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(M model,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(M model,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(M model,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(M model,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
ObjectFunc<M> modelValueGetter,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
String tableName,
String columnName,
String targetColumnName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
String tableName,
String columnName,
String targetColumnName,
String joinName) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
String tableName,
String columnName,
String targetColumnName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoiner.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
<M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByTable(com.jfinal.plugin.activerecord.Page<M> page,
String tableName,
String columnName,
String targetColumnName,
String joinName,
String[] attrs) |
protected <M extends JbootModel> |
JbootServiceBase.joinManyByValue(String columnName,
Object value,
M sourceModel) |
protected abstract <M extends JbootModel> |
JbootServiceJoinerImpl.joinManyByValue(String columnName,
Object value,
M sourceModel) |
protected <M extends JbootModel> |
JbootServiceJoinerImpl.keepModelListAttrs(List<M> list,
String[] attrs) |
| 限定符和类型 | 方法和说明 |
|---|---|
JbootModel |
JbootServiceBase.getDao() |
protected JbootModel |
JbootServiceBase.joinByValue(Object columnValue,
JbootModel sourceModel)
复写 JbootServiceJoinerImpl 的方法
|
protected abstract JbootModel |
JbootServiceJoinerImpl.joinByValue(Object columnValue,
JbootModel sourceModel)
可以让子类去复写 joinByColumnValue ,比如默认只 join 部分字段等,或者不是根据主键进行查询等
一般情况下,传入的 columnValue 是主键的值,但是也有可能不是,要看场景,如果不是的情况下可以通过 sourceModel 来进行判断
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected JbootModel |
JbootServiceBase.joinByValue(Object columnValue,
JbootModel sourceModel)
复写 JbootServiceJoinerImpl 的方法
|
protected abstract JbootModel |
JbootServiceJoinerImpl.joinByValue(Object columnValue,
JbootModel sourceModel)
可以让子类去复写 joinByColumnValue ,比如默认只 join 部分字段等,或者不是根据主键进行查询等
一般情况下,传入的 columnValue 是主键的值,但是也有可能不是,要看场景,如果不是的情况下可以通过 sourceModel 来进行判断
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <M extends JbootModel<?>> |
ModelUtil.copy(List<M> modelList)
copy model list
|
static <M extends JbootModel<?>> |
ModelUtil.copy(M model)
copy model
|
static <M extends JbootModel<?>> |
ModelUtil.copy(M[] models)
copy model array
|
static <M extends JbootModel<?>> |
ModelUtil.copy(com.jfinal.plugin.activerecord.Page<M> modelPage)
copy model page
|
static <M extends JbootModel<?>> |
ModelUtil.copy(Set<M> modelSet)
copy model set
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <M extends JbootModel<?>> |
ModelUtil.copy(M[] models)
copy model array
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <M extends JbootModel<?>> |
ModelUtil.copy(M[] models)
copy model array
|
Copyright © 2024. All rights reserved.