Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-api-local
Commits
5f4964fe
Commit
5f4964fe
authored
Mar 22, 2021
by
Wei Shoulin
Browse files
bugs
parent
b1c273bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_api_local/ifs/reffits.py
View file @
5f4964fe
...
...
@@ -221,7 +221,7 @@ class RefFitsApi(object):
sql
=
[
'INSERT INTO ifs_raw_ref (fit_id, ref_id, create_time) values '
]
values
=
[
"(%s,%s,%s)"
%
(
i
,
ref_fits_id
,
format_time_ms
(
time
.
time
()))
for
i
in
raw_fits_ids
]
self
.
db
.
execute
(
sql
+
","
.
join
())
self
.
db
.
execute
(
sql
+
","
.
join
(
values
))
self
.
db
.
end
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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