会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
全琪俊
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
26
27
28
29
30
31
32
33
下一页
2022年6月10日
钉钉tonken 获取
摘要: public String obtainAccessToken() throws ApiException { SysPublicParam dingTalkAccessToken = sysPublicParamService.getOne(new LambdaQueryWrapper<SysPu
阅读全文
posted @ 2022-06-10 13:42 全琪俊
阅读(749)
评论(0)
推荐(0)
2022年6月9日
nginx超时配置
摘要: #项目 server { listen 81; server_name X.XXX.XXX.XX; location / { root /gds/xxx/dist/; try_files $uri $uri/ @router; index index.html index.htm; } locati
阅读全文
posted @ 2022-06-09 17:05 全琪俊
阅读(209)
评论(0)
推荐(0)
2022年6月8日
常用工具类
摘要: /** * 去掉小数点后面的零 * @param str * @return */ public static String trimZero(String str) { if(str==null){ return ""; } if (str.indexOf(".") > 0) { // 去掉多余的
阅读全文
posted @ 2022-06-08 16:14 全琪俊
阅读(34)
评论(0)
推荐(0)
2022年5月31日
docker 配置
摘要: FROM java:8-jre MAINTAINER 888@qq.com RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN mkdir -p /gds-upms WORKDIR /gds-upms EXPOSE 4000
阅读全文
posted @ 2022-05-31 15:57 全琪俊
阅读(28)
评论(0)
推荐(0)
hutool导出2
摘要: private static final String[] ROW_NAMES = { "编号", "名称", "名称", "单位", "金额", "申报时间", "办结时间", "审批状态"};private static final String[] ROW_NAMES_EN = { "hand
阅读全文
posted @ 2022-05-31 14:56 全琪俊
阅读(650)
评论(0)
推荐(0)
HttpClientUtil
摘要: package com.govmade.gds.common.utils;import java.io.*;import java.net.HttpURLConnection;import java.net.MalformedURLException;import java.net.URL;impo
阅读全文
posted @ 2022-05-31 11:49 全琪俊
阅读(554)
评论(0)
推荐(0)
权限获取
摘要: Integer userId = SecurityUtils.getUser().getId(); GdsUser user = SecurityUtils.getUser();List<String> roleIdList = user.getAuthorities() .stream().map
阅读全文
posted @ 2022-05-31 11:44 全琪俊
阅读(179)
评论(0)
推荐(0)
2022年5月30日
导入2
摘要: package com.govmade.gds.cbs.controller;import cn.hutool.core.text.StrBuilder;import cn.hutool.core.util.StrUtil;import com.baomidou.mybatisplus.core.c
阅读全文
posted @ 2022-05-30 15:30 全琪俊
阅读(68)
评论(0)
推荐(0)
导出2
摘要: @PostMapping("/reportPolicy/export")@ApiOperation(value = "政策库excel导出", notes = "政策库excel导出", httpMethod = "POST")public void reportPolicy(Page<RepoPo
阅读全文
posted @ 2022-05-30 15:26 全琪俊
阅读(56)
评论(0)
推荐(0)
导入excel
摘要: @PostMapping("/importExcel")public R importExcel(@RequestBody(required = true) MultipartFile file){ return service.importExcel(file);} @Override @Tran
阅读全文
posted @ 2022-05-30 15:21 全琪俊
阅读(84)
评论(0)
推荐(0)
上一页
1
···
26
27
28
29
30
31
32
33
下一页
公告