瀏覽代碼

v4.10.0 冻结

dsx 2 年之前
父節點
當前提交
d4b93e4533
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/scene/ScenePlusMapper.xml

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

@@ -39,7 +39,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 c.num from t_scene_cold_storage c where c.rec_status = 'A' and c.num = plus.num)
+        and NOT EXISTS (select c.num from t_scene_cold_storage c where c.rec_status = 'A' AND c.`state` = 1 and c.num = plus.num)
         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)
     </select>