做权限的时候,通过role角色中的roleid,在auth权限中查找角色对应的权限。sql语句:SELECT authName from auth where authId in (1,2,3,4,5)in后面的东西即是角色所具有的各个权限的id,可以查出1,2,3,4,5对应的权限名字。于是结合a...
分类:
数据库 时间:
2014-06-15 20:22:39
阅读次数:
484
maven+maven-bundle-plugin+karaf搭建osgi之HelloWorld
mvn-hello-provider...
分类:
其他好文 时间:
2014-06-15 17:01:15
阅读次数:
260
Cone crusher plays an important role in the
mining industry because of it has wider application and higher production
capacity than other stone crushe...
分类:
移动开发 时间:
2014-06-13 06:30:08
阅读次数:
347
策略模式(Strategy
Pattern):定义了算法族,分别封装起来,让它们之间可以互相替换,此模式让算法的变化独立于使用算法的客户。 设计原则
1.找出应用中可能需要变化之处,把它们独立出来,不要和那些不需要变化的代码混在一起。 2.针对接口编辑,而不是针对实现编程。 3.多用组合,少用继承。...
分类:
其他好文 时间:
2014-06-12 14:22:35
阅读次数:
292
环境:cocos2d-x 2.2.3/XCode 5.1创建plugin-x1.
在cocos2d-x/plugin/plugins
创建目录(用plugin-x名称命名),下层创建目录proj.ios,工程就创建在proj.ios目录下。2. 创建的方式是iOS->Framework
& Libr...
分类:
其他好文 时间:
2014-06-12 08:45:50
阅读次数:
513
??
管理集群中的 crs 管理员
oracle Managing CRS Administrators in the Cluster
Use the following commands to manage CRS Administrators in the cluster:
The CRS Administrator is a predefined administrator role...
分类:
其他好文 时间:
2014-06-10 11:00:29
阅读次数:
238
这一系列文章是写给刚开始使用Gradle,并且对Groovy语法不是特别了解的Java程序员看的。
本篇文章的目标是解释清楚下面这行Gradle脚本:
apply plugin: 'java'
行尾的分号是可选的
用过JavaScript语言的人对这个语法糖应该比较熟悉,下面是补上分号后的脚本:
apply plugin: 'java';
Map字面量(Literal)
Java语言...
分类:
其他好文 时间:
2014-06-10 06:57:10
阅读次数:
336
path=C:\Qt\Qt5.3.0\5.3\mingw482_32\bin;C:\Qt\Qt5.3.0\Tools\mingw482_32\bin;%path%增加:QT_PLUGIN_PATH
C:\Qt\qwt-6.1.0\plugins QTDIR C:\Qt\Qt5.3....
分类:
其他好文 时间:
2014-06-09 16:44:47
阅读次数:
346