解绑鉴权卡

This commit is contained in:
2023-11-28 16:39:39 +08:00
parent 3928f4d555
commit a24398fa44
6 changed files with 22 additions and 20 deletions

View File

@@ -365,7 +365,7 @@
dept_id as deptId
from
pile_merchant_info
where 1 = 1
where del_flag = '0'
<if test="appId != null and appId != ''">
and app_id = #{appId,jdbcType=VARCHAR}
</if>
@@ -386,10 +386,8 @@
t1.create_time AS createTime
FROM
pile_merchant_info t1
left JOIN adapay_member_account t2 ON t1.id = t2.merchant_id
AND t1.del_flag = '0'
AND t2.del_flag = '0'
where 1 = 1
left JOIN adapay_member_account t2 ON t1.id = t2.merchant_id AND t2.del_flag = '0'
where t1.del_flag = '0'
<if test="dto.deptIds != null and dto.deptIds.size() != 0">
and t1.dept_id in
<foreach collection="dto.deptIds" item="deptId" open="(" separator="," close=")">