mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-08 18:36:51 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -177,6 +177,8 @@ public class CasesApi extends ApiBaseController {
|
||||
try {
|
||||
OutputStream = response.getOutputStream();
|
||||
LinkedHashMap<String,String> map = new LinkedHashMap<>();
|
||||
map.put("标题","title");
|
||||
map.put("密级","confidentialityLevel");
|
||||
map.put("浏览量","views");
|
||||
map.put("推荐量","recommends");
|
||||
map.put("引用量","cites");
|
||||
@@ -191,6 +193,8 @@ public class CasesApi extends ApiBaseController {
|
||||
LocalDateTime now = LocalDateTime.now();
|
||||
for (Cases c:list){
|
||||
CaseExportVo caseExportVo = new CaseExportVo();
|
||||
caseExportVo.setTitle(c.getTitle());
|
||||
caseExportVo.setConfidentialityLevel(c.getConfidentialityLevel());
|
||||
caseExportVo.setViews(c.getViews());
|
||||
caseExportVo.setRecommends(c.getRecommends());
|
||||
caseExportVo.setCites(c.getCites());
|
||||
|
||||
@@ -28,4 +28,5 @@ public class CaseVo {
|
||||
private String authorName;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -34,4 +34,6 @@ public class CaseExportVo {
|
||||
private String caseScope;
|
||||
|
||||
private LocalDateTime endTime;
|
||||
|
||||
private String confidentialityLevel;
|
||||
}
|
||||
|
||||
@@ -11,20 +11,12 @@ import com.xboe.module.dict.service.ISysDictionaryService;
|
||||
import com.xboe.module.dict.vo.DictionaryVo;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
||||
import org.apache.poi.ss.usermodel.*;
|
||||
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
||||
import org.springframework.cache.Cache;
|
||||
import org.springframework.cache.CacheManager;
|
||||
import org.springframework.cache.annotation.CacheEvict;
|
||||
import org.springframework.cache.annotation.Caching;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user