yonge 3 years ago
parent
commit
88831ee1a1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

@@ -305,7 +305,7 @@
                 AND pg.user_id_=#{teacherId}
             </if>
             <if test="tenantId != null">
-                AND pg.tenanr_id_ = #{tenantId}
+                AND pg.tenant_id_ = #{tenantId}
             </if>
             <if test="studentId != null">
                 AND pg.student_id_ = #{studentId}
@@ -370,7 +370,7 @@
     <sql id="practiceGroupReviewsQueryCondition">
         <where>
             pg.group_status_ != 'LOCK'
-            AND pg.tenanr_id_ = #{tenantId}
+            AND pg.tenant_id_ = #{tenantId}
             <if test="month != null">
                 AND DATE_FORMAT(cse.create_time_, '%Y-%m') = #{month}
             </if>