select sum(cast(交易金额 as int)) as mon from db where 文件名=:文件名
                                                             ^->不加":"