mirror of
https://gitee.com/jeelowcode/JeeLowCode.git
synced 2026-09-03 13:17:29 +08:00
数表返回格式
This commit is contained in:
@@ -304,6 +304,12 @@ public class FrameServiceImpl implements IFrameService {
|
||||
total = pages.getTotal();
|
||||
}
|
||||
|
||||
//处理树结构
|
||||
Long pid = Func.getMap2Long(params, "pid");
|
||||
if (Func.isNotEmpty(pid) && Func.equals(dbFormService.getTableType(dbFormId), TableTypeEnum.TREE.getType())) {//当前是树结构,并且是懒加载模式
|
||||
this.checkTreehasChildren(formEntity.getTableName(), dataList);
|
||||
}
|
||||
|
||||
//处理blob等特殊字段
|
||||
Map<String, JeeLowCodeFieldTypeEnum> fieldTypeEnumMap = dbFormService.getFieldCodeAndTypeEnum(dbFormId);
|
||||
Func.handlePlusDataList(dataList, fieldTypeEnumMap);
|
||||
|
||||
Reference in New Issue
Block a user