abp 深坑三 Unable to cast object of type 'System.Double' to type 'System.Single'.System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.Single'.
book接口请求出错
![](https://img2018.cnblogs.com/blog/691606/201911/691606-20191125161629031-777785573.png)
![](https://img2018.cnblogs.com/blog/691606/201911/691606-20191125161900247-26064160.png)
对应数据库类型
![](https://img2018.cnblogs.com/blog/691606/201911/691606-20191125161945896-1798606047.png)
real 如果改成float 会报错
原文地址:https://www.cnblogs.com/shangdishijiao/p/11928553.html