摘要: 前端jsp文件代码: <link href="lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" /> <script src="lib/jquery/jquery-1.9.0.min.js" ty 阅读全文
posted @ 2018-06-13 16:38 c永成 阅读(2859) 评论(0) 推荐(0)
摘要: 前端jsp文件代码: <link rel="stylesheet" href="css/demo.css" type="text/css"> <link rel="stylesheet" href="css/zTreeStyle.css" type="text/css"> <script src=" 阅读全文
posted @ 2018-06-13 15:50 c永成 阅读(203) 评论(0) 推荐(0)
摘要: 一:基于hql语法查询到的结果集为实体类集合。 String hql = " from 实体类名" ; List<实体类名> list = ygDeptService.findByHql(hql); //查询到的结果数据集 JSONArray js = JSONArray.fromObject(li 阅读全文
posted @ 2018-06-13 15:04 c永成 阅读(272) 评论(0) 推荐(0)
摘要: select ID from 表名start with id =节点id connect by prior parentid = id 其中id为表中id标识,parentid为父节点id标识 阅读全文
posted @ 2018-06-13 14:36 c永成 阅读(1444) 评论(0) 推荐(0)
摘要: select ID from 表名start with id =节点id connect by prior id= parentid 其中id为表中id标识,parentid为父节点id标识 阅读全文
posted @ 2018-06-13 14:34 c永成 阅读(435) 评论(0) 推荐(0)
摘要: 二话不说先上方法体及其内容。 public List findDeptBySql(final String name) { return getHibernateTemplate().execute(new HibernateCallback() { public Object doInHibern 阅读全文
posted @ 2018-06-13 14:27 c永成 阅读(165) 评论(0) 推荐(0)