Browse Source

PC端商城登录成功获取用户信息异常处理

multiwx
dy-hu 6 months ago
parent
commit
dbd3acb1c9
  1. 2
      cereshop-app/src/main/resources/mybatis/mapper/buyer/CereBuyerUserDAO.xml

2
cereshop-app/src/main/resources/mybatis/mapper/buyer/CereBuyerUserDAO.xml

@ -357,7 +357,7 @@
<select id="getUser" parameterType="java.lang.Object" resultType="com.shop.cereshop.app.page.buyer.MyUser">
SELECT a.buyer_user_id, `name`, `sex`, birthday, real_name,id_card,phone,a.create_time, head_image, member_level_id, growth,
a.credit, sum(b.credit) as totalCredit FROM cere_buyer_user a
a.credit, sum(b.credit) as totalCredit, a.project FROM cere_buyer_user a
left join cere_credit_record b on b.buyer_user_id = a.buyer_user_id and b.record_type = 1
where a.buyer_user_id = #{buyerUserId}
</select>

Loading…
Cancel
Save