Commit fa139bfa by Joneq

去除数据

parent e1c6e1fe
Showing with 9 additions and 1 deletions
...@@ -40,7 +40,7 @@ func init(){ ...@@ -40,7 +40,7 @@ func init(){
func main() { func main_back() {
runtime.GOMAXPROCS(2) runtime.GOMAXPROCS(2)
...@@ -51,6 +51,7 @@ func main() { ...@@ -51,6 +51,7 @@ func main() {
timeLocal,_ := time.LoadLocation("Local") timeLocal,_ := time.LoadLocation("Local")
timeStart,_ = time.ParseInLocation("2006-01-02",currentDate,timeLocal) timeStart,_ = time.ParseInLocation("2006-01-02",currentDate,timeLocal)
//获取当前时间 //获取当前时间
fmt.Println(currentDate) fmt.Println(currentDate)
...@@ -64,6 +65,13 @@ func main() { ...@@ -64,6 +65,13 @@ func main() {
wg.Wait() wg.Wait()
} }
func main() {
sqlDb := scm_data_dao.GetDashboardDb()
sqlDb.Exec("delete from lie_btv_daily_order_transaction")
sqlDb.Exec("delete from lie_btv_daily_top_order")
sqlDb.Exec("delete from lie_btv_daily_top_search")
}
func GetTotalStatistic() { func GetTotalStatistic() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment