上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.7.7</version> </dependency> import cn.hutool.cache.CacheUtil; 阅读全文
posted @ 2023-06-08 10:29 KeepSmiling_me 阅读(55) 评论(0) 推荐(0)
摘要: spring mvc给我们提供了一个@RestControllerAdvice来增强所有@RestController,然后使用@ExceptionHandler注解,就可以拦截到对应的异常。 @RestControllerAdvice public class ControllerExceptio 阅读全文
posted @ 2023-06-07 09:56 KeepSmiling_me 阅读(68) 评论(0) 推荐(0)
摘要: 1.clickhouse: Array(Date)=TEXT Array(DateTime=TEXT Array(FLoat32)=TEXT Array(FLoat64)=TEXT Array(Int16)=TEXT Array(Int32)=TExT Array(Int64)=TEXT Array 阅读全文
posted @ 2023-05-31 14:56 KeepSmiling_me 阅读(39) 评论(0) 推荐(0)
摘要: <dependency> <groupId>com.oracle.database.jdbc</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.0.4</version> </dependency> <dependency> <group 阅读全文
posted @ 2023-05-23 11:06 KeepSmiling_me 阅读(21) 评论(0) 推荐(0)
摘要: 引入 <dependency> <groupId>com.liferay</groupId> <artifactId>com.fasterxml.jackson.annotations</artifactId> <version>2.10.3.LIFERAY-PATCHED-1</version> 阅读全文
posted @ 2023-05-23 10:54 KeepSmiling_me 阅读(99) 评论(0) 推荐(0)
摘要: import lombok.SneakyThrows; import org.springframework.beans.BeansException; import org.springframework.beans.factory.annotation.Autowired; import org 阅读全文
posted @ 2023-05-23 10:39 KeepSmiling_me 阅读(42) 评论(0) 推荐(0)
摘要: 1.mysql -u root -p 输入密码 2.选择数据库 use database 2.导入文件csv文件 load data local infile 'E:\\tmp\\prod.csv' into table ${tableName} fields terminated by ',' l 阅读全文
posted @ 2023-05-23 09:45 KeepSmiling_me 阅读(69) 评论(0) 推荐(0)
摘要: import lombok.Data; import lombok.SneakyThrows; import org.springframework.util.StringUtils; import java.sql.Connection; import java.sql.Driver; impor 阅读全文
posted @ 2023-05-22 14:54 KeepSmiling_me 阅读(113) 评论(0) 推荐(0)
摘要: 写入: File file = new File(System.getProperty("java.io.tmpdir") + File.separator + "aa.csv"); ExcelWriter excelWriter = EasyExcelFactory.write(file).exc 阅读全文
posted @ 2023-05-21 12:07 KeepSmiling_me 阅读(2976) 评论(0) 推荐(0)
摘要: import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.generator.AutoGe 阅读全文
posted @ 2023-05-21 11:47 KeepSmiling_me 阅读(49) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
点击右上角即可分享
微信分享提示