会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zslm___
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
35
下一页
2022年11月17日
C# 自定义固定数量线程池
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace
阅读全文
posted @ 2022-11-17 11:36 zslm___
阅读(519)
评论(0)
推荐(0)
2022年11月11日
Git ssh配置
摘要: 1、安装Git-2.16.2-64-bit.exe 2、生成秘钥 git config --global user.name 'yourname' git config --global user.email 'yourname@dtyunxi.com' ssh-keygen -t rsa -C '
阅读全文
posted @ 2022-11-11 13:51 zslm___
阅读(56)
评论(0)
推荐(0)
2022年11月10日
enum通用写法
摘要: public static enum AmisChartType { @JsonProperty("line") LINE("line", "折线图"), @JsonProperty("bar") BAR("bar", "柱状图"), @JsonProperty("pie") PIE("pie",
阅读全文
posted @ 2022-11-10 17:41 zslm___
阅读(52)
评论(0)
推荐(0)
2022年9月14日
feign反序列化日期配置
摘要: spring: jackson: date-format: yyyy-MM-dd HH:mm:ss timeZone: GMT+08:00 serialization.write_dates_as_timestamps: false 如果反序列化的日志增加了8小时,则需要增加该配置
阅读全文
posted @ 2022-09-14 11:36 zslm___
阅读(277)
评论(0)
推荐(0)
2022年8月25日
通用导出excel服务
摘要: 1. 一般的后管在分页列表管理里都有导出功能 我们的项目是先有分页管理,后面需求要求所有的分页再增加导出功用,所以后端采用统一导出的策略 根据不同业务场景,多次调用对应的分页接口,然后统一输出到excel里 2. 对应的配置类(后期将配置转化到数据库里) import cn.hutool.core.
阅读全文
posted @ 2022-08-25 13:54 zslm___
阅读(199)
评论(0)
推荐(0)
下载文件
摘要: 1. @ApiOperation(value = "导出记录") @PostMapping("/excel") public ResponseEntity<byte[]> export(@RequestParam String type, @RequestBody JSONObject obj) {
阅读全文
posted @ 2022-08-25 11:53 zslm___
阅读(37)
评论(0)
推荐(0)
2022年6月22日
springboot上传文件大小限制
摘要: 1. 修改 nginx 大小限制 (250M) 在 metadata: annotations: 下增加 nginx.ingress.kubernetes.io/proxy-body-size: 250m apiVersion: extensions/v1beta1 kind: Ingress me
阅读全文
posted @ 2022-06-22 11:01 zslm___
阅读(1751)
评论(0)
推荐(0)
2022年5月21日
扫描指定包下所有类
摘要: import org.springframework.core.io.DefaultResourceLoader; import org.springframework.core.io.Resource; import org.springframework.core.io.ResourceLoad
阅读全文
posted @ 2022-05-21 22:38 zslm___
阅读(120)
评论(0)
推荐(0)
2022年2月18日
使用jsqlParser修改where条件
摘要: import net.sf.jsqlparser.expression.operators.conditional.AndExpression; import net.sf.jsqlparser.parser.CCJSqlParserUtil; import net.sf.jsqlparser.sc
阅读全文
posted @ 2022-02-18 16:27 zslm___
阅读(3021)
评论(0)
推荐(0)
2021年1月7日
安装ElasticSearch
摘要: 1.下载 $ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.1.zip $ unzip elasticsearch-5.5.1.zip $ cd elasticsearch-5.5.1/ 2.使
阅读全文
posted @ 2021-01-07 10:22 zslm___
阅读(89)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
35
下一页
公告