首页 > 技术文章 > Result Maps collection already contains value for

cztisthebest 2016-12-16 16:24 原文

Result Maps collection already contains value for

 

select s.id,s.branch_name from t_wx_shop s left join t_hospital_main  m on s.id=m.shop_id where s.bus_id=#{busId,jdbcType=Integer} and m.id ==null

 

把Integer 改成 INTEGER 估计原因为大小写敏感!

推荐阅读