sql("zzma","select sell_fee_rate from tbase_sell_fee where sdepart_name= '"+A26+"' and busi_type='"+if(B26="YWX01","软件业务","集成服务业务")+"'")
sql("zzma","select sell_fee_rate from tbase_sell_fee where sdepart_name= '"+A26+"' and busi_type='"+if(B26="YWX01","软件业务","集成服务业务")+"'",1,1)
没定义返回的行号列hao?
你只执行了查询,并没有要求返回的数据列,所以没有输出结果,
写法参考这个
sql(
"zzma"
,
"select sell_fee_rate from tbase_sell_fee where sdepart_name= '"
+A26+
"' and busi_type='"
+
if
(B26=
"YWX01"
"软件业务"
"集成服务业务"
)+
"'"
,1,1)