上一页 1 2 3 4 5 6 ··· 35 下一页
摘要: 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___ 阅读(32) 评论(0) 推荐(0) 编辑
摘要: public static enum AmisChartType { @JsonProperty("line") LINE("line", "折线图"), @JsonProperty("bar") BAR("bar", "柱状图"), @JsonProperty("pie") PIE("pie", 阅读全文
posted @ 2022-11-10 17:41 zslm___ 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 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___ 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1. 一般的后管在分页列表管理里都有导出功能 我们的项目是先有分页管理,后面需求要求所有的分页再增加导出功用,所以后端采用统一导出的策略 根据不同业务场景,多次调用对应的分页接口,然后统一输出到excel里 2. 对应的配置类(后期将配置转化到数据库里) import cn.hutool.core. 阅读全文
posted @ 2022-08-25 13:54 zslm___ 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1. @ApiOperation(value = "导出记录") @PostMapping("/excel") public ResponseEntity<byte[]> export(@RequestParam String type, @RequestBody JSONObject obj) { 阅读全文
posted @ 2022-08-25 11:53 zslm___ 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 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___ 阅读(1626) 评论(0) 推荐(0) 编辑
摘要: 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___ 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 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___ 阅读(2423) 评论(0) 推荐(0) 编辑
摘要: 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___ 阅读(79) 评论(0) 推荐(0) 编辑
摘要: import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util. 阅读全文
posted @ 2020-12-19 10:03 zslm___ 阅读(269) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 35 下一页