|
|
@@ -577,6 +577,7 @@ namespace Learun.Application.Form |
|
|
|
TableTree.Add(treeone); |
|
|
|
} |
|
|
|
TableTree = TableTree.ToTree(); |
|
|
|
bool hasupload = false; |
|
|
|
|
|
|
|
// 确定表与组件之间的关系 |
|
|
|
Dictionary<string, List<FormCompontModel>> tableComponts = new Dictionary<string, List<FormCompontModel>>(); |
|
|
@@ -592,6 +593,7 @@ namespace Learun.Application.Form |
|
|
|
} |
|
|
|
if (compont.type == "upload") |
|
|
|
{ |
|
|
|
hasupload = true; |
|
|
|
tableComponts[compont.table].Add(compont); |
|
|
|
} |
|
|
|
if (compont.type == "guid") |
|
|
@@ -602,8 +604,13 @@ namespace Learun.Application.Form |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
Dictionary<string, string> uploadfieldkeyvalue = new Dictionary<string, string>(); |
|
|
|
|
|
|
|
if (!hasupload) |
|
|
|
{ |
|
|
|
return uploadfieldkeyvalue; |
|
|
|
} |
|
|
|
GetInstanceTableData(TableTree, tableComponts, formSchemeModel.dbId, keyValue, processIdName, null, res); |
|
|
|
Dictionary < string,string> uploadfieldkeyvalue=new Dictionary<string, string>(); |
|
|
|
foreach (var itemCompont in tableComponts) |
|
|
|
{ |
|
|
|
foreach (FormCompontModel formitem in itemCompont.Value) |
|
|
|