微信登录查询方法修改为 根据appid查询一级运营商merchantid

This commit is contained in:
Lemon
2023-08-04 14:19:45 +08:00
parent 3b2a20026b
commit d4287259a3
6 changed files with 29 additions and 26 deletions

View File

@@ -333,4 +333,14 @@
where del_flag = '0'
and merchant_level = '1'
</select>
<select id="getFirstLevelMerchantIdByAppId" resultType="java.lang.String">
select
id
from
pile_merchant_info
where
app_id = #{appId,jdbcType=VARCHAR}
and merchant_level = '1'
</select>
</mapper>