select a.id, a.name, a.type, a.code, a.password, a.trading_center_code, a.trading_center_password, a.fund_password, a.commission, a.bond, a.debit_card, a.activation_date, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.remark , bc."name" as bank_name, bc.code as bank_code, t.balance, t.available_limit from future_stocks a left join bank_card_lend bc on bc.id = a.debit_card left join accounts t on t.id=a.id insert into future_stocks id, name, type, code, password, trading_center_code, trading_center_password, fund_password, commission, bond, debit_card, activation_date, create_by, create_time, update_by, update_time, del_flag, remark, #{id}, #{name}, #{type}, #{code}, #{password}, #{tradingCenterCode}, #{tradingCenterPassword}, #{fundPassword}, #{commission}, #{bond}, #{debitCard}, #{activationDate}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{delFlag}, #{remark}, update future_stocks name = #{name}, type = #{type}, code = #{code}, password = #{password}, trading_center_code = #{tradingCenterCode}, trading_center_password = #{tradingCenterPassword}, fund_password = #{fundPassword}, commission = #{commission}, bond = #{bond}, debit_card = #{debitCard}, activation_date = #{activationDate}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, del_flag = #{delFlag}, remark = #{remark}, where id = #{id} delete from future_stocks where id = #{id} delete from future_stocks where id in #{id} update future_stocks set del_flag='1' where id = #{id} update future_stocks set del_flag='1' where id in #{id}