t.id as id, t.pro_info_id as proInfoId, t.pro_info_file as proInfoFile t.pro_info_id = #{proInfoId} AND t.pro_info_file = #{proInfoFile} AND insert into sys_pro_info_file id, pro_info_id, pro_info_file, pro_info_file_name, #{id}, #{proInfoId}, #{proInfoFile}, #{proInfoFileName}, update sys_pro_info_file pro_info_id=#{proInfoId}, pro_info_file=#{proInfoFile}, where id=#{id} update sys_pro_info_file SET is_use = 0 where id=#{id} delete from sys_pro_info_file where id=#{id} delete from sys_pro_info_file where pro_info_id=#{proInfoId}