摘要: 1、获取token package com.operation.admin.utils.wx; import com.alibaba.fastjson.JSON; import com.operation.admin.utils.log.LogUtils; import org.springfram 阅读全文
posted @ 2022-03-03 15:33 lazyli 阅读(1328) 评论(0) 推荐(0) 编辑
摘要: 1、在当前项目中创建lib目录,放入第三方jar包 2、在pom文件中引入jar包 <dependency> <groupId>com.myjar</groupId> <artifactId>com.myjar</artifactId> <version>1.0</version> <scope>s 阅读全文
posted @ 2021-08-09 16:27 lazyli 阅读(1299) 评论(0) 推荐(0) 编辑
摘要: 1、选中项目目录按F12,如图所示 2、如图所示的操作 3、命名、选中打包的文件目录 4、选中目录classes文件,不是.java文件(删除配置文件) 5、build 6、build完成后,生成jar包 阅读全文
posted @ 2021-08-09 16:18 lazyli 阅读(181) 评论(0) 推荐(0) 编辑
摘要: function asyncExportExcel(fileId){ var loadIndex = ''; var url = jsResPath + "partFileRecord/downloadComResult?fileId="+fileId; //下载文件路径 var xhr=null; 阅读全文
posted @ 2021-03-31 10:11 lazyli 阅读(637) 评论(0) 推荐(0) 编辑
摘要: 1、oracle批量添加insert into CRITERION_CODE_INSPECT (ID, CRITERION_CODE, CRITERION_NAME, CRITERION_NAME_INSPECT, FILE_ID, FILE_NAME ) <foreach collection=" 阅读全文
posted @ 2021-03-04 09:08 lazyli 阅读(72) 评论(0) 推荐(0) 编辑
摘要: private <T> List<List<T>> fixedGrouping(List<T> source, int n) { if (null == source || source.size() == 0 || n <= 0) return null; List<List<T>> result 阅读全文
posted @ 2021-02-23 18:06 lazyli 阅读(82) 评论(0) 推荐(0) 编辑
摘要: //指定日期一月的天数 function maxDay() { //字符串日期格式"2020-12-12" var sDate = $('#startDate').val(); //转换为日期 var startDate = new Date(sDate) var endDate = startDa 阅读全文
posted @ 2021-01-11 13:44 lazyli 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: 配置 import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.cor 阅读全文
posted @ 2021-01-06 14:16 lazyli 阅读(821) 评论(0) 推荐(0) 编辑
摘要: var param = {};param.username = username;$.ajax({ headers : { "content-Type":"application/json;charset=UTF-8" }, url : jsDataPath+'user/save', type : 阅读全文
posted @ 2021-01-05 16:33 lazyli 阅读(931) 评论(0) 推荐(0) 编辑
摘要: inputstream输入流 /** * 从文件中读取数据 * @param args * @throws Exception */ public static void main(String[] args)throws Exception { String filePath = "C:/User 阅读全文
posted @ 2020-12-16 09:05 lazyli 阅读(103) 评论(0) 推荐(0) 编辑