0
点赞
收藏
分享

微信扫一扫

org.apache.ibatis.binding.BindingException: Mapper method '...' attempted to return null from a m...

扶摇_hyber 2022-06-12 阅读 57

FIX:

org.apache.ibatis.binding.BindingException: Mapper method 'com.alibaba.swork.info.common.mapper.QualityDataOfTeamMapper.getAvgIssueFixedDuration attempted to return null from a method with a primitive return type (double).

加上 ifnull 的语句:

select ifnull(round(avg(c.fixed_duration/3600/24),2),0)  from issue c



举报

相关推荐

0 条评论