摘要: count like order by case when then 按照匹配度排序 为true的Condition 阅读全文
posted @ 2017-03-01 17:07 bad_boy_f 阅读(1955) 评论(0) 推荐(0) 编辑
摘要: 有外键的主键设置自增。 创建数据库,创建新用户,超级用户给新用户赋权 create database dbName; create user userName@'%' identified by 'userPassword'; #创建新用户 grant all privileges on dbNam 阅读全文
posted @ 2017-03-01 16:47 bad_boy_f 阅读(3332) 评论(0) 推荐(0) 编辑
摘要: @Before:使用Before增强处理只能在目标方法执行之前织入增强,如果Before增强处理没有特殊处理,目标方法总会自动执行,如果Before处需要阻止目标方法的执行,可通过抛出一个异常来实现。Before增强处理执行时,目标方法还未获得执行的机会,所以Before增强处理无法访问目标方法的返 阅读全文
posted @ 2017-03-01 16:41 bad_boy_f 阅读(658) 评论(0) 推荐(0) 编辑