src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -215,7 +215,7 @@ FROM mall_member e INNER JOIN mall_order_info b ON e.id = b.member_id AND b. STATUS = 4 AND b.STATUS = 4 and b.comment_state = 2 WHERE e.invite_id = #{inviteId} @@ -364,7 +364,7 @@ and b.invite_id=#{inviteId} </if> <if test="type == 2"> and find_in_set(#{inviteId}, b.referrer_ids) and (find_in_set(#{inviteId}, b.referrer_ids) or b.invite_id=#{inviteId}) </if> </select>