Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
9d79da1b
Commit
9d79da1b
authored
Jul 08, 2022
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交统计代码
parent
19a522e2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
23 deletions
+38
-23
DocStatisticsResource.java
.../amos/knowledgebase/controller/DocStatisticsResource.java
+0
-0
StatisticsRecordMapper.java
...os/knowledgebase/face/orm/dao/StatisticsRecordMapper.java
+38
-23
StatisticsRecordService.java
...s/knowledgebase/face/service/StatisticsRecordService.java
+0
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-knowledgebase-biz/src/main/java/com/yeejoin/amos/knowledgebase/controller/DocStatisticsResource.java
View file @
9d79da1b
This diff is collapsed.
Click to expand it.
amos-boot-module/amos-boot-module-biz/amos-boot-module-knowledgebase-biz/src/main/java/com/yeejoin/amos/knowledgebase/face/orm/dao/StatisticsRecordMapper.java
View file @
9d79da1b
...
...
@@ -3,12 +3,13 @@ package com.yeejoin.amos.knowledgebase.face.orm.dao;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.knowledgebase.face.orm.entity.KnowlegeStatisticsRecord
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Map
;
/**
* <p>
* 标签分组 Mapper 接口
* 标签分组 Mapper 接口
* </p>
*
* @author 子杨
...
...
@@ -16,26 +17,39 @@ import java.util.Map;
*/
public
interface
StatisticsRecordMapper
extends
BaseMapper
<
KnowlegeStatisticsRecord
>
{
/**
* 表清空
* @return
*/
void
deleteAll
();
/**
* 查询灾情总计
* @return
*/
Map
<
String
,
Object
>
selectDisasterCount
();
/**
* 按类型分组查询
*/
List
<
Map
<
String
,
Object
>>
selectCategoryByName
(
String
recordName
);
/**
* 按类型查询/按时间分段总计
*/
List
<
Map
<
String
,
Object
>>
selectCountByNameAndDateRange
(
Map
<
String
,
Object
>
queryMap
);
/**
* 表清空
*
* @return
*/
void
deleteAll
();
/**
* 查询灾情总计
*
* @return
*/
Map
<
String
,
Object
>
selectDisasterCount
();
/**
* 按类型分组查询
*/
List
<
Map
<
String
,
Object
>>
selectCategoryByName
(
String
recordName
);
/**
* 按类型查询/按时间分段总计
*/
List
<
Map
<
String
,
Object
>>
selectCountByNameAndDateRange
(
Map
<
String
,
Object
>
queryMap
);
List
<
Map
<
String
,
Object
>>
tagStatisticsMonth
(
String
tag
,
Date
startDate
,
Date
endDate
);
List
<
Map
<
String
,
Object
>>
tagStatisticsYear
(
String
tag
,
Date
startDate
,
Date
endDate
);
List
<
Map
<
String
,
Object
>>
docStatisticsMonth
(
String
categoryName
,
Date
startDate
,
Date
endDate
);
List
<
Map
<
String
,
Object
>>
docStatisticsYear
(
String
categoryName
,
Date
startDate
,
Date
endDate
);
List
<
Map
<
String
,
Object
>>
tagChartStatistics
(
String
tag
,
Date
startDate
,
Date
endDate
,
String
splitSQL
);
List
<
Map
<
String
,
Object
>>
docChartStatistics
(
Date
startDate
,
Date
endDate
);
}
\ No newline at end of file
amos-boot-module/amos-boot-module-biz/amos-boot-module-knowledgebase-biz/src/main/java/com/yeejoin/amos/knowledgebase/face/service/StatisticsRecordService.java
View file @
9d79da1b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment