if((listResult[1] == None) and (listResult[2] == None)): if(len(listResult) != 4): CGC_SET_GLB_ERROR("E","BT910003","必须有返回值的组件无数据返回") return CGC_GET_DEF_EXCP_NODE(${errFuncName}) listRes = listResult[3] if(listRes != None): if( not (type(listRes) is list)): CGC_SET_GLB_ERROR("E","BT910004","组件据据返回值必须是list类型") return CGC_GET_DEF_EXCP_NODE(${errFuncName}) elif(len(listRes) < 1): CGC_SET_GLB_ERROR("E","BT910005","组件数据返回值的个数必须和组件出参配置一致") return CGC_GET_DEF_EXCP_NODE(${errFuncName}) ${outArgsText}<#rt/> else: CGC_Trace("组件返回值为无出参模式") else: CGC_SET_GLB_ERROR("D",str(listResult[1]),str(listResult[2]))