• 首页
  • 脚本说明
    • 脚本介绍
    • 第一个助码脚本程序
    • 常用类型哈希表
    • 常用类型哈希表集合
    • 常用类型字符串
    • 基本数字类型
    • 数据库操作
    • 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
FrameDao
数据访问Dao的基类 成员函数: ExecHash 执行传入的sql语句,并返回hash结构 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | sql| String | sql语句 | 返回值: ZmHash hash结构 ExecHashList 执行传入的sql语句,并返回HashList结构 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | sql| String | sql语句 | 返回值: ZmHashList HashList结构 ExecHsHash 执行传入的sql语句,并返回hash结构 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | sql| String | sql语句 | 返回值: ZmHash hash结构 ExecHsHashList 执行传入的sql语句,并返回HashList结构 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | sql| String | sql语句 | 返回值: ZmHashList HashList结构 InsertIdentity 插入含有自增列主键的表,并范围该主键值 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | sql| String | sql语句 | 返回值: Int 主键值 ExecNonQuery 直接操作数据库 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | commandText| String | sql语句 | 返回值: Int 影响记录条数 SearchList 根据相应的表数据,条件数据,分页数据,排序数据查询数据库,获得ZmHashList对象 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | mainTable| ZmQueryTable | 表数据 | | subTables| ZmQueryTableList | 关联表数据 | | queryCondition| ZmQueryConditionList | 查询条件 | | Pager| ZmPager | 分页数据 | | Sorter| ZmSorter | 排序数据 | 返回值: ZmHashList 查询出的内容,ZmHashList对象 SetCache 设置数据缓存 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 缓存的键key | | val| Object | 缓存的值 | GetCacheString 获取缓存的字符串数据 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 缓存的键key | 返回值: String 缓存的字符串数据 GetCacheInt 获取缓存的整数数据 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 缓存的键key | 返回值: Int 缓存的整数数据 GetCacheHashList 获取缓存的HashList数据 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 缓存的键key | 返回值: ZmHashList 缓存的HashList数据 GetCacheHash 获取缓存的Hash数据 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 缓存的键key | 返回值: ZmHash 缓存的Hash数据 RemoveCache 根据缓存的键key删除数据缓存 参数: | 名称 | 类型 | 说明 | | -------- | -----: | :----: | | key| String | 缓存的键key | 其它说明: 无
上一篇:FrameController
下一篇:FlowBase
联系电话:17321408562 上海洽发信息科技有限公司 张经理 2022 上海洽发 沪ICP备16029095号-6