Mybatis resultType

resultType="java.lang.String"

当select的字段为单一类型的字段时可以使用resultType

resultMap可以解决大部分select,但偶尔有特殊情况需要resultType

猜你喜欢

转载自blog.csdn.net/Zmgtt/article/details/81411607