标签:
<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>
标签:
原文地址:http://www.cnblogs.com/ph123/p/4384097.html