select a.id, a.name, a.type, a.code, a.opening_bank, a.activation_date, a.bill_date, a.pay_date, a.delay_period, a.credit_limit, a.effective_date, a.cvv, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.remark, a.debit_type, a.lend_type, a.is_next_bill_date, a.next_bill_date_time, a.is_zero_bill from bank_card_lend a insert into bank_card_lend id, name, type, code, opening_bank, activation_date, bill_date, pay_date, delay_period, credit_limit, effective_date, cvv, create_by, create_time, update_by, update_time, del_flag, remark, debit_type, lend_type, is_next_bill_date, next_bill_date_time, is_zero_bill, #{id}, #{name}, #{type}, #{code}, #{openingBank}, #{activationDate}, #{billDate}, #{payDate}, #{delayPeriod}, #{creditLimit}, #{effectiveDate}, #{cvv}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{delFlag}, #{remark}, #{debitType}, #{lendType}, #{isNextBillDate}, #{nextBillDateTime}, #{isZeroBill}, update bank_card_lend name = #{name}, type = #{type}, code = #{code}, opening_bank = #{openingBank}, activation_date = #{activationDate}, bill_date = #{billDate}, pay_date = #{payDate}, delay_period = #{delayPeriod}, credit_limit = #{creditLimit}, effective_date = #{effectiveDate}, cvv = #{cvv}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, del_flag = #{delFlag}, remark = #{remark}, debit_type = #{debitType}, lend_type = #{lendType}, is_next_bill_date = #{isNextBillDate}, next_bill_date_time = #{nextBillDateTime}, is_zero_bill = #{isZeroBill}, where id = #{id} delete from bank_card_lend where id = #{id} delete from bank_card_lend where id in #{id} update bank_card_lend set del_flag='1' where id = #{id} update bank_card_lend set del_flag='1' where id in #{id}