錯誤如下: mybaits : attempted to return null from a method with a primitive return type (int)【已解決】 原因是傳回字段值int類型時,為null,要保持一緻使用包裝類,以下三處,不是傳回的Integer,還是會報null的異常 mybaits : attempted to return null from a method with a primitive return type (int)【已解決】 mybaits : attempted to return null from a method with a primitive return type (int)【已解決】 mybaits : attempted to return null from a method with a primitive return type (int)【已解決】