Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
我们产品在达梦上适配的过程中存在DateTime1-DateTime2的这种查询,并且会作为查询结果返回,当前版本中查询结果在转换时会直接返回0值,其原因是因为达梦数据库查询出来的结果为
INTERVAL '000003576 16:47:38.832000' DAY TO SECOND
这种形式,这种字符串代码转换数值类型直接就失败了并返回0代码已经修改,我估计其他适用达梦的人也会返回