上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 1 第一个例子 2 第二个例子 select a.*,b.name as repayment_type_value,c.name as status_value, d.product_name, CONCAT(a.duration ,(case a.duration_type when 1 then 阅读全文
posted @ 2017-04-28 10:58 xue123 阅读(776) 评论(1) 推荐(0) 编辑
摘要: mybatis是我们开发者常用的dao框架,亿轻巧灵活为特征,在crud操作中,动态更新是常用的操作。我搜集了两种动态更新的sql写法,以备日后备用! 方法1: update loan_product product_id = #{productId,jdbcType=VARCHAR}, produ 阅读全文
posted @ 2017-04-27 10:53 xue123 阅读(2733) 评论(0) 推荐(0) 编辑
摘要: 只能输入数字:"^[0-9]*$"。只能输入n位的数字:"^\d{n}$"。只能输入至少n位的数字:"^\d{n,}$"。只能输入m~n位的数字:。"^\d{m,n}$"只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。只能输入有两位小数的正实数:"^[0-9]+(.[0-9]{2 阅读全文
posted @ 2017-04-24 10:37 xue123 阅读(207) 评论(0) 推荐(0) 编辑
摘要: spring data jpa 是一个封装了hebernate的dao框架,用于单表操作特别的方便,当然也支持多表,只不过要写sql。对于单表操作,jpake可以通过各种api进行搞定,下面是一个对一个表或者对象进行多字段查询的案例,可以看到jpa的单表查询是多么的强大1,先看这个对象--表映射所包 阅读全文
posted @ 2017-03-24 09:47 xue123 阅读(1848) 评论(0) 推荐(0) 编辑
摘要: 1 基本弹框 2确认框 3又一种确认框 4带返回的弹框 5带返回的探矿 6 6 一切尽在 http://t4t5.github.io/sweetalert/ 阅读全文
posted @ 2017-03-12 20:30 xue123 阅读(6713) 评论(1) 推荐(0) 编辑
摘要: 1 html页面 <div class="col-sm-2" style="height: 200px;margin-top: 14px;"> <input id="photo" name=" " type="file" value="选择图片" ng-model="photoUrl"> <inpu 阅读全文
posted @ 2017-03-11 10:51 xue123 阅读(1479) 评论(0) 推荐(0) 编辑
摘要: 做页面,地图可能会用到 1 导入百度地图的js库 <script type="text/javascript" src="http://api.map.baidu.com/getscript?v=1.4&ak=&services=&t=20150522093217"></script> 2 页面ht 阅读全文
posted @ 2017-02-22 09:50 xue123 阅读(4750) 评论(0) 推荐(0) 编辑
摘要: 1 首先jsp页面 点击模板下载,会自动下载模板excel,效果如下 让我们看源码: 1 jsp页面 <div class="tab-pane" id="profile"> &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="button 阅读全文
posted @ 2017-01-09 09:57 xue123 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: 现在流行springboot框架的项目,里面的默认配置文件为application.yml,我们怎样读取这个配置文件呢? 先贴上我得配置文件吧 目录结构 里面内容 1 写读取配置文件的工具类 把这个类注入到配置类 需要用的话就直接注入 就是这么回事! 阅读全文
posted @ 2016-12-28 13:06 xue123 阅读(26296) 评论(0) 推荐(0) 编辑
摘要: md5 阅读全文
posted @ 2016-12-12 15:17 xue123 阅读(768) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页