Sfoglia il codice sorgente

v4.9.0 定时任务删除相机原始目录增加原始资源目录正确性校验

dsx 2 anni fa
parent
commit
73af364afa

+ 1 - 1
src/main/resources/mapper/scene/ScenePlusMapper.xml

@@ -8,7 +8,7 @@
         left join t_scene_plus_ext ext on plus.id = ext.plus_id
         where plus.scene_status in (1,-2) and ext.algorithm_time <![CDATA[ < ]]> #{time}
         and ext.data_source is NOT null
-        and NOT EXISTS (select o.num from t_scene_clean_orig o where o.rec_status = 'A' and o.state = 1 and o.num = plus.num and ext.algorithm_time <![CDATA[ < ]]> o.create_time)
+        and NOT EXISTS (select o.num from t_scene_clean_orig o where o.rec_status = 'A' and o.num = plus.num and ext.algorithm_time <![CDATA[ < ]]> o.create_time)
     </select>
 
 </mapper>

+ 1 - 1
src/main/resources/mapper/scene/SceneProMapper.xml

@@ -7,7 +7,7 @@
         from t_scene_pro pro
         where pro.status in (1,-2) and pro.create_time <![CDATA[ < ]]> #{time}
         and pro.data_source is not null
-        and NOT EXISTS (select o.num from t_scene_clean_orig o where o.rec_status = 'A' and o.state = 1 and o.num = pro.num and pro.create_time <![CDATA[ < ]]> o.create_time)
+        and NOT EXISTS (select o.num from t_scene_clean_orig o where o.rec_status = 'A' and o.num = pro.num and pro.create_time <![CDATA[ < ]]> o.create_time)
     </select>
 
 </mapper>