Commit d32833c2 by zhangkb

报表地区指标分布报表3代码提交

parent f3525e0a
......@@ -96,6 +96,11 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
indicatorsReportService.dealDriveIndReportTwoData(
unitDef.getCompareId(), Arrays.asList(unitDef.getIndIds().split(",")),
Arrays.asList(unitDef.getCompareObjs().split(",")), unitDef.getDate());
//整合考核指标报表数据3
indicatorsReportService.dealDriveIndReportThreeData(
unitDef.getCompareId(), Arrays.asList(unitDef.getIndIds().split(",")),
unitDef.getDate());
}
}
......
......@@ -29,4 +29,5 @@ public class IndicatorsReportThree {
private Integer indImproveHeadThreeCount;//指标提升排名前三的指标个数
private Integer indImproveAfterThreeCount;//指标提升排名末三的指标个数
private String indImproveRate;//指标提升率
private Integer effectiveIndCount;//有效的指标个数
}
......@@ -15,14 +15,14 @@
compare_obj, compare_obj_desc, compare_date, compare_type, batter_average_ind_count,
bad_average_ind_count, rank_head_three_ind_count, rank_after_three_ind_count,
ind_improve_count, ind_improve_head_three_count, ind_improve_after_three_count,
ind_improve_rate)
ind_improve_rate,effective_ind_count)
values
<foreach collection="datas" item="val" separator=",">
(
#{val.compareObj}, #{val.compareObjDesc}, #{val.compareDate}, #{val.compareType},
#{val.batterAverageIndCount}, #{val.badAverageIndCount}, #{val.rankHeadThreeIndCount},
#{val.rankAfterThreeIndCount}, #{val.indImproveCount}, #{val.indImproveHeadThreeCount},
#{val.indImproveAfterThreeCount}, #{val.indImproveRate}
#{val.indImproveAfterThreeCount}, #{val.indImproveRate}, #{val.effectiveIndCount}
)
</foreach>
</insert>
......@@ -67,6 +67,9 @@
<if test="val.indImproveRate != null">
ind_improve_rate = #{val.indImproveRate},
</if>
<if test="val.effectiveIndCount != null">
effective_ind_count = #{val.effectiveIndCount},
</if>
</set>
where id = ${val.id}
</foreach>
......
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