shangke há 2 anos atrás
pai
commit
8fe051cca4

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

@@ -25,7 +25,7 @@
 	<!--学校员工身份数统计-->
 	<select id="selectUserTypeNumsStat" resultType="com.ym.mec.biz.dal.wrapper.StatGroupWrapper">
 		SELECT t1.user_type_ AS gid, COUNT(t1.user_id_) AS total
-		FROM school_staff t1 WHERE t1.school_id_ = #{sch} GROUP BY t1.user_type_
+		FROM school_staff t1 WHERE t1.school_id_ = #{schoolId} GROUP BY t1.user_type_
 	</select>
 	<!--学校员工身份数统计-->