This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
packagemain
import(
"dsSupport/Utils/CommonUtil"
"dsSupport/Utils/DbUtil"
"fmt"
)
vardb=DbUtil.Engine
funcmain(){
//1、读取每一张需要创建的表
sql:="select * from t_dw_table"
list,_:=db.SQL(sql).Query().List()
fori:=rangelist{
tableId:=list[i]["table_id"].(int64)
tableName:=list[i]["table_name"].(string)
createTableSql:=`DROP TABLE IF EXISTS "public"."`+tableName+`";`+"\r\n"