会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
全琪俊
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
27
28
29
30
31
32
33
下一页
2022年5月31日
权限获取
摘要: Integer userId = SecurityUtils.getUser().getId(); GdsUser user = SecurityUtils.getUser();List<String> roleIdList = user.getAuthorities() .stream().map
阅读全文
posted @ 2022-05-31 11:44 全琪俊
阅读(190)
评论(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 全琪俊
阅读(81)
评论(0)
推荐(0)
导出2
摘要: @PostMapping("/reportPolicy/export")@ApiOperation(value = "政策库excel导出", notes = "政策库excel导出", httpMethod = "POST")public void reportPolicy(Page<RepoPo
阅读全文
posted @ 2022-05-30 15:26 全琪俊
阅读(78)
评论(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 全琪俊
阅读(94)
评论(0)
推荐(0)
导入
摘要: @PostMapping(value = "/importExcel")@ApiOperation(value = "导入excel", notes = "导入excel", httpMethod = "POST")public R importExcel(@RequestPart("file")
阅读全文
posted @ 2022-05-30 15:16 全琪俊
阅读(314)
评论(0)
推荐(0)
导出
摘要: @ApiOperation(value = "系统导出")@PostMapping(value = "/vertical_exportData")public void verticalExportData(@RequestBody CatalogSystem columns, HttpServle
阅读全文
posted @ 2022-05-30 15:14 全琪俊
阅读(304)
评论(0)
推荐(0)
智能计算
摘要: //计算当前时间到开始时间的差值,单位为毫秒long min = Duration.between(LocalDateTime.now(), quesQuestionnaire.getEndTime()).toMillis(); List<String> functionStrs = CollUti
阅读全文
posted @ 2022-05-30 15:11 全琪俊
阅读(157)
评论(0)
推荐(0)
hutool导入
摘要: @Overridepublic R<Boolean> excelImport(MultipartFile file, Long projectId) { try { InputStream is = FileMagic.prepareToCheckMagic(file.getInputStream(
阅读全文
posted @ 2022-05-30 14:40 全琪俊
阅读(360)
评论(0)
推荐(0)
导出hutool
摘要: @GetMapping(value = "/excel_export")@ApiOperation(value = "excel导出", notes = "excel导出", httpMethod = "GET")public void excelExport(HttpServletRequest
阅读全文
posted @ 2022-05-30 14:38 全琪俊
阅读(307)
评论(0)
推荐(0)
yml滑动快
摘要: server: port: 8080 #指定滑动验证码类型 滑动:blockpuzzle 点选:clickwordspring: profiles: active: blockpuzzle #滑动验证码配置aj: captcha: jigsaw: classpath:images/jigsaw #底
阅读全文
posted @ 2022-05-30 14:32 全琪俊
阅读(103)
评论(0)
推荐(0)
上一页
1
···
27
28
29
30
31
32
33
下一页
公告