瀏覽代碼

老师统计修改

liweifan 3 年之前
父節點
當前提交
3e3d5c169f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      cooleshow-user/user-biz/src/main/resources/config/mybatis/HomeMapper.xml

+ 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>