sum(cast(ppm.amount * ppm.unit_price/10000 as decimal(18,6)))
使用cast修改字段类型为decimal
转载于:https://www.cnblogs.com/yangjiming/p/10655380.html
sum(cast(ppm.amount * ppm.unit_price/10000 as decimal(18,6)))
使用cast修改字段类型为decimal
转载于:https://www.cnblogs.com/yangjiming/p/10655380.html