两个字段相乘 结果错误 单个计算正确 多表联查 使用cast解决 cast( ifnull( rate, 1 ) AS DECIMAL ( 10, 5 ) ) * cast( ifnull(price, 0) AS DECIMAL ( 10, 5 ) )