Merge branch 'master' of http://221.0.232.152:9393/ability-center/share-platform
* 'master' of http://221.0.232.152:9393/ability-center/share-platform: 总应用数目 知识库 文件类型导入问题
This commit is contained in:
commit
5b2f0bef95
|
@ -116,7 +116,7 @@ public class CensusControllerV2 {
|
|||
List<Map<String, Object>> result = new CopyOnWriteArrayList<>();
|
||||
|
||||
CompletableFuture<Void> allApplicationAmount = CompletableFuture.supplyAsync(() -> { // 获取平台总应用数目
|
||||
return jdbcTemplate.queryForObject("SELECT COUNT(id) FROM tb_data_resource WHERE type ='应用资源';", Long.class);
|
||||
return jdbcTemplate.queryForObject("SELECT COUNT(id) FROM tb_data_resource WHERE type ='应用资源' AND del_flag = 0;", Long.class);
|
||||
}).thenAccept(sum -> {
|
||||
result.add(new HashMap<String, Object>() {
|
||||
{
|
||||
|
|
|
@ -338,7 +338,7 @@ public class ResourceExcelImportListener extends AnalysisEventListener<Map<Integ
|
|||
|
||||
AttrEntity attrEntity = new AttrEntity();
|
||||
attrEntity.setAttrType("文件类型");
|
||||
attrEntity.setAttrValue(date.get(6));
|
||||
attrEntity.setAttrValue(date.get(5));
|
||||
|
||||
infoList.add(attrEntity);
|
||||
|
||||
|
|
Loading…
Reference in New Issue