新增消息中心功能

This commit is contained in:
xiezhijun
2021-04-27 19:48:22 +08:00
parent d5e9933fe7
commit bbbc4f2753
14 changed files with 742 additions and 3 deletions

View File

@ -156,6 +156,12 @@
where phone = #{phone} and del_flag = 0
</select>
<!-- 根据openId查询客户 -->
<select id="getCustomerByOpenId" parameterType="String" resultMap="SysCustomerResult">
select sc.id from sys_customer sc
left join sys_wx_user_info wu on wu.phone = sc.phone
where wu.openid = #{openid} and sc.del_flag = 0 order by sc.id desc limit 1
</select>
</mapper>