t.tch_file_type_id as tchFileTypeId, t.tch_file_type_name as tchFileTypeName, t.is_use as isUse t.is_use = 1 AND t.tch_file_type_name = #{tchFileTypeName} AND insert into t_tch_file_type tch_file_type_id, tch_file_type_name, is_use, company_id, #{tchFileTypeId}, #{tchFileTypeName}, #{isUse}, #{companyId}, update t_tch_file_type tch_file_type_name=#{tchFileTypeName}, is_use=#{isUse}, where tch_file_type_id=#{tchFileTypeId} update t_tch_file_type SET is_use = 0 where tch_file_type_id=#{tchFileTypeId} delete from t_tch_file_type where tch_file_type_id=#{tchFileTypeId}