This commit is contained in:
2025-07-27 19:06:34 +08:00
parent 0ca7cd694e
commit fa481d52bb
3 changed files with 18 additions and 5 deletions

View File

@@ -65,8 +65,8 @@
FROM `t_stats_record` r
left join `t_stats` s on r.trace_id=s.trace_id
where r.trace_id in (select trace_id from `t_stats_record` where action = 'ENTER_SCENIC' and `identifier`=#{scenicId})
and action = 'CLICK'
and identifier = 'BUY'
and action = 'PAYMENT'
and (identifier = 'PAY_REQ' or identifier = 'PAY_BATCH_REQ' or identifier = 'PAY_SOURCE_REQ' or identifier = 'PAY_BATCH_REQ')
<if test="startTime!= null">
and s.create_time >= #{startTime}
</if>