优化这段代码doFieldSQL(" select sum(yearall) from uf_UserBudgetLimit where trim(uf_UserBudgetLimit.yskm)=trim('$detail_2.kmid$' ) and uf_UserBudgetLimit.ysny='$main.ny$' and (uf_UserBudgetLimit.bmmc='$main.bm$') ")
时间: 2023-06-01 10:03:41 浏览: 87
doFieldSQL("SELECT SUM(yearall) FROM uf_UserBudgetLimit WHERE TRIM(uf_UserBudgetLimit.yskm) = TRIM('$detail_2.kmid$') AND uf_UserBudgetLimit.ysny = '$main.ny$' AND uf_UserBudgetLimit.bmmc = '$main.bm$'")
阅读全文