Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
77c0344e
Commit
77c0344e
authored
Oct 31, 2024
by
xiao-hesheng
Browse files
脚本优化
parent
e242c52f
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/public1/public1/public1.py
View file @
77c0344e
...
...
@@ -630,8 +630,8 @@ def set_dept_user(dept_id, deptName, type=1):
# stockAreaId = get_stockAreaId(dept_id, stockId)
stockAreaId
=
process_tuple
(
get_id
(
"select id from mcms_stock_shelf where address='%s' and del_flag=0 order by CREATE_TIME desc LIMIT 1;"
%
(
deptName
)))
"select id from mcms_stock_shelf where address='%s' and
stock_id='%s' and
del_flag=0 order by CREATE_TIME desc LIMIT 1;"
%
(
stockId
,
deptName
)))
print
(
stockAreaId
)
# ====获取库区id===== 结束==========
# dept_query_all()
...
...
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