MyBatis框架解決字段名與實體類屬性名不一致的狀況

方式一  使用別名,好比 SELECT id empId,name ename……spa 方式二  使用resultMap。blog
相關文章
相關標籤/搜索