[fix] 修复code_cs_dotnet_json生成的external type代码有编译错误的bug
parent
741d820587
commit
f25f91b94d
|
|
@ -81,7 +81,7 @@ namespace Luban.Job.Cfg.TypeVisitors
|
||||||
|
|
||||||
public string Accept(TBean type, string json, string x, int depth)
|
public string Accept(TBean type, string json, string x, int depth)
|
||||||
{
|
{
|
||||||
string src = $"{type.Bean.FullName}.Deserialize{type.Bean.Name}({json});";
|
string src = $"{type.Bean.FullName}.Deserialize{type.Bean.Name}({json})";
|
||||||
return $"{x} = {ExternalTypeUtil.CsCloneToExternal(type.Bean.FullName, src)};";
|
return $"{x} = {ExternalTypeUtil.CsCloneToExternal(type.Bean.FullName, src)};";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue