resultType="java.lang.String"
当select的字段为单一类型的字段时可以使用resultType
resultMap可以解决大部分select,但偶尔有特殊情况需要resultType