fvs中的富文本中写sql函数时,可以支持写日期参数吗?为何写了出不来数据,比如:
sql("数据连接测试","SELECT sum(dq) FROM test_r_kd_gk where index_name = '授信金额' and sx = '3' and sjdate = replace('${Date}','-','')",1,1)
这个需要拼接,不需要{}的,参考下面格式
sql("数据连接测试","SELECT sum(dq) FROM test_r_kd_gk where index_name = '授信金额' and sx = '3' and sjdate = '"+replace($Date,'-','')+"'",1,1)