A.oc_id,
A.account_id,
A.permit_id,
B.permit_code
INSERT INTO s_account_permit
oc_id,
account_id,
permit_id,
#{ocId ,jdbcType=BIGINT},
#{accountId ,jdbcType=BIGINT},
#{permitId ,jdbcType=BIGINT},
DELETE
FROM s_account_permit
WHERE oc_id = #{ocId, jdbcType=BIGINT}
AND permit_id = #{permitId, jdbcType=BIGINT}
AND account_id = #{accountId, jdbcType=BIGINT}