Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang_asynctask
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fa139bfa
authored
May 31, 2021
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去除数据
parent
e1c6e1fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
cmd/bigtv/sync_bigtv_statistics/main.go
cmd/bigtv/sync_bigtv_statistics/main.go
View file @
fa139bfa
...
...
@@ -40,7 +40,7 @@ func init(){
func
main
()
{
func
main
_back
()
{
runtime
.
GOMAXPROCS
(
2
)
...
...
@@ -51,6 +51,7 @@ func main() {
timeLocal
,
_
:=
time
.
LoadLocation
(
"Local"
)
timeStart
,
_
=
time
.
ParseInLocation
(
"2006-01-02"
,
currentDate
,
timeLocal
)
//获取当前时间
fmt
.
Println
(
currentDate
)
...
...
@@ -64,6 +65,13 @@ func main() {
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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment