-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于内置sql的插入时 时间类型函数的引用问题 #102
Comments
@z87506386 @wey-gu |
具体的我前几天遇到的 我明天再尝试一下 然后给你发一个比较详细的问题 |
使用date类型时,查询语句得到的结果不对
但是类型date转换成map接收后 得到的结果为: |
找到了,这个地方加了1900,这是为啥 |
我印象中date类型是有个差值的,回头我确认下,可以先用datetime类型来存? |
fix: #102 and clear time type mapping (v1.1.4)
在使用ngbatis时,根据提供的demo,使用自带的insert插入语句, 在传入date类型数据时, 该语句使用datetime() 会导致插入失败.
之后使用date('2022-11-11')导入成功,而在点中存在一条数据时,datetime()则不会失败
The text was updated successfully, but these errors were encountered: