摘要: SpringBoot 装备默认规则是根据Application(SpringApplication.run所在类)类所在的包位置从上到下扫描, 例如 com.seed.controller com.seed.service com.seed.dao 如果 Application在com.seed.c 阅读全文
posted @ 2018-05-02 11:52 marsamoeba 阅读(596) 评论(0) 推荐(0) 编辑
摘要: MyBatis 插入空值时,需要指定JdbcType mybatis insert空值报空值异常,但是在pl/sql不会提示错误,主要原因是mybatis无法进行转换, 阅读全文
posted @ 2017-03-30 10:15 marsamoeba 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 方式一: ArrayList list = new ArrayList(); String str01 = String("str01"); String str02 = String("str02"); list.add(str01); list.add(str02); 方式二: ArrayList list = new ArrayList(){{add("str01"... 阅读全文
posted @ 2017-03-28 21:38 marsamoeba 阅读(170) 评论(0) 推荐(0) 编辑
摘要: checkbox 如果用disabled设置成可不编辑, 那样的话value值,就无法传递到后台. 所以使用jQuery click方法来实现 不可编辑. 阅读全文
posted @ 2016-10-12 10:53 marsamoeba 阅读(6857) 评论(1) 推荐(0) 编辑
摘要: .html(), .text(), .val()三种方法都是用来读取选定元素的内容, .html()是用来读取元素的HTML内容(包括其Html标签) 对应js中的innerHTML html()方法使用在多个元素上时,只读取第一个元素 .text()用来读取元素的纯文本内容,包括其后代元素 对应j 阅读全文
posted @ 2016-09-07 15:58 marsamoeba 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Hi!我的第一篇博客园博客 阅读全文
posted @ 2016-08-29 13:25 marsamoeba 阅读(133) 评论(0) 推荐(0) 编辑