|
@@ -56,9 +56,6 @@
|
|
|
FROM cm_order
|
|
|
<where>
|
|
|
clubID = #{clubID}
|
|
|
- <if test="accessDate != null and accessDate != ''">
|
|
|
- AND orderTime like concat('%',#{accessDate},'%')
|
|
|
- </if>
|
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
AND orderTime <![CDATA[ >= ]]> #{startTime} AND orderTime <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
@@ -74,9 +71,6 @@
|
|
|
FROM cm_behavior_record cbr LEFT JOIN club c ON cbr.userID = c.userID
|
|
|
<where>
|
|
|
cbr.pageType IN (8, 9) AND c.clubID = #{clubID} AND cbr.pageLabel IS NOT NULL AND cbr.pageLabel != ''
|
|
|
- <if test="accessDate != null and accessDate != ''">
|
|
|
- AND cbr.accessDate = #{accessDate}
|
|
|
- </if>
|
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
AND cbr.accessDate <![CDATA[ >= ]]> #{startTime} AND cbr.accessDate <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
@@ -95,9 +89,6 @@
|
|
|
FROM cm_club_remarks
|
|
|
<where>
|
|
|
clubID = #{clubID}
|
|
|
- <if test="accessDate != null and accessDate != ''">
|
|
|
- AND addTime like concat('%', #{accessDate},'%')
|
|
|
- </if>
|
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
AND addTime <![CDATA[ >= ]]> #{startTime} AND addTime <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
@@ -115,9 +106,6 @@
|
|
|
LEFT JOIN club c ON cbr.userID = c.userID
|
|
|
<where>
|
|
|
c.clubID = #{clubID}
|
|
|
- <if test="accessDate != null and accessDate != ''">
|
|
|
- AND cbr.accessDate like concat('%', #{accessDate},'%')
|
|
|
- </if>
|
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
AND cbr.accessDate <![CDATA[ >= ]]> #{startTime} AND cbr.accessDate <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|