原文:mysql查询null异常:attempted to return null from a method with a primitive return type

select sum deposit amount from tb commission ib day mysql查询时报异常: attempted to return null from a method with a primitive return type 是因为查询时结果是 null, 需要给默认值 select IFNULL sum deposit amount , from tb c ...

2019-02-19 15:36 0 2393 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM