lyhzzz 7 月之前
父節點
當前提交
3436147b6f
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main/resources/mapper/tk/ScenePlusMapper.xml

+ 3 - 1
src/main/resources/mapper/tk/ScenePlusMapper.xml

@@ -7,8 +7,10 @@
             left join t_scene_plus_ext e on s.id = e.plus_id
             left join t_user u on s.user_id = u.id
         where s.rec_status = 'A'
+                  (and s.scene_source in (0,1,3)
+                  or (s.scene_source in (4,5) and e.is_obj = 1))
         <if test="param.status != null and param.status ==2">
-            and s.scene_status = -2
+            and s.scene_status = -2 and s.pay_status = 1
         </if>
         <if test="param.sceneName!= null and param.sceneName !=''">
             and s.title  like concat ('%', #{param.sceneName} ,'%')