2018-9-3-数据库的 查值 一直为空(null)的解决方案

<select id="selectByApplyNo" resultMap="BaseResultMap" parameterType="java.lang.String" >
SELECT
    <include refid="Base_Column_List" />
FROM
    lmt_partners_ail_info
WHERE
    apply_no = #{applyNo,jdbcType=VARCHAR}
</select>

  resultMap="BaseResultMap" 这样的输出,好

parameterType="com.csii.loan.common.model.lmt.PartnersAilInfo"  ,这样的输出,不好,容易出现匹配不上的问题

猜你喜欢

转载自blog.csdn.net/haodiaoer/article/details/82349237