一:if 条件 then 分支语句1 else 分支语句2 end if; 二:case when 条件1 then 结果1 when 条件2 then 结果2 [else 其他结果] end case;
if @type='FN' or @type='TF' or @type='IF'