浏览代码

1、机构账户修改conf应该改默认值
2、subject/queryPageTree 接口没有数据隔离

zouxuan 3 年之前
父节点
当前提交
718dc3ce01

+ 1 - 0
mec-biz/src/main/resources/config/mybatis/ChildrenDayReserveMapper.xml

@@ -157,6 +157,7 @@
     </select>
     <sql id="queryChildrenStatisticsSql">
         <where>
+            cdr.tenant_id_ = #{tenantId}
             <if test="cooperationId != null">
                 AND cdr.cooperation_organ_id_ = #{cooperationId}
             </if>

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

@@ -424,7 +424,7 @@
 
     <sql id="student4OperatingQueryCondition">
         <where>
-            su.user_type_ LIKE '%STUDENT%' and su.tenant_id_ = #{tenantId}
+            su.user_type_ LIKE '%STUDENT%' and s.tenant_id_ = #{tenantId}
             <if test="search != null and search != ''">
                 AND (su.phone_ LIKE CONCAT('%',#{search},'%') OR su.username_ LIKE CONCAT('%',#{search},'%') OR su.id_
                 LIKE CONCAT('%',#{search},'%'))