会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Legolas
成长之路。。。
博客园
首页
新随笔
联系
管理
上一页
1
···
12
13
14
15
16
17
18
下一页
2017年7月25日
a标签置灰不可点击
摘要: <a title="编辑" href ="javascript:return false;" onclick="return false;" style="cursor: default;"><i class="edit" style="opacity: 0.2"></i></a>
阅读全文
posted @ 2017-07-25 09:18 Legolas_4
阅读(1680)
评论(0)
推荐(0)
2017年7月12日
手动操作数据库
摘要: 删除数据 1.navicat ctrl+A 右键 删除记录 2.sqlyogent 3.toad 4.idea database 设置开始的自增主键 1.navicat 表 右键 设计表 选项 自动递增 2.sqlyogent 表 右键 更改表 高级属性 自动递增->1 alter 确定 3.toa
阅读全文
posted @ 2017-07-12 15:08 Legolas_4
阅读(154)
评论(0)
推荐(0)
$.ajaxFileUpload is not a function
摘要: http://blog.csdn.net/qq_33171970/article/details/60578401 很可能的原因是,
阅读全文
posted @ 2017-07-12 14:07 Legolas_4
阅读(378)
评论(0)
推荐(0)
2017年7月6日
【工具】手机号码、电话号码正则表达式
摘要: http://www.jb51.net/article/96201.htm
阅读全文
posted @ 2017-07-06 11:50 Legolas_4
阅读(137)
评论(0)
推荐(0)
2017年7月5日
【Mybatis】insert/insertSelective/updateByPrimaryKey/updateByPrimaryKeySelective
摘要: insert 保存一个实体,null的属性也会保存,不会使用数据库默认值 insertSelective 保存一个实体,null的属性不会保存(对象的值为null的属性不会保存),会使用数据库默认值 updateByPrimaryKey 根据主键更新实体全部字段,null值会被更新 updateBy
阅读全文
posted @ 2017-07-05 13:25 Legolas_4
阅读(393)
评论(0)
推荐(0)
2017年7月3日
写在controller与写在service中的区别。
摘要: 写在controller与写在service中的区别。船舶租用信息的确认,不要放controller,要放service。在service中执行的是事务,(插入、更新、删除)出现错误可以回滚。只有查询可以放在controller,不过最好也放在service。 不带@ResponseBody的 返回
阅读全文
posted @ 2017-07-03 16:57 Legolas_4
阅读(1428)
评论(0)
推荐(0)
2017年6月29日
@Transient
摘要: Hibernate的一个注释 @Transient Hibernate的一个注释 @Transient @Transient表示该属性并非一个到数据库表的字段的映射,ORM框架将忽略该属性.如果一个属性并非数据库表的字段映射,就务必将其标示为@Transient,否则,ORM框架默认其注解为@Bas
阅读全文
posted @ 2017-06-29 18:31 Legolas_4
阅读(152)
评论(0)
推荐(0)
【MyBatis 】MyBatis 插入时候获取自增主键(1:写sql。2:注解@generatedvalue)
摘要: MyBatis 插入时候获取自增主键 方法有二 方法1-1: <insert id="insert" parameterType="Person" useGeneratedKeys="true" keyProperty="id"> insert into person(name,pswd) valu
阅读全文
posted @ 2017-06-29 18:28 Legolas_4
阅读(1111)
评论(0)
推荐(0)
2017年6月21日
【idea】idea svn
摘要: file-new-project from version control
阅读全文
posted @ 2017-06-21 16:03 Legolas_4
阅读(170)
评论(0)
推荐(0)
2017年5月19日
【MyBatis 】Mybatis中的resultType与resultMap
摘要: (自己的理解) resultType resultMap
阅读全文
posted @ 2017-05-19 15:12 Legolas_4
阅读(172)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
下一页
公告