yonge 5 年 前
コミット
44b4da1987

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

@@ -560,7 +560,7 @@
     <select id="queryOrganTeacherNum" resultType="map">
         select count(*) total,sum(case when job_nature_ = 'PART_TIME' then 1 else 0 end) part_time_num_,sum(case when
         job_nature_ = 'FULL_TIME' then 1 else 0 end) full_time_num_ from teacher
-        where demission_date_ is not null
+        where demission_date_ is null
             <if test="organId != null">
                 and FIND_IN_SET(organ_id_,#{organId})
             </if>