摘要: 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 全琪俊 阅读(47) 评论(0) 推荐(0) 编辑
摘要: @PostMapping("/reportPolicy/export")@ApiOperation(value = "政策库excel导出", notes = "政策库excel导出", httpMethod = "POST")public void reportPolicy(Page<RepoPo 阅读全文
posted @ 2022-05-30 15:26 全琪俊 阅读(37) 评论(0) 推荐(0) 编辑
摘要: @PostMapping("/importExcel")public R importExcel(@RequestBody(required = true) MultipartFile file){ return service.importExcel(file);} @Override @Tran 阅读全文
posted @ 2022-05-30 15:21 全琪俊 阅读(74) 评论(0) 推荐(0) 编辑
摘要: @PostMapping(value = "/importExcel")@ApiOperation(value = "导入excel", notes = "导入excel", httpMethod = "POST")public R importExcel(@RequestPart("file") 阅读全文
posted @ 2022-05-30 15:16 全琪俊 阅读(219) 评论(0) 推荐(0) 编辑
摘要: @ApiOperation(value = "系统导出")@PostMapping(value = "/vertical_exportData")public void verticalExportData(@RequestBody CatalogSystem columns, HttpServle 阅读全文
posted @ 2022-05-30 15:14 全琪俊 阅读(245) 评论(0) 推荐(0) 编辑
摘要: //计算当前时间到开始时间的差值,单位为毫秒long min = Duration.between(LocalDateTime.now(), quesQuestionnaire.getEndTime()).toMillis(); List<String> functionStrs = CollUti 阅读全文
posted @ 2022-05-30 15:11 全琪俊 阅读(95) 评论(0) 推荐(0) 编辑
摘要: @Overridepublic R<Boolean> excelImport(MultipartFile file, Long projectId) { try { InputStream is = FileMagic.prepareToCheckMagic(file.getInputStream( 阅读全文
posted @ 2022-05-30 14:40 全琪俊 阅读(312) 评论(0) 推荐(0) 编辑
摘要: @GetMapping(value = "/excel_export")@ApiOperation(value = "excel导出", notes = "excel导出", httpMethod = "GET")public void excelExport(HttpServletRequest 阅读全文
posted @ 2022-05-30 14:38 全琪俊 阅读(264) 评论(0) 推荐(0) 编辑
摘要: server: port: 8080 #指定滑动验证码类型 滑动:blockpuzzle 点选:clickwordspring: profiles: active: blockpuzzle #滑动验证码配置aj: captcha: jigsaw: classpath:images/jigsaw #底 阅读全文
posted @ 2022-05-30 14:32 全琪俊 阅读(56) 评论(0) 推荐(0) 编辑
摘要: spring: autoconfigure: exclude: org.springframework.cloud.netflix.ribbon.RibbonAutoConfiguration #非常重要 sca 兼容sc2020 重要配置 jackson: default-property-inc 阅读全文
posted @ 2022-05-30 14:26 全琪俊 阅读(868) 评论(0) 推荐(0) 编辑