瀏覽代碼

场景列表平台数据隔离

lyhzzz 9 月之前
父節點
當前提交
242f8326ff
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/resources/mapper/manage/JyUserPlatformMapper.xml

+ 3 - 0
src/main/resources/mapper/manage/JyUserPlatformMapper.xml

@@ -8,6 +8,9 @@
             left join jy_platform jp on up.platform_id = jp.id
             left join jy_platform jp on up.platform_id = jp.id
         </if>
         </if>
         where up.rec_status = 'A'
         where up.rec_status = 'A'
+        <if test="param.isJm != null and param.isJM == 1">
+            and up.is_jm =1
+        </if>
         <if test="param.name != null and param.name !=''">
         <if test="param.name != null and param.name !=''">
             and up.ry_nick_name like concat ('%',#{param.name},'%')
             and up.ry_nick_name like concat ('%',#{param.name},'%')
         </if>
         </if>