瀏覽代碼

增加转换接口v5

xiewenjie 3 年之前
父節點
當前提交
c93c86af9f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      sxz-core/src/main/java/com/fdkk/sxz/webApi/mapper/ISceneMapper.java

+ 2 - 1
sxz-core/src/main/java/com/fdkk/sxz/webApi/mapper/ISceneMapper.java

@@ -17,7 +17,8 @@ import java.util.List;
 @Component("ISceneMapper")
 public interface ISceneMapper extends IBaseMapper<SceneEntity> {
 
-    @Select("SELECT DISTINCT ts.* FROM tb_scene ts LEFT JOIN tb_scene_style tss on ts.scene_num = tss.scene_num and tss.`status`!= 2   WHERE  ts.user_id=#{param.userId} and tss.id is NOT null " +
+    @Select("SELECT DISTINCT ts.* FROM tb_scene ts LEFT JOIN tb_scene_style tss on ts.scene_num = tss.scene_num and tss.`status`!= 2   WHERE  ts.user_id=#{param.userId} and tss.id is NOT null  " +
+            "and tss.rec_status='A' and ts.rec_status='A'  " +
             "ORDER BY ts.create_time, ts.id DESC")
     List<SceneEntity> findAllByStatus(@Param("param") RequestScene scene);
 }