【问题咨询】响应结果的类型转换
Closed this issue · 0 comments
CarsonYue commented
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,如何实现?