Commit 2082d9aa by hzc

报表四清表增加时间维度条件。报表四新增指标排名字段

parent 54eb478d
...@@ -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" )
......
...@@ -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);
} }
...@@ -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
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