家族-结算-按周期时间内查询有效公会成员-sql-参数

This commit is contained in:
2025-10-20 10:58:55 +08:00
parent 33c3042044
commit 98643022da

View File

@@ -28,8 +28,7 @@
<if test="familyId != null">
and fm.family_id = #{familyId}
</if>
and fm.family_id = 11
and (fm.enable = 1 or (fm.update_time between '2025-10-01 00:00:00' and '2025-10-15 23:59:59'))
and (fm.enable = 1 or (fm.update_time between #{startTime} and #{endTime}))
group by family_id, uid
) fmm on fm.id = fmm.id
order by role_type asc , enable desc, create_time asc