[fix] 修复cfg ts加载bin格式datetime类型时返回bigint的bug
parent
bcf81ffe26
commit
8e68ab0fcd
|
|
@ -166,7 +166,7 @@ namespace Luban.Job.Common.TypeVisitors
|
|||
|
||||
public string Accept(TDateTime type, string bufVarName, string fieldName)
|
||||
{
|
||||
return $"{fieldName} = {bufVarName}.ReadLong()";
|
||||
return $"{fieldName} = {bufVarName}.ReadLongAsNumber()";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue