Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dwsproject
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dws
dwsproject
Commits
db4e503c
Commit
db4e503c
authored
Jan 22, 2025
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 上推数据修改
parent
ef07807d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sdddl_project/wizard/inherit_result_put_warehose_wizard.py
+3
-3
No files found.
sdddl_project/wizard/inherit_result_put_warehose_wizard.py
View file @
db4e503c
...
...
@@ -39,10 +39,10 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
rows
=
cur
.
fetchall
()
rowdesc
=
cur
.
description
except
Exception
as
e
:
raise
ValidationError
(
"数据库查询失败"
)
finally
:
cur
.
close
()
conn
.
close
()
raise
ValidationError
(
"数据库查询失败"
)
rows_data
=
[
dict
(
zip
([
col
[
0
]
for
col
in
rowdesc
],
row
))
for
row
in
rows
...
...
@@ -73,4 +73,4 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
finally
:
cur
.
close
()
conn
.
close
()
r
eturn
super
(
InheritRokeResultPutWarehouseWizard
,
self
)
.
default_get
(
)
r
aise
ValidationError
(
"产出数据上推成功"
)
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