This commit is contained in:
2025-04-05 13:21:52 +08:00
parent 67dca0d4d4
commit 0ab142e1c4
19 changed files with 215 additions and 337 deletions

View File

@ -31,6 +31,13 @@
<if test="endTime!= null">
and create_time &lt;= #{endTime}
</if>
and member_id in (select member_id from statistics where type = 1
<if test="startTime!= null">
and create_time >= #{startTime}
</if>
<if test="endTime!= null">
and create_time &lt;= #{endTime}
</if>)
group by member_id
)a
</select>