上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: layui.use('table',function(){ var table=layui.table; table.render({ elem:'table', url:'../gettable', //请求地址, method:'post', //请求方式 where:{ }, toolbar: 阅读全文
posted @ 2019-06-17 16:29 fdbnf 阅读(836) 评论(0) 推荐(0) 编辑
摘要: 引入: <script src="js/jquery.ztree.all.js"></script> $(function(){ var setting={ callback:{ onClick: onClick, //点击事件 //onCllapse:zTreeOnCollapse, //onEx 阅读全文
posted @ 2019-06-17 15:26 fdbnf 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 使用JDBC连接MySQL数据库进行数据插入的时候,特别是大批量数据连续插入(100W+),如何提高效率呢? 在JDBC编程接口中Statement 有两个方法特别值得注意: Adds a set of parameters to this PreparedStatement object's ba 阅读全文
posted @ 2019-06-12 10:59 fdbnf 阅读(3416) 评论(0) 推荐(0) 编辑
摘要: Spring 导包: 创建配置文件,放到src下: applicationContext.xml 导入约束: Window - preferences - XML Catalog - User.... - add - File System - 选:spring/4.2.4/schema/beans 阅读全文
posted @ 2019-05-28 00:00 fdbnf 阅读(116) 评论(0) 推荐(0) 编辑
摘要: public class CSVToJSon { private List<String> stringToList(String s, String sep) { if (s == null) { return null; } String[] parts = s.split(sep); retu 阅读全文
posted @ 2019-05-27 16:17 fdbnf 阅读(5840) 评论(1) 推荐(0) 编辑
摘要: Eclipse是功能强大Java集成开发工具。它可以极大地提升我们的开发效率。可以自动编译,检查错误。在公司中,使用的就是Eclipse进行开发。 1.1 Eclipse的下载、安装、卸载 l 下载 http://www.eclipse.org l 安装 (只需要解压后就能使用) l 卸载(只需要将 阅读全文
posted @ 2019-05-22 23:06 fdbnf 阅读(579) 评论(0) 推荐(0) 编辑
摘要: package com.oracle.web.servlet;import java.awt.Color;import java.awt.Font;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.image.Bu 阅读全文
posted @ 2019-05-21 22:31 fdbnf 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 逆向工程 generatorConfig.xml ,总配置文件 代码: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Genera 阅读全文
posted @ 2019-05-19 23:39 fdbnf 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 动态sql 通过mybatis提供的各种标签方法实现动态拼接sql。 if标签: <if test="判断条件"> 拼接内容 </if> where标签: <!-- where标签 自动去掉where后的第一个and --> <where> <if test="sex!=null and sex!= 阅读全文
posted @ 2019-05-19 23:38 fdbnf 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Mybatis 介绍: MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software foundation 迁移到了google code,并且改名为MyBatis 。2013年11月迁移到Github。 Mybatis通过xml或注解的方式将要执 阅读全文
posted @ 2019-05-19 23:37 fdbnf 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页