Commit 498b01e2 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程七脚本编写

parent 2dc3ce71
...@@ -396,8 +396,7 @@ def set_dept_user(dept_id, deptName, type=1): ...@@ -396,8 +396,7 @@ def set_dept_user(dept_id, deptName, type=1):
result = commonFuc().http_post(url, request_body, headers) result = commonFuc().http_post(url, request_body, headers)
print('查询库区是否已经存在人员',result) print('查询库区是否已经存在人员',result)
userCode = commonFuc().analysis_json('userCode',commonFuc().analysis_json('data', commonFuc().analysis_json('data', result))) userCode = commonFuc().analysis_json('userCode',commonFuc().analysis_json('data', commonFuc().analysis_json('data', result)))
print('userCode',userCode) # print('userCode',userCode)
if userCode !=username1: if userCode !=username1:
# 查询库区是否已经存在人员,不需要重复添加=============== # 查询库区是否已经存在人员,不需要重复添加===============
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment