Skip to content

[BUG] - <title> DTO语言自定义字段类型为Double时默认值不对 #940

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

Closed
zzxzz12345 opened this issue Feb 28, 2025 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@zzxzz12345
Copy link

Jimmer Version

0.9.56

JDK Version

JDK 21

Database

PostgreSQL

OS

Mac

Expected behavior

DTO语言自定义字段类型为Double时默认值应该为0.0

Actual behavior

DTO语言自定义字段类型为Double时默认值为0,编译不通过

Description

DTO语言自定义字段类型为Double时默认值为0而不是0.0导致编译不通过

Reproduction steps

新建一个视图,增加一个自定义Double字段
TestView {
#allScalars

nums :Double

}

Generated SQL

No response

Relation Model

No response

Screenshots

No response

Logs

No response

@zzxzz12345 zzxzz12345 added the bug Something isn't working label Feb 28, 2025
babyfish-ct added a commit that referenced this issue Mar 1, 2025
@babyfish-ct
Copy link
Owner

Try 0.9.61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants