Skip to content
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

【问题咨询】响应结果的类型转换 #703

Closed
CarsonYue opened this issue Apr 17, 2024 · 0 comments
Closed

【问题咨询】响应结果的类型转换 #703

CarsonYue opened this issue Apr 17, 2024 · 0 comments

Comments

@CarsonYue
Copy link

CarsonYue commented Apr 17, 2024

Description

{
    "EnterprisePartner": {
        "id": 1,
        "tenant_id": 1001,
        "ent_code": "C202",
        "ent_name": "北京有限公司",
        "ent_type": 1,
        "owner_name": "北京有限公司",
        "tax_number": "9111000072261280XB",
        "state": 1,
        "address": "北京市石景山区",
    },
    "@id": 1,
    "ok": true,
    "code": 200,
    "msg": "success"
}

以上为我的查询响应结果,我的数据库中id为bigint类型,我想在响应结果中将其转换为String,如何实现?

Tasks

No tasks being tracked yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant