Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangkb
indicators
Commits
2082d9aa
Commit
2082d9aa
authored
Dec 21, 2020
by
hzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报表四清表增加时间维度条件。报表四新增指标排名字段
parent
54eb478d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
IndicatorsReportFour.java
.../indicators/model/entity/report/IndicatorsReportFour.java
+6
-0
IndicatorsReportFourMapper.java
...ators/model/mapper/report/IndicatorsReportFourMapper.java
+1
-1
IndicatorsReportService.java
...le/indicators/service/report/IndicatorsReportService.java
+0
-0
IndicatorsReportFourMapper.xml
.../resources/mybatis/mapping/IndicatorsReportFourMapper.xml
+3
-1
No files found.
src/main/java/com/keymobile/indicators/model/entity/report/IndicatorsReportFour.java
View file @
2082d9aa
...
@@ -78,6 +78,12 @@ public class IndicatorsReportFour implements Serializable {
...
@@ -78,6 +78,12 @@ public class IndicatorsReportFour implements Serializable {
private
String
value
;
private
String
value
;
/**
/**
* 指标值排名
*/
@Column
(
name
=
"value_rank"
)
private
Integer
valueRank
;
/**
* 同期值
* 同期值
*/
*/
@Column
(
name
=
"same_value"
)
@Column
(
name
=
"same_value"
)
...
...
src/main/java/com/keymobile/indicators/model/mapper/report/IndicatorsReportFourMapper.java
View file @
2082d9aa
...
@@ -18,5 +18,5 @@ import java.util.List;
...
@@ -18,5 +18,5 @@ import java.util.List;
public
interface
IndicatorsReportFourMapper
extends
BaseMapper
<
IndicatorsReportFour
>
{
public
interface
IndicatorsReportFourMapper
extends
BaseMapper
<
IndicatorsReportFour
>
{
void
batchInsert
(
@Param
(
"indicatorsReportFours"
)
List
<
IndicatorsReportFour
>
indicatorsReportFours
);
void
batchInsert
(
@Param
(
"indicatorsReportFours"
)
List
<
IndicatorsReportFour
>
indicatorsReportFours
);
void
deleteByCompareCatalog
(
String
compareCatalog
);
void
deleteByCompareCatalog
(
@Param
(
"compareCatalog"
)
String
compareCatalog
,
@Param
(
"date"
)
Integer
date
);
}
}
src/main/java/com/keymobile/indicators/service/report/IndicatorsReportService.java
View file @
2082d9aa
This diff is collapsed.
Click to expand it.
src/main/resources/mybatis/mapping/IndicatorsReportFourMapper.xml
View file @
2082d9aa
...
@@ -18,7 +18,8 @@
...
@@ -18,7 +18,8 @@
</insert>
</insert>
<delete
id=
"deleteByCompareCatalog"
>
<delete
id=
"deleteByCompareCatalog"
>
delete from indicators_report_four where compare_catalog=#{compareCatalog}
delete from indicators_report_four
where compare_catalog=#{compareCatalog} and compare_date=#{date}
</delete>
</delete>
</mapper>
</mapper>
\ No newline at end of file
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