本文整理了Java中org.hswebframework.ezorm.core.dsl.Query.select
方法的一些代码示例,展示了Query.select
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.select
方法的具体详情如下:
包路径:org.hswebframework.ezorm.core.dsl.Query
类名称:Query
方法名:select
暂无
代码示例来源:origin: hs-web/hsweb-framework
@Override
@Caching(evict = {
@CacheEvict(value = "dyn-form-deploy", allEntries = true),
@CacheEvict(value = "dyn-form", allEntries = true),
})
@Transactional(propagation = Propagation.NOT_SUPPORTED)
public void deployAllFromLog() {
List<String> tags = new ArrayList<>(Arrays.asList(this.tags));
if (loadOnlyTags != null) {
tags.addAll(Arrays.asList(loadOnlyTags));
}
List<DynamicFormEntity> entities = createQuery()
.select(DynamicFormEntity.id)
.where(DynamicFormEntity.deployed, true)
.and()
.in(DynamicFormEntity.tags, tags)
.listNoPaging();
if (logger.isDebugEnabled()) {
logger.debug("do deploy all form , size:{}", entities.size());
}
for (DynamicFormEntity form : entities) {
DynamicFormDeployLogEntity logEntity = dynamicFormDeployLogService.selectLastDeployed(form.getId());
if (null != logEntity) {
deployFromLog(logEntity);
}
}
}
代码示例来源:origin: hs-web/hsweb-framework
@Override
@Caching(evict = {
@CacheEvict(value = "dyn-form-deploy", allEntries = true),
@CacheEvict(value = "dyn-form", allEntries = true),
})
public void deployAll() {
createQuery()
.select(DynamicFormEntity.id)
.listNoPaging()
.forEach(form -> this.deploy(form.getId()));
}
代码示例来源:origin: hs-web/hsweb-easy-orm
public QueryFromBean<T, Q, B> select(String... columns) {
proxy.select(columns);
return this;
}
代码示例来源:origin: hs-web/hsweb-easy-orm
@SafeVarargs
public final <B> Query<T, Q> select(StaticMethodReferenceColumn<B>... columns) {
return select(Arrays.stream(columns).map(StaticMethodReferenceColumn::getColumn).toArray(String[]::new));
}
代码示例来源:origin: org.hswebframework.web/hsweb-system-dynamic-form-local
@Override
@Caching(evict = {
@CacheEvict(value = "dyn-form-deploy", allEntries = true),
@CacheEvict(value = "dyn-form", allEntries = true),
})
@Transactional(propagation = Propagation.NOT_SUPPORTED)
public void deployAllFromLog() {
List<String> tags = new ArrayList<>(Arrays.asList(this.tags));
if (loadOnlyTags != null) {
tags.addAll(Arrays.asList(loadOnlyTags));
}
List<DynamicFormEntity> entities = createQuery()
.select(DynamicFormEntity.id)
.where(DynamicFormEntity.deployed, true)
.and()
.in(DynamicFormEntity.tags, tags)
.listNoPaging();
if (logger.isDebugEnabled()) {
logger.debug("do deploy all form , size:{}", entities.size());
}
for (DynamicFormEntity form : entities) {
DynamicFormDeployLogEntity logEntity = dynamicFormDeployLogService.selectLastDeployed(form.getId());
if (null != logEntity) {
deployFromLog(logEntity);
}
}
}
代码示例来源:origin: org.hswebframework.web/hsweb-system-dynamic-form-local
@Override
@Caching(evict = {
@CacheEvict(value = "dyn-form-deploy", allEntries = true),
@CacheEvict(value = "dyn-form", allEntries = true),
})
public void deployAll() {
createQuery()
.select(DynamicFormEntity.id)
.listNoPaging()
.forEach(form -> this.deploy(form.getId()));
}
内容来源于网络,如有侵权,请联系作者删除!