소스 검색

url更新

gujiheimao 2 년 전
부모
커밋
b2a6601cf0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      util/MysqlCreateGo.go

+ 1 - 0
util/MysqlCreateGo.go

@@ -111,6 +111,7 @@ func MysqlToDao() {
 			"\n\tvar list []domain." + table.GreatHump + "" +
 			"\n\tfor rows.Next() {" +
 			"\n\t\tvar u domain." + table.GreatHump + "" +
+			"\n\t\trows.Scan(&u)" +
 			"\n\t\tlist = append(list, u)" +
 			"\n\t}" +
 			"\n\treturn list, nil" +