You've already forked FrameTour-BE
生成视频时发送通知,其他调整
This commit is contained in:
@ -115,7 +115,7 @@ YfkdFNxtYLdVAwuylMoV3fKI
|
||||
|
||||
# 人脸合格得分
|
||||
face:
|
||||
score: 80
|
||||
score: 75
|
||||
|
||||
# 存储
|
||||
storage:
|
||||
|
@ -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,
|
||||
|
9
src/main/resources/mapper/MpNotifyConfigMapper.xml
Normal file
9
src/main/resources/mapper/MpNotifyConfigMapper.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.ycwl.basic.mapper.MpNotifyConfigMapper">
|
||||
<select id="listByMpId" resultType="com.ycwl.basic.model.pc.mp.MpNotifyConfigEntity">
|
||||
select *
|
||||
from mp_notify_config
|
||||
where mp_id = #{mpId}
|
||||
</select>
|
||||
</mapper>
|
@ -73,16 +73,14 @@
|
||||
where so.id = #{id}
|
||||
</select>
|
||||
<select id="listGroupByType" resultType="com.ycwl.basic.model.pc.source.resp.SourceRespVO">
|
||||
select so.id, ms.scenic_id,sc.name scenicName, sc.longitude ,sc.latitude,so.type,so.is_buy
|
||||
select ms.type, ms.is_buy
|
||||
from member_source ms
|
||||
left join source so on ms.source_id = so.id
|
||||
left join scenic sc on sc.id = so.scenic_id
|
||||
<where>
|
||||
<if test="scenicId!= null">and so.scenic_id = #{scenicId} </if>
|
||||
<if test="scenicId!= null">and ms.scenic_id = #{scenicId} </if>
|
||||
<if test="memberId!= null">and ms.member_id = #{memberId} </if>
|
||||
<if test="isBuy!=null">and ms.is_buy = #{isBuy}</if>
|
||||
</where>
|
||||
group by so.type
|
||||
group by ms.type
|
||||
</select>
|
||||
<select id="countByMemberId" resultType="java.lang.Integer">
|
||||
select count(1) from member_source where member_id = #{userId}
|
||||
|
@ -115,6 +115,11 @@
|
||||
from member_video mv
|
||||
where mv.member_id = #{userId} and mv.face_id = #{faceId}
|
||||
</select>
|
||||
<select id="listRelationByTask" resultType="com.ycwl.basic.model.pc.video.entity.MemberVideoEntity">
|
||||
select mv.*
|
||||
from member_video mv
|
||||
where mv.task_id = #{taskId}
|
||||
</select>
|
||||
<select id="listRelationByFaceAndTemplate" resultType="com.ycwl.basic.model.pc.video.entity.MemberVideoEntity">
|
||||
select mv.*
|
||||
from member_video mv
|
||||
@ -132,4 +137,10 @@
|
||||
where member_id = #{userId} and video_id = #{videoId}
|
||||
limit 1
|
||||
</select>
|
||||
<select id="queryRelationByMemberTask" resultType="com.ycwl.basic.model.pc.video.entity.MemberVideoEntity">
|
||||
select *
|
||||
from member_video
|
||||
where member_id = #{userId} and task_id = #{taskId}
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user