[fix] 修复code_cs_dotnet_json生成的external type代码有编译错误的bug

main
walon 2022-08-23 10:11:25 +08:00
parent 741d820587
commit f25f91b94d
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ namespace Luban.Job.Cfg.TypeVisitors
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)};";
}