Jelajahi Sumber

项目场景为空,列表返回为空

lyhzzz 1 tahun lalu
induk
melakukan
99d65b7d92

+ 1 - 0
src/main/java/com/fdkankan/manage_jp/vo/request/SceneParam.java

@@ -35,4 +35,5 @@ public class SceneParam extends RequestBase {
     private Integer projectId;
     private List<String> projectNums;
     private Integer mapShow;
+    private Integer isLaser;
 }

+ 6 - 0
src/main/resources/mapper/manage_jp/SceneProMapper.xml

@@ -47,6 +47,12 @@
         <if test="param.neStatus != null  ">
             and s.pay_status !=#{param.neStatus}
         </if>
+        <if test="param.isLaser !=null and param.isLaser == 1">
+            and s.scene_source in (4,5)
+        </if>
+        <if test="param.isLaser !=null and param.isLaser == 0">
+            and s.scene_source not in (4,5)
+        </if>
         <if test="param.type !=null and param.type == 0">
             and s.scene_source in (1,2,12,13,14)
         </if>