用户UID

This commit is contained in:
2025-03-14 16:48:54 +08:00
parent 05bc2773b9
commit 41aba63e5d
17 changed files with 31 additions and 143 deletions

View File

@ -70,7 +70,7 @@
where id = #{id}
</delete>
<select id="list" resultType="com.ycwl.basic.model.pc.member.resp.MemberRespVO">
select id, scenic_id, openid,avatar_url, nickname, real_name, promo_code, broker_id, agreement, phone, country, province, city,
select id, uid, scenic_id, openid,avatar_url, nickname, real_name, promo_code, broker_id, agreement, phone, country, province, city,
(select count(1) from `order` where `order`.member_id = member.id) as order_count,
create_date
from member
@ -111,7 +111,7 @@
</where>
</select>
<select id="getById" resultType="com.ycwl.basic.model.pc.member.resp.MemberRespVO">
select id,
select id, uid,
scenic_id,
openid,
avatar_url,
@ -133,7 +133,7 @@
where member_id = #{memberId} and scenic_id = #{scenicId}
</select>
<select id="getByOpenId" resultType="com.ycwl.basic.model.pc.member.resp.MemberRespVO">
select id,
select id, uid,
scenic_id,
openid,
avatar_url,

View File

@ -129,7 +129,7 @@
<select id="listRelationByFaceAndTemplate" resultType="com.ycwl.basic.model.pc.video.entity.MemberVideoEntity">
select mv.*
from member_video mv
where mv.member_id = #{userId} and mv.face_id = #{faceId} and mv.template_id = #{templateId}
where mv.face_id = #{faceId} and mv.template_id = #{templateId}
</select>
<select id="listTaskByScenicRelation" resultType="com.ycwl.basic.model.pc.task.entity.TaskEntity">
select t.*