|
@@ -611,11 +611,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="getCountWatchCourse" resultType="com.fs.store.vo.h5.UserDetailsVO">
|
|
|
SELECT
|
|
|
- <if test="dateTag == null or dateTag =='' ">
|
|
|
+ <if test="dateTag == null or dateTag =='' or dateTag == '近七天' ">
|
|
|
ifnull( sum(complete_watch_count), 0 ) AS completeWatchCount ,
|
|
|
ifnull( sum(watch_times), 0 ) AS watchTimes,
|
|
|
</if>
|
|
|
- <if test="dateTag != null and dateTag !='' ">
|
|
|
+ <if test="dateTag != null and dateTag !='' and dateTag != '近七天' ">
|
|
|
ifnull( complete_watch_count, 0 ) AS completeWatchCount ,
|
|
|
ifnull( watch_times, 0 ) AS watchTimes,
|
|
|
</if>
|