Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
jd_data_process
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
6e306875
authored
Oct 25, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add platform
parent
98fb0b3a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
crontab.py
crontab.py
View file @
6e306875
...
@@ -65,7 +65,7 @@ def update_vc_class(conf: dict):
...
@@ -65,7 +65,7 @@ def update_vc_class(conf: dict):
platform
=
1
platform
=
1
create_time
=
int
(
time
.
time
())
create_time
=
int
(
time
.
time
())
# check if already exist.
# check if already exist.
check_sql
=
"select class_id from lie_shop_class where class_id =
%
s"
check_sql
=
"select class_id from lie_shop_class where class_id =
%
s
and platform = 1
"
cursor
.
execute
(
query
=
check_sql
,
args
=
(
class_id
,))
cursor
.
execute
(
query
=
check_sql
,
args
=
(
class_id
,))
check_result
=
cursor
.
fetchall
()
check_result
=
cursor
.
fetchall
()
if
len
(
check_result
)
>
0
:
if
len
(
check_result
)
>
0
:
...
...
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