he2802 hace 2 años
padre
commit
8c054ef3e7

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/system/SysTenantMapper.xml

@@ -32,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="findTenantId" parameterType="com.zhongzheng.modules.system.bo.SysTenantQueryBo" resultType="long">
         select tenant_id
-        from sys_tenant where (host_pc = #{hostPc} or host_h5 = #{hostH5} or host_live = #{hostLive})
+        from sys_tenant where (host_pc = #{hostPc} or host_h5 = #{hostH5} or host_live = #{hostLive} or host_admin = #{hostAdmin})
     </select>