mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-29 23:50:00 +08:00
解绑鉴权卡
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
FROM
|
||||
order_invoice_record t1
|
||||
LEFT JOIN pile_merchant_info t2 ON t1.merchant_id = t2.id and t1.del_flag = '0'
|
||||
where 1 = 1
|
||||
where t1.del_flag = '0'
|
||||
<if test="dto.merchantDeptIds != null and dto.merchantDeptIds.size() != 0">
|
||||
and t2.dept_id in
|
||||
<foreach collection="dto.merchantDeptIds" item="deptId" open="(" separator="," close=")">
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
<include refid="Base_Column_List"/>
|
||||
from
|
||||
pile_auth_card
|
||||
where 1 = 1
|
||||
where del_flag = '0'
|
||||
<if test="status != null and status != ''">
|
||||
and status = #{status,jdbcType=VARCHAR}
|
||||
</if>
|
||||
|
||||
@@ -73,16 +73,17 @@
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from pile_member_relation
|
||||
where 1 = 1
|
||||
<if test="pileSn != null and pileSn != ''">
|
||||
and pile_sn = #{pileSn,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="memberId != null and memberId != ''">
|
||||
and member_id = #{memberId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="type != null and type != ''">
|
||||
and type = #{type,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<where>
|
||||
<if test="pileSn != null and pileSn != ''">
|
||||
and pile_sn = #{pileSn,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="memberId != null and memberId != ''">
|
||||
and member_id = #{memberId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="type != null and type != ''">
|
||||
and type = #{type,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<delete id="deleteRelationByIds">
|
||||
|
||||
@@ -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=")">
|
||||
|
||||
Reference in New Issue
Block a user