提交 aaee8525 authored 作者: 黄承天's avatar 黄承天

[数据模型]修正方法名错误

上级 79825b99
......@@ -15,6 +15,6 @@ import java.util.List;
*/
public interface AggregationDao extends JpaRepository<Aggregation, Integer>, JpaSpecificationExecutor<Aggregation> {
List<Aggregation> findAllByTableInfoExIdAAndParentId(Integer tableExId, Integer parentId);
List<Aggregation> findAllByTableInfoExIdAndParentId(Integer tableExId, Integer parentId);
}
......@@ -73,7 +73,7 @@ public class ModelHelper {
result.put(columnInfo.getFieldName(), null);
}
//查出相关聚合信息并做处理
List<Aggregation> aggregations = aggregationDao.findAllByTableInfoExIdAAndParentId(tableInfoExId, null);
List<Aggregation> aggregations = aggregationDao.findAllByTableInfoExIdAndParentId(tableInfoExId, null);
getSubResult(result, aggregations);
//做json转换并返回
try {
......@@ -135,7 +135,7 @@ public class ModelHelper {
.map(this::columnEXVO)
.collect(Collectors.toList());
//对象字段部分
List<Aggregation> aggregations = aggregationDao.findAllByTableInfoExIdAAndParentId(tableInfoExId, null);
List<Aggregation> aggregations = aggregationDao.findAllByTableInfoExIdAndParentId(tableInfoExId, null);
List<ColumnEXVO> part2 = columnEXVOs(aggregations);
result.addAll(part1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论