mybatis怎么生成selectByPrimaryKey
如下:
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tb_company
where COMPANYID = #{companyid,jdbcType=VARCHAR}
</select>