Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!
Open sidebar
chainweaver
mira
mira-mpc-engine
Commits
b3463342
Commit
b3463342
authored
11 months ago
by
zan xiaopeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cc9564f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
exe_local/exp.py
exe_local/exp.py
+3
-3
No files found.
exe_local/exp.py
View file @
b3463342
...
...
@@ -52,13 +52,13 @@ class Exp:
c_cnt
=
0
for
val
in
exp
:
if
val
==
"x"
:
expr
.
append
(
x_list
[
x_cnt
]
)
expr
=
expr
+
x_list
[
x_cnt
]
x_cnt
=
x_cnt
+
1
elif
val
==
"c"
:
expr
.
append
(
c_list
[
c_cnt
]
)
expr
=
expr
+
c_list
[
c_cnt
]
c_cnt
=
c_cnt
+
1
else
:
expr
.
append
(
val
)
expr
=
expr
+
val
sql
=
f
"select
{
expr
}
from
{
asset_en_name
}
"
self
.
sdk
.
logger
.
info
(
f
"execute sql:
{
sql
}
"
)
...
...
This diff is collapsed.
Click to expand it.
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