摘要: cryptoJS插件(aes加密)前端 // 下载 // “npm install crypto-js”或“yarn add crypto-js” // 基本使用 // 引入: const CryptoJS = require("crypto-js") // 基本使用 const testText 阅读全文
posted @ 2021-10-19 09:48 文字章 阅读(919) 评论(0) 推荐(0)
摘要: Seconds Minutes Hours DayofMonth Month DayofWeek Year或Seconds Minutes Hours DayofMonth Month DayofWeek 每一个域可出现的字符如下:Seconds:可出现", - * /"四个字符,有效范围为0-59 阅读全文
posted @ 2020-12-29 10:02 文字章 阅读(145) 评论(0) 推荐(0)
摘要: 文章摘取自http://www.cnblogs.com/zdz8207/p/3765073.html mysql索引从1开始 一、mysql截取字符串函数 1、left(str,index) 从左边第index开始截取 2、right(str,index)从右边第index开始截取 3、substr 阅读全文
posted @ 2020-12-15 11:22 文字章 阅读(1012) 评论(0) 推荐(0)
摘要: java实现冒泡排序 一、冒泡排序: 利用冒泡排序对数组进行排序 二、基本概念: 依次比较相邻的两个数,将小数放在前面,大数放在后面。即在第一趟:首先比较第1个和第2个数,将小数放前,大数放后。然后比较第2个数和第3个数,将小数放前,大数放后,如此继续,直至比较最后两个数,将小数放前,大数放后。至此 阅读全文
posted @ 2020-10-12 14:51 文字章 阅读(155) 评论(0) 推荐(0)
摘要: java实现插入排序(思路和实现) 插入排序(英语:Insertion Sort)是一种简单直观的排序算法。它的工作原理是通过构建有序序列,对于未排序数据,在已排序序列中从后向前扫描,找到相应位置并插入。插入排序在实现上,在从后向前扫描过程中,需要反复把已排序元素逐步向后挪位,为最新元素提供插入空间 阅读全文
posted @ 2020-10-12 14:26 文字章 阅读(132) 评论(0) 推荐(0)
摘要: 为了练习sql语句,在网上找了大佬的联系题。 表名和字段 –1.学生表Student(s_id,s_name,s_birth,s_sex) –学生编号,学生姓名, 出生年月,学生性别–2.课程表Course(c_id,c_name,t_id) – –课程编号, 课程名称, 教师编号–3.教师表Tea 阅读全文
posted @ 2020-08-31 09:33 文字章 阅读(315) 评论(0) 推荐(0)
摘要: 我的总结 基于 spring-data-jpa-2.1.15RELEASE.jar JPA代替mybatis的dao import com.dahuatech.bigfish.project.assignment.entity.AssignmentDO;import org.springframew 阅读全文
posted @ 2020-08-10 15:39 文字章 阅读(5789) 评论(0) 推荐(1)
摘要: 要实现导出这样的一个表头 下面代码就是返回以上的表头 仔细看 private List<List<String>> getBaoHead(BaobiaoVO baobiaoVO){ List<List<String>> head = new ArrayList<>(); List<String> h 阅读全文
posted @ 2020-07-31 16:37 文字章 阅读(1280) 评论(0) 推荐(0)
摘要: 版本: com.alibaba.easyexcel 2.2.0在导入excel中存在数字 123456.65 java 后端用Bigdecimal接收或者String接收 会丢失精度 123456.64328目前还没有找到解决方案。版本: com.alibaba.easyexcel 2.2.6jav 阅读全文
posted @ 2020-07-25 11:46 文字章 阅读(4108) 评论(2) 推荐(0)
摘要: 在Spring Boot的工程中的pom.xml中引入spring-boot-starter-mail依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</ 阅读全文
posted @ 2020-07-25 10:42 文字章 阅读(963) 评论(1) 推荐(1)