mybatis在更新数据或者插入数据为空的时候必须指定jdbcType类型 1:传入的参数是对象类型 User user =new User(); INSERT INTO t_user ( id, uid, sn, EXPIRY_DATE, STUS, REASON, REMARK, )VALUES( SEQ_user.NEXTVAL, #{uid,jdbcType=VARCHAR}, #{sn,jdbcType=VARCHAR}, #{expiryDate,jdbcType=DATE}, #{…