• 首页
  • 脚本说明
    • 脚本介绍
    • 第一个助码脚本程序
    • 常用类型哈希表
    • 常用类型哈希表集合
    • 常用类型字符串
    • 基本数字类型
    • 数据库操作
    • Excel操作
    • 模拟http请求
  • 通用基类
    • ZmHash
    • StringUtil
    • FlowDefine
    • FlowDefineLine
    • ZmHashList
    • FlowDefineStep
    • JobBase
    • IModelData
    • FrameController
    • FrameDao
    • FlowBase
    • ZmActiveRequest
    • ZmQueryConditionList
    • ZmQueryTable
    • ZmStr2StrHash
    • ZmReturnMsg
    • MainModel
    • ViewModelBase
    • ZmConfig
    • ZmListBase
    • ZmList
    • MapperBase
    • ZmServiceBase
    • ZmController
    • IZmServiceBase
    • ActionModelView
    • ZmPageData
    • ReturnMessage
    • ReturnData
    • SearchData
    • FrameFlow
  • 数据库操作
    • BaseProvider
    • ZmSqlParam
    • ZmSqlParamList
  • 工具函数
    • JsonHelper
    • HttpUtil
    • RandomUtil
    • VerificationCode
    • CryptUtil
    • ZmQRCode
    • SmsSenderHelper
    • ZmUtil
    • ExcelUtil
  • 首页
  • 脚本说明
    • 脚本介绍
    • 第一个助码脚本程序
    • 常用类型哈希表
    • 常用类型哈希表集合
    • 常用类型字符串
    • 基本数字类型
    • 数据库操作
    • Excel操作
    • 模拟http请求
  • 通用基类
    • ZmHash
    • StringUtil
    • FlowDefine
    • FlowDefineLine
    • ZmHashList
    • FlowDefineStep
    • JobBase
    • IModelData
    • FrameController
    • FrameDao
    • FlowBase
    • ZmActiveRequest
    • ZmQueryConditionList
    • ZmQueryTable
    • ZmStr2StrHash
    • ZmReturnMsg
    • MainModel
    • ViewModelBase
    • ZmConfig
    • ZmListBase
    • ZmList
    • MapperBase
    • ZmServiceBase
    • ZmController
    • IZmServiceBase
    • ActionModelView
    • ZmPageData
    • ReturnMessage
    • ReturnData
    • SearchData
    • FrameFlow
  • 数据库操作
    • BaseProvider
    • ZmSqlParam
    • ZmSqlParamList
  • 工具函数
    • JsonHelper
    • HttpUtil
    • RandomUtil
    • VerificationCode
    • CryptUtil
    • ZmQRCode
    • SmsSenderHelper
    • ZmUtil
    • ExcelUtil
ZmHashList
散列表(hash)的列表 成员函数: Add 向hashlist表里面添加hash 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | item| ZmHash | ZmHash对象 | GetCountString 根据hashlist里面hash的数量,并转化为字符串 返回值: String 键值对的数量,字符串的形式 GetCount 根据hashlist表里面hash对的数量 返回值: Int 键值对的数量 Insert 向集合中插入数据 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | index| Int | 插入数据的位置 | | item| ZmHash | 要插入的ZmHash对象 | GetIndex 获取集合中指定位置的元素 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | index| Int | 指定位置 | 返回值: ZmHash 指定位置的ZmHash对象 AddMainSub 遍历当前HashList,当每个hash的mainkey等于sublist的subkey数据时 添加sublist到hash中 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 添加或者修改当前集合中每个元素的键key | | sublist| ZmHashList | 要添加的列表 | | mainkey| String | 主hash的key | | subkey| String | 添加列表的key | GetChildListAndSetByKey 遍历当前HashList,获取childlistkey键的列表,并修改新列表中元素childkey的值为父元素parentkey的值 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | childlistkey| String | 添加或者修改当前集合中每个元素的键key | | parentkey| String | 主hash的key | | childkey| String | 添加列表的key | SetKeyValues 对于当前集合中的每一个hash元素,设置传入的键值对 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 添加元素键key | | val| Object | 要添加的元素 | SetKeyValue 对于当前集合中的每一个hash元素,设置传入的键值对 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 添加元素键key | | val| Object | 要添加的元素 | 其它说明: 无
上一篇:FlowDefineLine
下一篇:FlowDefineStep
联系电话:17321408562 上海洽发信息科技有限公司 张经理 2022 上海洽发 沪ICP备16029095号-6