Procházet zdrojové kódy

老师统计修改

liweifan před 3 roky
rodič
revize
3e3d5c169f

+ 2 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/HomeMapper.xml

@@ -45,6 +45,7 @@
 				count(1) as entryNum
 			from teacher t
 			<where>
+				t.entry_flag_ = 1
 				<if test="param.startTime !=null">
 					<![CDATA[AND t.entry_auth_date_ >= #{param.startTime} ]]>
 				</if>
@@ -75,6 +76,7 @@
 				count(1) as musicianNum
 			from teacher t
 			<where>
+				t.musician_flag_ = 1
 				<if test="param.startTime !=null">
 					<![CDATA[AND t.musician_date_ >= #{param.startTime} ]]>
 				</if>