mybatis-resultType和resultMap

一.resultType

 

 若查询出来的是单行单列,可以使用简单类型输出

 

 

 

 

二.resultMap

 

 

 

posted @ 2020-06-09 19:52  爱编程DE文兄  阅读(141)  评论(0编辑  收藏  举报