<insert id="insert" parameterType="daSysLoginLog"> insert into DA_SYS_LOGINLOG( LOGINIP, LOGINDATE, USERID, ID )VALUES ( #{loginip}, #{logindate}, #{userid}, #{id} ) </insert>
在date类型后面不要加上jdbcType=DATE就可以显示了;下面是错误代码
<insert id="insert" parameterType="daSysLoginLog"> insert into DA_SYS_LOGINLOG( LOGINIP, LOGINDATE, USERID, ID )VALUES ( #{loginip,jdbcType=VARCHAR}, #{logindate,jdbcType=DATE}, #{userid,jdbcType=VARCHAR}, #{id} ) </insert>
时间: 2024-10-12 08:43:59