<resultMap id="BaseResultMap" type="com.youotech.tl_cons_credit_rating.entity.TL_C_CONS">
<id column="cons_id" jdbcType="INTEGER" property="consid"/>
<result column="vatid" jdbcType="INTEGER" property="vatid"/>
<result column="cust_id" jdbcType="INTEGER" property="custid"/>
<result column="cons_no" jdbcType="VARCHAR" property="consno"/>
<result column="cons_name" jdbcType="VARCHAR" property="consname"/>
</resultMap>
resultMap里面的result节点必须在id节点的后面