|
@@ -24,7 +24,7 @@
|
|
|
WHERE
|
|
|
a.`status` = 0
|
|
|
<if test="userId!=null and userId!=''">and e.user_id = #{userId}</if>
|
|
|
- <if test="accountId!=null and accountId!=''">and b.account_id = #{accountId}</if>
|
|
|
+ <if test="accountId!=null and accountId!=''">and a.account_id = #{accountId}</if>
|
|
|
<if test="keyWord!=null and keyWord!=''">and a.text_copywriter like concat('%',#{keyWord},'%')</if>
|
|
|
<if test="startTime!=null and startTime!=''">and STR_TO_DATE(d.stat_datetime,'%Y-%m-%d') >= STR_TO_DATE(#{startTime},'%Y-%m-%d')</if>
|
|
|
<if test="endTime!=null and endTime!=''">and STR_TO_DATE(d.stat_datetime,'%Y-%m-%d') <= STR_TO_DATE(#{endTime},'%Y-%m-%d')</if>
|