Commit 2082d9aa by hzc

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

parent 54eb478d
......@@ -78,6 +78,12 @@ public class IndicatorsReportFour implements Serializable {
private String value;
/**
* 指标值排名
*/
@Column(name = "value_rank" )
private Integer valueRank;
/**
* 同期值
*/
@Column(name = "same_value" )
......
......@@ -18,5 +18,5 @@ import java.util.List;
public interface IndicatorsReportFourMapper extends BaseMapper<IndicatorsReportFour> {
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 @@
</insert>
<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>
</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