lyhzzz 7 miesięcy temu
rodzic
commit
3436147b6f
1 zmienionych plików z 3 dodań i 1 usunięć
  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} ,'%')