bug fixed

This commit is contained in:
병준 박 2022-08-11 10:40:53 +00:00
parent 92eb996bbd
commit 2e051c3673

View File

@ -96,13 +96,13 @@ impl Composition {
_m.deleted_at as _m_deleted_at
FROM members as m
JOIN sites s
INNER JOIN sites s
ON s.id = m.site_id
JOIN member_classes mc
INNER JOIN member_classes mc
ON mc.id = m.member_class_id
JOIN member_levels ml
INNER JOIN member_levels ml
ON ml.id = m.member_level_id
JOIN members _m
LEFT OUTER JOIN members _m
ON _m.id = m.referrer_member_id
WHERE
m.id = $1
@ -190,13 +190,13 @@ impl Composition {
_m.deleted_at as _m_deleted_at
FROM members as m
JOIN sites s
INNER JOIN sites s
ON s.id = m.site_id
JOIN member_classes mc
INNER JOIN member_classes mc
ON mc.id = m.member_class_id
JOIN member_levels ml
INNER JOIN member_levels ml
ON ml.id = m.member_level_id
JOIN members _m
LEFT OUTER JOIN members _m
ON _m.id = m.referrer_member_id
WHERE
m.username = $1