BUGFIX:管理员查design频次与chart中获取到的数量有区别

This commit is contained in:
2026-01-27 14:59:39 +08:00
parent 497421e7fe
commit 412550df27
5 changed files with 39 additions and 8 deletions

View File

@@ -61,10 +61,10 @@
</if>
<!-- 添加时间区间查询条件 -->
<if test="startTime != null and startTime != ''">
AND cd.create_time &gt;= #{startTime}
AND create_time &gt;= #{startTime}
</if>
<if test="endTime != null and endTime != ''">
AND cd.create_time &lt;= #{endTime}
AND create_time &lt;= #{endTime}
</if>
GROUP BY
account_id

View File

@@ -52,8 +52,10 @@
AND b.create_date between #{startTime} and #{endTime}
</if>
</where>
and b.create_date not like '%:01'
and b.create_date not like '%:02'
<if test="filterBySecond">
and b.create_date not like '%:01'
and b.create_date not like '%:02'
</if>
<if test="ids != null and ids.size() > 0">
and a.id in
<foreach item="id" collection="ids" open="(" separator="," close=")">