登录页面
如果从项目进入,将跳过该页面,单机本地版本首 页会展示该页面,登录失效时候页面显示该页面
登录项
用户名,密码,验证码
登录按钮
点击登录按钮会进入到该项目的首页
使用存储过程示例
BaseProvider curDb = base.GetCurDb();
if(curDb.isSupportProcedure()){
//判断当前数据库提供者是否支持存储过程
ZmSqlParamList paramlist = new ZmSqlParamList();
paramlist.AddIntParam("id", 0);
ZmSqlParam countParam = paramlist.AddIntParam("count", 2);
//inout 参数的用法
countParam.setInOutTypeInOut();
ZmSqlParam ocParam = paramlist.AddIntParam("oc", 0);
// out参数用法
ocParam.setInOutTypeOut();
//调用存储过程并返回ZmHashList
ZmHashList hashlist = curDb.ExecProcHashListParams("my_test_proc", paramlist);
//参数返回以后的类型转换
int newCount = ZmUtil.toInt(countParam.getParamValue());
int newoc =ZmUtil.toInt(ocParam.getParamValue());
}
else{
//对于不支持存储过程的数据处理
}
成员函数:
ImportFromExcelRequest
从http请求文件流中获取文件,并导入为哈希对象
参数:
名称 | 类型 | 说明 |
---|---|---|
zmRequest | ZmActiveRequest | http请求封装类 |
返回值:
ZmReturnMsg 成功 ok 哈希对象会包含sheetList为导入的所有sheet 失败返回错误消息