
bootstrap
chen1218chen
生活最美好的三件事:学习新的知识,欣赏陌生的风景,结交新的朋友 , 个人博客地址http://chen1218chen.github.io/
展开
-
bootstrap fileinput 文件上传
最近因为项目需要研究了下bootstrap fileinput的使用,来记录下这几天的使用心得吧。 前台html页面的代码 <form role="form" id="importFile" method="post" enctype="multipart/form-data"> <div c原创 2016-01-05 16:58:10 · 30560 阅读 · 17 评论 -
hibernate中Criteria实现复合条件查询
分页查询+多条件查询分页查询+多条件查询,使用Criteria查询,逻辑清楚而且方便,避免了过多的if else 语句。以下代码中因为查询结果要进行分页,多以将每页数据和查询总数封装到map中传到前台,以供前台bootstrap-table插件使用public Map dataByPageItem(int pageNow, int pageSize, String searchText,原创 2018-02-02 14:01:48 · 900 阅读 · 0 评论