Browse Source

删除打印

yjp 11 months ago
parent
commit
2fc58da11b
1 changed files with 0 additions and 4 deletions
  1. 0 4
      sql/parse_table_row.go

+ 0 - 4
sql/parse_table_row.go

@@ -96,7 +96,6 @@ func ParseSqlTableRow(input any, output any) error {
 	if outputType.Kind() == reflect.Slice {
 		outputValue.Set(outputEntities)
 	} else {
-		fmt.Println(outputValue.Type().String())
 		outputValue.Set(outputEntities.Index(0))
 	}
 
@@ -124,9 +123,6 @@ func formOutputEntity(tableRow map[string]any, outputEntity any) error {
 
 			// 构造结构字段,如果结构字段是指针且为nil,需要构造元素
 			fieldValue := element.FieldValueElem
-			if !fieldValue.CanSet() {
-				fmt.Println(fieldValue.String())
-			}
 			outputKind := reflectutils.GroupValueKind(fieldValue)
 
 			switch outputKind {