师傅修改结算银行卡

This commit is contained in:
HH 2023-03-12 22:59:11 +08:00
parent 1fbe22585b
commit 63a71b5bda
2 changed files with 4 additions and 4 deletions

View File

@ -219,7 +219,7 @@ public class AdapayService {
settleCountParams.put("app_id", appId); settleCountParams.put("app_id", appId);
settleCountParams.put("settle_account_id", settleAccountId); settleCountParams.put("settle_account_id", settleAccountId);
settleCountParams.put("member_id", memberId); settleCountParams.put("member_id", memberId);
return (JSONObject) SettleAccount.delete(settleCountParams); return (JSONObject) SettleAccount.delete(settleCountParams, deptId.toString());
} }
/** /**

View File

@ -58,9 +58,9 @@
<if test="phone != null and phone != ''">phone = #{phone},</if> <if test="phone != null and phone != ''">phone = #{phone},</if>
<if test="bankNum != null and bankNum != ''">bank_num = #{bankNum},</if> <if test="bankNum != null and bankNum != ''">bank_num = #{bankNum},</if>
<if test="settleAccountId != null and settleAccountId != ''">settle_account_id = #{settleAccountId},</if> <if test="settleAccountId != null and settleAccountId != ''">settle_account_id = #{settleAccountId},</if>
updateTime = NOW() update_time = NOW()
</set> </set>
WHERE adapay_member_id = #{memberId} WHERE adapay_member_id = #{adapayMemberId}
</update> </update>
<select id="getByWorkerId" parameterType="Long" resultMap="WorkerBankResult"> <select id="getByWorkerId" parameterType="Long" resultMap="WorkerBankResult">
@ -76,7 +76,7 @@
<select id="getByMemberId" parameterType="String" resultMap="WorkerBankResult"> <select id="getByMemberId" parameterType="String" resultMap="WorkerBankResult">
SELECT * SELECT *
FROM worker_bank FROM worker_bank
WHERE adapay_member_id = #{memberId} WHERE adapay_member_id = #{adapayMemberId}
</select> </select>
<select id="getByWorkerIds" resultMap="WorkerBankResult"> <select id="getByWorkerIds" resultMap="WorkerBankResult">