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
bd94ff29
Commit
bd94ff29
authored
Aug 09, 2024
by
xiao-hesheng
Browse files
开发在数据库中对部门请领的表增加了字段,create_from,所以需要调整脚本
parent
e7b7a431
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
air_case/public1/public1/public1.py
View file @
bd94ff29
...
@@ -2073,8 +2073,10 @@ def get_stockAreaId_new_fromDb(deptName, type=1):
...
@@ -2073,8 +2073,10 @@ def get_stockAreaId_new_fromDb(deptName, type=1):
# 获取库房id==========结束============
# 获取库房id==========结束============
# ====获取库区id===== 开始==========
# ====获取库区id===== 开始==========
if
type
==
1
:
sql
=
"select shelf_code from mcms_stock_shelf where stock_Id='%s'and address='%s';"
%
(
stockId
,
deptName
)
sql
=
"select shelf_code from mcms_stock_shelf where stock_Id='%s' and shelf_no like '%%%s%%' and default_flag=1 and stock_type=1;"
%
(
stockId
,
deptName
)
else
:
sql
=
"select shelf_code from mcms_stock_shelf where stock_Id='%s'and address='%s';"
%
(
stockId
,
deptName
)
print
(
sql
)
print
(
sql
)
shelfCode
=
get_id
(
sql
)
shelfCode
=
get_id
(
sql
)
return
shelfCode
return
shelfCode
...
...
data/b6_spd3_core_business_flow_database_check/data
View file @
bd94ff29
This diff is collapsed.
Click to expand it.
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