if length(v_bz)=0 or v_bz=null then
修改为:
if length(v_bz)=0 or v_bz is null then