你的赛博博客

探索数字未来的边界

02 2023 档案

摘要:1、放开上传限制 servlet: multipart: enabled: true #默认支持文件上传 max-file-size: -1 #不做限制 max-request-size: -1 #不做限制2、设置上传地址 #上传地址z: url: http://127.0.0.1:9087/and 阅读全文
posted @ 2023-02-28 09:10 Aoul 阅读(3074) 评论(0) 推荐(0)
摘要:1、cmd命令切换到redis的安装目录 2、执行如下命令,将redis注册成为windows的服务 redis-server --service-install redis.windows.conf 3、在windows服务管理处启动redis或者执行如下命令 redis-server --ser 阅读全文
posted @ 2023-02-27 09:21 Aoul 阅读(471) 评论(0) 推荐(0)
摘要:// 排除api中不引数据库导致的报错包 @ComponentScan(excludeFilters = { @ComponentScan.Filter(type = FilterType.REGEX,pattern = "com.integration.aop.log.service.*") }) 阅读全文
posted @ 2023-02-27 09:20 Aoul 阅读(550) 评论(0) 推荐(0)
摘要:Git提交代码 git status 查看文件状态红色的没有加入缓存区 绿色的已经加入缓存区 git add . 把代码加入缓存区 git commit -m '备注' 提交代码并备注 git pull 拉取代码 git push origin 分支名 把代码推送到某一个分支上面 git log 提 阅读全文
posted @ 2023-02-27 09:18 Aoul 阅读(17) 评论(0) 推荐(0)
摘要:QueryWrapper userquery= new QueryWrapper<>(); user.and(true,wrapper -> wrapper.ge("CREATE_DATE",begin)) .and(true,wrapper -> wrapper.le("CREATE_DATE", 阅读全文
posted @ 2023-02-27 09:17 Aoul 阅读(262) 评论(0) 推荐(0)
摘要:#分页工具类 /** * 分页参数处理 */public class PageUtil { /** * 分页返回数据封装 * * @param page * @return Map<String, Object> * @author Hd * @date 2021/12/18 12:47 */ pu 阅读全文
posted @ 2023-02-27 08:55 Aoul 阅读(267) 评论(0) 推荐(0)
摘要:package com.zmj.sy.modules.andon.util;import java.text.DateFormat;import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.D 阅读全文
posted @ 2023-02-25 11:41 Aoul 阅读(29) 评论(0) 推荐(0)
摘要:复制list集合BeanUtil.copyToList(problemTypeList, ProblemTypeVo.class);stream 根据属性拼接字符串List<String> nameList = personList.stream().map(Person::getName).col 阅读全文
posted @ 2023-02-22 09:10 Aoul 阅读(71) 评论(0) 推荐(0)
摘要:Forest 文档 https://forest.dtflyx.com/Controller @RestController@RequestMapping("/forest")@Api(tags = "Forest")public class ForestController { @Resource 阅读全文
posted @ 2023-02-15 17:08 Aoul 阅读(855) 评论(0) 推荐(0)
摘要:public static boolean isNumeric(String str) { Pattern pattern = Pattern.compile(".*[0-9].*"); return pattern.matcher(str).matches();} 阅读全文
posted @ 2023-02-15 17:04 Aoul 阅读(27) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示