摘要: 1.xml中写数据存在就更新,不存在就插入sql逻辑(merge into 实现) <insert id="insertTableList" parameterType="java.util.List"> merge into t_czk_transInfo_interface_temp t1 US 阅读全文
posted @ 2020-07-09 10:13 巴适的哼 阅读(2504) 评论(0) 推荐(0) 编辑
摘要: 一.oracle 批量添加 1.xml中写插入sql <insert id="insertTableList" parameterType="java.util.List"> INSERT ALL <foreach collection="list" item="element" index="in 阅读全文
posted @ 2020-07-09 09:57 巴适的哼 阅读(1156) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml引入jar包 <dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>0.1.55</version> </dependency> <!--csv--> <dependenc 阅读全文
posted @ 2020-06-23 16:22 巴适的哼 阅读(2604) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml引入jar包 <dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>0.1.55</version> </dependency> 2.连接sftp服务器方法 private 阅读全文
posted @ 2020-06-23 15:44 巴适的哼 阅读(11674) 评论(2) 推荐(0) 编辑
摘要: 一.配置IDEA自动编译开启 1.打开顶部工具栏 File -> Settings (或者otherSettings -> Default Settings ) -> Build -> Compiler (或者ctrl+shift+A,输入Compiler)然后勾选 Build project au 阅读全文
posted @ 2020-06-16 14:32 巴适的哼 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml导入使用的jar包 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itext-pdfa</artifactId> <version>5.5.0</version> </dependency> <dependency 阅读全文
posted @ 2020-06-16 10:00 巴适的哼 阅读(3386) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml引入jar包 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.17</version> </dependency> 2.解析代码 /** * 解 阅读全文
posted @ 2020-06-11 17:43 巴适的哼 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml引入jar包 <!--csv--> <dependency> <groupId>com.opencsv</groupId> <artifactId>opencsv</artifactId> <version>4.4</version> </dependency> 2.重写映射规则 阅读全文
posted @ 2020-06-10 14:32 巴适的哼 阅读(4296) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml引入jar包 <!--csv--> <dependency> <groupId>com.opencsv</groupId> <artifactId>opencsv</artifactId> <version>4.4</version> </dependency> 2.使用IO流解析 阅读全文
posted @ 2020-06-10 14:15 巴适的哼 阅读(2053) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml引入jar包 <!--ftp--> <dependency> <groupId>commons-net</groupId> <artifactId>commons-net</artifactId> <version>3.6</version> </dependency> 2.连接f 阅读全文
posted @ 2020-06-10 13:57 巴适的哼 阅读(10989) 评论(2) 推荐(0) 编辑