Commit d755aeac by hzc

测试报表四

parent 9c0ce606
...@@ -33,7 +33,7 @@ public class IndicatorsReportFour implements Serializable { ...@@ -33,7 +33,7 @@ public class IndicatorsReportFour implements Serializable {
* 对标单元id * 对标单元id
*/ */
@Column(name = "compare_id" ) @Column(name = "compare_id" )
private Integer compareId; private String compareId;
/** /**
* 指标id * 指标id
......
...@@ -210,6 +210,9 @@ public class IndicatorsReportService { ...@@ -210,6 +210,9 @@ public class IndicatorsReportService {
indicatorsReportFour.setIndId(driveIndDef.getIndId()); indicatorsReportFour.setIndId(driveIndDef.getIndId());
indicatorsReportFour.setIndName(driveIndDef.getIndName()); indicatorsReportFour.setIndName(driveIndDef.getIndName());
indicatorsReportFour.setIndRule(indRule); indicatorsReportFour.setIndRule(indRule);
indicatorsReportFour.setCompareId(compareId);
indicatorsReportFour.setValue(calResult.getValue());
//设置对标单元目录 //设置对标单元目录
indicatorsReportFour.setCompareCatalog(compareCatalog); indicatorsReportFour.setCompareCatalog(compareCatalog);
indicatorsReportFour.setCode(code); indicatorsReportFour.setCode(code);
...@@ -228,7 +231,7 @@ public class IndicatorsReportService { ...@@ -228,7 +231,7 @@ public class IndicatorsReportService {
//对比平均数 //对比平均数
indicatorsReportFour.setCompareAvg(compareAvg); indicatorsReportFour.setCompareAvg(compareAvg);
//末三 //末三
indicatorsReportFour.setRankMarkAfter(rankMarkAfterMap.get(calResult.getCompareId())); indicatorsReportFour.setRankMarkAfter(rankMarkAfterMap.get(calResult.getCompareObj()));
//前三 //前三
indicatorsReportFour.setRankMarkBefore(rankMarkBeforeMap.get(calResult.getCompareObj())); indicatorsReportFour.setRankMarkBefore(rankMarkBeforeMap.get(calResult.getCompareObj()));
//报表四数据===============end //报表四数据===============end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment