Commit 7f3aa7f0 authored by 周健威's avatar 周健威

修改代码

parent 627c4d50
......@@ -42,12 +42,12 @@ public class CoverScheduleTask {
public void configureTasks() {
//定时统计覆盖率数据
//查询未处理覆盖率影像最早时间和最晚时间
// MaxMinVO vo = rscpImageDataTotalBiz.coverStatisticsMaxMin();
// if(null == vo.getMaxTime()) {
// log.info("无需更新");
// return;
// }
//
MaxMinVO vo = rscpImageDataTotalBiz.coverStatisticsMaxMin();
if(null == vo.getMaxTime()) {
log.info("无需更新");
return;
}
// //生成月份循环
// DateUtil.
// for(String satelliteType : satelliteTypes){
......
......@@ -41,16 +41,16 @@
<where>
and ric.is_del = 0
<if test="type != null">
and ric.type like '%' || #{type} || '%'
and ric.type = #{type}
</if>
<if test="dateYear != null">
and ric.date_year like '%' || #{dateYear} || '%'
and ric.date_year = #{dateYear}
</if>
<if test="dateMonth != null">
and ric.date_month like '%' || #{dateMonth} || '%'
and ric.date_month = #{dateMonth}
</if>
<if test="areaCode != null">
and ric.area_code like '%' || #{areaCode} || '%'
and ric.area_code = #{areaCode}
</if>
<!-- <if test="imageSatelliteType != null">-->
<!-- and image_satellite_type like '%' || #{imageSatelliteType} || '%'-->
......
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