ResultMap type is com.neusoft.demosb.entity.Lab, Not match for Select id="int"
问题截图:
问题描述:这个主要是在.xml文件没有对应好类型,将resultMap改为resultType,然后再把LabMap改成java.lang.Integer即可。
如图:
ResultMap type is com.neusoft.demosb.entity.Lab, Not match for Select id="int"
问题截图:
问题描述:这个主要是在.xml文件没有对应好类型,将resultMap改为resultType,然后再把LabMap改成java.lang.Integer即可。
如图: