摘要: //1.获取模板的路径: String lujing = request.getSession().getServletContext().getRealPath("/")+ "export\\template\\test.xlsx"; //2.准备数据(一个List<Map<String, Obj 阅读全文
posted @ 2019-05-29 16:42 许佳挺 阅读(2698) 评论(0) 推荐(0)
摘要: 1.根据数据字典code查找该字典下的元素: SELECT typecode,typename from t_s_type where typegroupid=(select id from t_s_typegroup where typegroupcode='fchexing') fchexing 阅读全文
posted @ 2019-05-29 11:36 许佳挺 阅读(395) 评论(0) 推荐(0)
摘要: 1.A表字段:id,name;B表字段:id,name,fid(A表外键),现查询A表和B表的所有数据并且查询条件A,B都有,在前台页面list显示 2.后台方法: @RequestMapping(params = "datagrid_zh") public void datagrid_zh(Car 阅读全文
posted @ 2019-05-29 11:29 许佳挺 阅读(6179) 评论(0) 推荐(1)