
MyBatis
suyunlong
Java开发
展开
-
mybatis中insert into ...select ...from dual union all select ... from dual 提示sql命令未结束的问题
需要在插入时加上useGeneratedKeys="false" 原Mapper: INSERT INTO AMC_PRODUCT_ROLE_USER (user_id, role_id) SELECT #{productRole.user_id,jdbcType=VARCHAR}, #{productRole.role_id,jdbcTy原创 2017-05-06 18:25:03 · 7591 阅读 · 1 评论 -
MyBatis提示getFundBonus attempted to return null from a method with a primitive return type (double)
错误提示: Caused by: org.apache.ibatis.binding.BindingException: Mapper method 'com.amc.nonstandardinsinfo.dao.mapper.NonstandardInsInfoManageMapper.getFundBonus attempted to return null from a method wi原创 2017-10-13 11:19:13 · 881 阅读 · 0 评论