diff --git a/cereshop-admin/src/main/resources/mybatis/mapper/member/CerePlatformMemberLevelDAO.xml b/cereshop-admin/src/main/resources/mybatis/mapper/member/CerePlatformMemberLevelDAO.xml index 43dc959..2dd024f 100644 --- a/cereshop-admin/src/main/resources/mybatis/mapper/member/CerePlatformMemberLevelDAO.xml +++ b/cereshop-admin/src/main/resources/mybatis/mapper/member/CerePlatformMemberLevelDAO.xml @@ -151,7 +151,7 @@ SELECT buyer_user_id,IF(wechat_name IS NULL,`name`,wechat_name) wechat_name,token,phone,head_image,member_level_id, - growth, credit, if_black FROM cere_buyer_user where wechat_open_id=#{openid} AND project=#{project} + growth, credit, if_black, project FROM cere_buyer_user where wechat_open_id=#{openid} AND project=#{project} + - select - from cere_platform_member_level + from cere_platform_member_level where business_id=#{businessId} order by growth limit 1