会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
全琪俊
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
25
26
27
28
29
30
31
32
下一页
2022年6月13日
mybatis 新增
摘要: <insert id="insertUser" > insert into sys_user(id,username,salt,password,phone,dept_id,real_name,dd_user_id) values (#{param.id},#{param.username},#{p
阅读全文
posted @ 2022-06-13 13:50 全琪俊
阅读(47)
评论(0)
推荐(0)
2022年6月10日
定时任务
摘要: @Api(value = "定时任务执行", tags = "定时任务执行")@Slf4j@Component@EnableSchedulingpublic class ScheduledController { //@Scheduled(fixedRate = 60000)//每隔一分钟执行一次
阅读全文
posted @ 2022-06-10 14:01 全琪俊
阅读(41)
评论(0)
推荐(0)
钉钉tonken 获取
摘要: public String obtainAccessToken() throws ApiException { SysPublicParam dingTalkAccessToken = sysPublicParamService.getOne(new LambdaQueryWrapper<SysPu
阅读全文
posted @ 2022-06-10 13:42 全琪俊
阅读(745)
评论(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 全琪俊
阅读(202)
评论(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 全琪俊
阅读(28)
评论(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 全琪俊
阅读(27)
评论(0)
推荐(0)
hutool导出2
摘要: private static final String[] ROW_NAMES = { "编号", "名称", "名称", "单位", "金额", "申报时间", "办结时间", "审批状态"};private static final String[] ROW_NAMES_EN = { "hand
阅读全文
posted @ 2022-05-31 14:56 全琪俊
阅读(634)
评论(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 全琪俊
阅读(533)
评论(0)
推荐(0)
权限获取
摘要: Integer userId = SecurityUtils.getUser().getId(); GdsUser user = SecurityUtils.getUser();List<String> roleIdList = user.getAuthorities() .stream().map
阅读全文
posted @ 2022-05-31 11:44 全琪俊
阅读(171)
评论(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 全琪俊
阅读(65)
评论(0)
推荐(0)
上一页
1
···
25
26
27
28
29
30
31
32
下一页
公告