You've already forked FrameTour-BE
生成视频时发送通知,其他调整
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ycwl.basic.mapper.MemberMapper">
|
||||
<insert id="add">
|
||||
insert into member(id, openid,avatar_url, nickname, real_name, promo_code, broker_id, agreement, phone, country, province,
|
||||
insert into member(id, scenic_id, openid,avatar_url, nickname, real_name, promo_code, broker_id, agreement, phone, country, province,
|
||||
city)
|
||||
values (#{id}, #{openId}, #{avatarUrl},#{nickname}, #{realName}, #{promoCode}, #{brokerId}, #{agreement}, #{phone},
|
||||
values (#{id}, #{scenicId}, #{openId}, #{avatarUrl},#{nickname}, #{realName}, #{promoCode}, #{brokerId}, #{agreement}, #{phone},
|
||||
#{country}, #{province}, #{city})
|
||||
</insert>
|
||||
<insert id="addScenicServiceNoticeStatus">
|
||||
@@ -14,6 +14,9 @@
|
||||
<update id="update">
|
||||
update member
|
||||
<set>
|
||||
<if test="scenicId!= null">
|
||||
scenicId = #{scenicId},
|
||||
</if>
|
||||
<if test="openId!= null and openId!= ''">
|
||||
openid = #{openId},
|
||||
</if>
|
||||
@@ -67,7 +70,7 @@
|
||||
where id = #{id}
|
||||
</delete>
|
||||
<select id="list" resultType="com.ycwl.basic.model.pc.member.resp.MemberRespVO">
|
||||
select id, openid,avatar_url, nickname, real_name, promo_code, broker_id, agreement, phone, country, province, city,
|
||||
select id, 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
|
||||
@@ -75,6 +78,9 @@
|
||||
<if test="openId!= null and openId!= ''">
|
||||
and openid like concat('%',#{openId},'%')
|
||||
</if>
|
||||
<if test="scenicId!= null">
|
||||
and scenic_id = #{scenicId}
|
||||
</if>
|
||||
<if test="nickname!= null and nickname!= ''">
|
||||
and nickname like concat('%',#{nickname},'%')
|
||||
</if>
|
||||
@@ -106,6 +112,7 @@
|
||||
</select>
|
||||
<select id="getById" resultType="com.ycwl.basic.model.pc.member.resp.MemberRespVO">
|
||||
select id,
|
||||
scenic_id,
|
||||
openid,
|
||||
avatar_url,
|
||||
nickname,
|
||||
|
Reference in New Issue
Block a user