This commit is contained in:
Jerry Yan 2025-03-25 11:11:53 +08:00
parent 2b43d8a7b7
commit a0703e48c9

View File

@ -160,10 +160,10 @@
left join face f on f.id = mv.face_id left join face f on f.id = mv.face_id
where f.scenic_id = #{scenicId} where f.scenic_id = #{scenicId}
<if test="startTime!= null"> <if test="startTime!= null">
and f.create_time >= #{startTime} and f.create_at >= #{startTime}
</if> </if>
<if test="endTime!= null"> <if test="endTime!= null">
and f.create_time &lt;= #{endTime} and f.create_at &lt;= #{endTime}
</if> </if>
group by member_id group by member_id
)a )a