if(ds3.select(slig, id = C7 && vote_type_code = F7 && zb_code = H3 && string_value = H5) = null,0,ds3.select(slig, id = C7 && vote_type_code = H7 && zb_code = H3 && string_value = H5))
公式是合法的,按照这个条件对应了库表是有数据的,但为啥是空呢
改成这个试试
if(len(ds3.select(slig, id = C7 && vote_type_code = F7 && zb_code = H3 && string_value = H5)) = 0 ,0,ds3.select(slig, id = C7 && vote_type_code = H7 && zb_code = H3 && string_value = H5))
ps,另外看看C7,F7,H3,H5 取到数据是单个值,还是多个,多个就查询不出了