Redeem il y a 1 an
Parent
commit
968e93ae8c
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      src/main/resources/com/steerinfo/dil/mapper/CommonMapper.xml

+ 4 - 1
src/main/resources/com/steerinfo/dil/mapper/CommonMapper.xml

@@ -41,7 +41,7 @@
         </if>
     </sql>
     <sql id="rootCompanyFilter">
-        <if test="rootCompanyMap != null and (rootCompanyMap.rootCompanyName.contains('安泰') or rootCompanyMap.rootCompanyName.contains('新泰'))">
+        <if test="rootCompanyMap != null and urlFlag != null and urlFlag != 'null' and urlFlag != ''">
             AND "rootCompanyId" = #{rootCompanyMap.rootCompanyId}
         </if>
     </sql>
@@ -88,6 +88,9 @@
                     <when test="item.contains('admin')">
                         1 = 1
                     </when>
+                    <when test="item.contains('siji)">
+                        1 = 1
+                    </when>
                     <otherwise>
                         1 != 1
                     </otherwise>