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
6bbb0306
Commit
6bbb0306
authored
Apr 12, 2025
by
赵言乐
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'zyl_sdddl_project' 到 'sdddl_project'
fix bug 查看合并请求
!7
parents
e64004ef
adad6c2a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sdddl_project/wizard/inherit_result_put_warehose_wizard.py
+2
-2
No files found.
sdddl_project/wizard/inherit_result_put_warehose_wizard.py
View file @
6bbb0306
...
...
@@ -47,7 +47,7 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
ids_str
=
[
f
"'{v.id}'"
for
v
in
new_results
]
if
not
ids_str
:
_logger
.
info
(
"数据不需要同步"
)
return
super
(
InheritRokeResultPutWarehouseWizard
,
self
)
.
default_get
(
field_names
)
return
super
(
InheritRokeResultPutWarehouseWizard
,
self
)
.
confirm
(
)
sql
=
f
"""
select WBCCB_CCID
from WBCCB
...
...
@@ -85,7 +85,7 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
VALUES
"""
if
not
insert_sql_data
:
return
super
(
InheritRokeResultPutWarehouseWizard
,
self
)
.
default_get
(
field_names
)
return
super
(
InheritRokeResultPutWarehouseWizard
,
self
)
.
confirm
(
)
sql
+=
" , "
.
join
(
insert_sql_data
)
try
:
cur
.
execute
(
sql
)
...
...
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