摘要: <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)
摘要: @Api(value = "定时任务执行", tags = "定时任务执行")@Slf4j@Component@EnableSchedulingpublic class ScheduledController { //@Scheduled(fixedRate = 60000)//每隔一分钟执行一次 阅读全文
posted @ 2022-06-10 14:01 全琪俊 阅读(41) 评论(0) 推荐(0)
摘要: public String obtainAccessToken() throws ApiException { SysPublicParam dingTalkAccessToken = sysPublicParamService.getOne(new LambdaQueryWrapper<SysPu 阅读全文
posted @ 2022-06-10 13:42 全琪俊 阅读(745) 评论(0) 推荐(0)
摘要: #项目 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)
摘要: /** * 去掉小数点后面的零 * @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)
摘要: 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)
摘要: private static final String[] ROW_NAMES = { "编号", "名称", "名称", "单位", "金额", "申报时间", "办结时间", "审批状态"};private static final String[] ROW_NAMES_EN = { "hand 阅读全文
posted @ 2022-05-31 14:56 全琪俊 阅读(634) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)