|
@@ -46,6 +46,8 @@ public class IFlowMaterialsTreeService {
|
|
|
private PersionKeyValueService persionKeyValueService;
|
|
|
@Autowired
|
|
|
private CallInterfaceService callInterfaceService;
|
|
|
+ @Autowired
|
|
|
+ private TFlowMaterialsCatalogService TFlowMaterialsCatalogService;
|
|
|
|
|
|
public List<zTree> getTree(String flowInstanceId, String activityInstanceId) throws Exception {
|
|
|
List<zTree> rtnList = null;
|
|
@@ -64,6 +66,9 @@ public class IFlowMaterialsTreeService {
|
|
|
}
|
|
|
|
|
|
public List<zTree> getAllTree(String flowInstanceId) throws Exception {
|
|
|
+ if("".equals(flowInstanceId)){
|
|
|
+ return TFlowMaterialsCatalogService.GetTreeData("019023d16d51000196de8ff219e54853");
|
|
|
+ }
|
|
|
List<zTree> rtnList = null;
|
|
|
Comm comm = buildComm(flowInstanceId);
|
|
|
buildCatalogNode(comm);
|