登录页面

image

如果从项目进入,将跳过该页面,单机本地版本首 页会展示该页面,登录失效时候页面显示该页面

登录项

用户名,密码,验证码

登录按钮

点击登录按钮会进入到该项目的首页

使用存储过程示例

  1. BaseProvider curDb = base.GetCurDb();
  2. if(curDb.isSupportProcedure()){
  3. //判断当前数据库提供者是否支持存储过程
  4. ZmSqlParamList paramlist = new ZmSqlParamList();
  5. paramlist.AddIntParam("id", 0);
  6. ZmSqlParam countParam = paramlist.AddIntParam("count", 2);
  7. //inout 参数的用法
  8. countParam.setInOutTypeInOut();
  9. ZmSqlParam ocParam = paramlist.AddIntParam("oc", 0);
  10. // out参数用法
  11. ocParam.setInOutTypeOut();
  12. //调用存储过程并返回ZmHashList
  13. ZmHashList hashlist = curDb.ExecProcHashListParams("my_test_proc", paramlist);
  14. //参数返回以后的类型转换
  15. int newCount = ZmUtil.toInt(countParam.getParamValue());
  16. int newoc =ZmUtil.toInt(ocParam.getParamValue());
  17. }
  18. else{
  19. //对于不支持存储过程的数据处理
  20. }

成员函数:

ImportFromExcelRequest

从http请求文件流中获取文件,并导入为哈希对象

参数:

名称 类型 说明
zmRequest ZmActiveRequest http请求封装类

返回值:

ZmReturnMsg 成功 ok 哈希对象会包含sheetList为导入的所有sheet 失败返回错误消息