家族-结算-按周期时间内查询有效公会成员-sql-参数
This commit is contained in:
@@ -28,8 +28,7 @@
|
|||||||
<if test="familyId != null">
|
<if test="familyId != null">
|
||||||
and fm.family_id = #{familyId}
|
and fm.family_id = #{familyId}
|
||||||
</if>
|
</if>
|
||||||
and fm.family_id = 11
|
and (fm.enable = 1 or (fm.update_time between #{startTime} and #{endTime}))
|
||||||
and (fm.enable = 1 or (fm.update_time between '2025-10-01 00:00:00' and '2025-10-15 23:59:59'))
|
|
||||||
group by family_id, uid
|
group by family_id, uid
|
||||||
) fmm on fm.id = fmm.id
|
) fmm on fm.id = fmm.id
|
||||||
order by role_type asc , enable desc, create_time asc
|
order by role_type asc , enable desc, create_time asc
|
||||||
|
Reference in New Issue
Block a user