yjp преди 1 година
родител
ревизия
718de78dae
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      dpsv1/client.go

+ 2 - 2
dpsv1/client.go

@@ -798,7 +798,7 @@ func (c *Client) formTableRow(tableRow map[string]any) (*request.TableRow, error
 		case "bool":
 			typedValue.TypedValue = &request.ColumnValue_BoolValue{BoolValue: value.(bool)}
 		case "int":
-			typedValue.TypedValue = &request.ColumnValue_Uint32Value{Uint32Value: uint32(value.(int))}
+			typedValue.TypedValue = &request.ColumnValue_Uint64Value{Uint64Value: uint64(value.(int))}
 		case "int32":
 			typedValue.TypedValue = &request.ColumnValue_Uint32Value{Uint32Value: uint32(value.(int32))}
 		case "int64":
@@ -837,7 +837,7 @@ func (c *Client) infoDataToInfoMap(infoData *response.InfoData) (map[string]any,
 		case "bool":
 			retInfoMap[column.Name] = column.Value.GetBoolValue()
 		case "int":
-			retInfoMap[column.Name] = int(column.Value.GetUint32Value())
+			retInfoMap[column.Name] = int(column.Value.GetUint64Value())
 		case "int32":
 			retInfoMap[column.Name] = int(column.Value.GetUint32Value())
 		case "int64":