Commit dd0c770d authored by xiao-hesheng's avatar xiao-hesheng
Browse files

产品管理_产品维护_耗材分类

parent 3e4fde5f
# -*- encoding=utf8 -*-
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d1_产品管理_产品维护_耗材分类_查询耗材分类,id2263,id2263-31,sit,on
主数据平台:d1_产品管理_产品维护_耗材分类_查询耗材分类
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
def goodsKind_select():
"""
场景:d1_产品管理_产品维护_耗材分类_查询耗材分类
用例名称:d1_产品管理_产品维护_耗材分类_查询耗材分类
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d1_产品管理_产品维护_耗材分类_查询耗材分类
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKindTree_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload21")
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
# checkDict=commonFuc().get_business_data(module,'checkDict9')
cname=commonFuc().analysis_json('cname',commonFuc().analysis_json('data',result))
kind_id=commonFuc().analysis_json('id',commonFuc().analysis_json('data',result))
commonFuc().check_text_exist(cname,result)
return kind_id
goodsKind_select()
# -*- encoding=utf8 -*-
import sys
from airtest.core.helper import using
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d2_新增耗材分类_新增不存在的_有上级耗材分类,id2263,id2263-32,sit,on
主数据平台:d2_新增耗材分类_新增不存在的_有上级耗材分类
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
pro_path = commonFuc().get_pro_path()
sys.path.append(pro_path + r'\\air_case\\a2_herp3_bs\\d1_产品管理_产品维护_耗材分类_查询耗材分类.air')
using(pro_path + r'\\air_case\\a2_herp3_bs\\d1_产品管理_产品维护_耗材分类_查询耗材分类.air')
from d1_产品管理_产品维护_耗材分类_查询耗材分类 import goodsKind_select
kind_id=goodsKind_select()
module = "a2_herp3_bs"
def goodsKind_add():
"""
场景:d2_新增耗材分类_新增不存在的_有上级耗材分类
用例名称:d2_新增耗材分类_新增不存在的_有上级耗材分类
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d2_新增耗材分类_新增不存在的_有上级耗材分类
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKind_insert_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload22",kind_id)
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
kindName=commonFuc().analysis_json('kindCode',result)
commonFuc().check_text_exist('9999_2',result)
goodsKind_add()
# -*- encoding=utf8 -*-
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d1_产品管理_产品维护_耗材分类_查询耗材分类,id2263,id2263-33,sit,on
主数据平台:d1_产品管理_产品维护_耗材分类_查询耗材分类
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
def goodsKind_select():
"""
场景:d1_产品管理_产品维护_耗材分类_查询耗材分类
用例名称:d1_产品管理_产品维护_耗材分类_查询耗材分类
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d1_产品管理_产品维护_耗材分类_查询耗材分类
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKindTree_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload21")
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
# checkDict=commonFuc().get_business_data(module,'checkDict9')
cname=commonFuc().analysis_json('cname',commonFuc().analysis_json('data',result))
data=commonFuc().analysis_json('data',result)
children=commonFuc().analysis_json('children',data)
children_kind_id=commonFuc().analysis_json('id',children)
commonFuc().check_text_exist(cname,result)
print(children_kind_id)
return children_kind_id
goodsKind_select()
# -*- encoding=utf8 -*-
import sys
from airtest.core.helper import using
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d3_停用耗材分类,id2263,id2263-34,sit,on
主数据平台:d3_停用耗材分类
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
pro_path = commonFuc().get_pro_path()
sys.path.append(pro_path + r'\\air_case\\a2_herp3_bs\\d1_产品管理_产品维护_耗材分类_查询耗材分类.air')
using(pro_path + r'\\air_case\\a2_herp3_bs\\d1_产品管理_产品维护_耗材分类_查询耗材分类.air')
from d1_产品管理_产品维护_耗材分类_查询耗材分类 import goodsKind_select
kind_id=goodsKind_select()
module = "a2_herp3_bs"
def disable_kind():
"""
场景:d3_停用耗材分类
用例名称:d3_停用耗材分类
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d3_停用耗材分类
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKindTree_updateById_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload23",kind_id)
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
checkDict=commonFuc().get_business_data(module,'checkDict10')
commonFuc().check_result(checkDict,result)
disable_kind()
# -*- encoding=utf8 -*-
import sys
from airtest.core.helper import using
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d4_启用耗材分类,id2263,id2263-34,sit,on
内网:d4_启用耗材分类
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
pro_path = commonFuc().get_pro_path()
sys.path.append(pro_path + r'\\air_case\\a2_herp3_bs\\d1_产品管理_产品维护_耗材分类_查询耗材分类.air')
using(pro_path + r'\\air_case\\a2_herp3_bs\\d1_产品管理_产品维护_耗材分类_查询耗材分类.air')
from d1_产品管理_产品维护_耗材分类_查询耗材分类 import goodsKind_select
kind_id=goodsKind_select()
module = "a2_herp3_bs"
def enable_kind():
"""
场景:d4_启用耗材分类
用例名称:d4_启用耗材分类
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d4_启用耗材分类
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKindTree_updateById_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload24",kind_id)
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
checkDict=commonFuc().get_business_data(module,'checkDict10')
commonFuc().check_result(checkDict,result)
enable_kind()
# -*- encoding=utf8 -*-
import sys
from airtest.core.helper import using
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d6_启用二级耗材分类,id2263,id2263-36,sit,on
内网:d6_启用二级耗材分类
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
pro_path = commonFuc().get_pro_path()
sys.path.append(pro_path + r'\\air_case\\a2_herp3_bs\\d3_产品管理_产品维护_耗材分类_查询二级耗材分类.air')
using(pro_path + r'\\air_case\\a2_herp3_bs\\d3_产品管理_产品维护_耗材分类_查询二级耗材分类.air')
from d3_产品管理_产品维护_耗材分类_查询二级耗材分类 import goodsKind_select
kind_id=goodsKind_select()
module = "a2_herp3_bs"
def enable_kind2():
"""
场景:d6_启用二级耗材分类
用例名称:d6_启用二级耗材分类
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d6_启用二级耗材分类
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKindTree_updateById_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload25",kind_id)
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
checkDict=commonFuc().get_business_data(module,'checkDict10')
commonFuc().check_result(checkDict,result)
enable_kind2()
# -*- encoding=utf8 -*-
import sys
from airtest.core.helper import using
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d7_查询产品列表信息_未分类,id2263,id2263-37,sit,on
内网:d7_查询产品列表信息_未分类
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
# pro_path = commonFuc().get_pro_path()
# sys.path.append(pro_path + r'\\air_case\\a2_herp3_bs\\d3_产品管理_产品维护_耗材分类_查询二级耗材分类.air')
# using(pro_path + r'\\air_case\\a2_herp3_bs\\d3_产品管理_产品维护_耗材分类_查询二级耗材分类.air')
# from d3_产品管理_产品维护_耗材分类_查询二级耗材分类 import goodsKind_select
# kind_id=goodsKind_select()
module = "a2_herp3_bs"
def select_goods_info():
"""
场景:d7_查询产品列表信息_未分类
用例名称:d7_查询产品列表信息_未分类
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d7_查询产品列表信息_未分类
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKindCollection_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload26")
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
total=commonFuc().analysis_json('total',commonFuc().analysis_json('data',result))
hosGoodsId=""
if total>=1:
commonFuc().check_text_exist(0,result)
hosGoodsId=commonFuc().analysis_json('hosGoodsId',commonFuc().analysis_json('data',commonFuc().analysis_json('data',result)))
else:
commonFuc().check_text_exist(500, result)
return hosGoodsId
select_goods_info()
# -*- encoding=utf8 -*-
import sys
from airtest.core.helper import using
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d8_获取耗材分类id,id2263,id2263-38,sit,on
内网:d8_获取耗材分类id
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
# pro_path = commonFuc().get_pro_path()
# sys.path.append(pro_path + r'\\air_case\\a2_herp3_bs\\d7_查询产品列表信息_未分类.air')
# using(pro_path + r'\\air_case\\a2_herp3_bs\\d7_查询产品列表信息_未分类.air')
# from d7_查询产品列表信息_未分类 import select_goods_info
# hosGoodsId=select_goods_info()
module = "a2_herp3_bs"
def get_kind_id():
"""
场景:d8_在耗材分类中添加产品
用例名称:d8_在耗材分类中添加产品
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d8_在耗材分类中添加产品
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKindTree_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload27")
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
code=commonFuc().analysis_json('code',result)
if code==0:
commonFuc().check_text_exist('9999_2', result)
else:
commonFuc().check_text_exist(500, result)
children=commonFuc().analysis_json('children',commonFuc().analysis_json('data',result))
kind_id=commonFuc().analysis_json('id',children[0])
return kind_id
print(get_kind_id())
# -*- encoding=utf8 -*-
import sys
from airtest.core.helper import using
from common.db.sql.sql_del_branch_info import delByBranchId
from common.db.sql.sql_del_kind_goodsinfo import delKindGoodsinfo
from common.db.sql.sql_del_notices_info import delByNoticeName
from common.fileUtls import FileUtils
from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,d8_在耗材分类中添加产品,id2263,id2263-39,sit,on
内网:d8_在耗材分类中添加产品
"""
from common.common_func import commonFuc
from air_case.a1_herp3_login.登录内网系统.登录内网系统 import login_system
pro_path = commonFuc().get_pro_path()
sys.path.append(pro_path + r'\\air_case\\a2_herp3_bs\\d7_查询产品列表信息_未分类.air')
using(pro_path + r'\\air_case\\a2_herp3_bs\\d7_查询产品列表信息_未分类.air')
from d7_查询产品列表信息_未分类 import select_goods_info
hosGoodsId=select_goods_info()
sys.path.append(pro_path + r'\\air_case\\a2_herp3_bs\\d8_获取耗材分类id.air')
using(pro_path + r'\\air_case\\a2_herp3_bs\\d8_获取耗材分类id.air')
from d8_获取耗材分类id import get_kind_id
kind_id=get_kind_id()
module = "a2_herp3_bs"
def add_goods_in_kind():
"""
场景:d8_在耗材分类中添加产品
用例名称:d8_在耗材分类中添加产品
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
#内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#d8_在耗材分类中添加产品
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsKindCollection_save_url")
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
commonFuc().get_business_data(module, "X-APP-CODE"))
# #请求体
request_body=commonFuc().get_business_data(module, "payload28",hosGoodsId,kind_id)
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# #断言
checkDict=commonFuc().get_business_data(module,'checkDict10')
commonFuc().check_result(checkDict,result)
add_goods_in_kind()
#删除耗材分类下的产品信息
delKindGoodsinfo().Delete_branch_by_id()
# -*- encoding=utf8 -*-
import pymysql
class delKindGoodsinfo(object):
def Delete_branch_by_id(self):
connection = pymysql.connect(host="10.17.65.108", user="root", password="Cmic.2023", database="spd3_herp_test2",
charset="utf8")
cursor = connection.cursor()
# 删除耗材分类下的产品,便于脚本下次执行时再次添加产品信息到该耗材分类中
sql = "DELETE from mcms_goods_kind_collection where kind_id=(select id from mcms_goods_kind where kind_name='9999_2');"
print(sql)
cursor.execute(sql)
cursor.execute("commit;")
print('耗材分类下的产品删除完毕' )
# delByBranchId().Delete_branch_by_name('11122222')
\ No newline at end of file
......@@ -13,6 +13,10 @@
"dept_insert_url": "/hospitaltest2api/platformService/sys/org/v2/insert/"
"updateDept_url": "/hospitaltest2api/platformService/sys/org/v2/updateDept/"
"goodsKind_insert_url": "/hospitaltest2api/herpService/goodsKind/insert/"
"goodsKindTree_url": "/hospitaltest2api/herpService/goodsKind/goodsKindTree/"
"goodsKindTree_updateById_url": "/hospitaltest2api/herpService/goodsKind/updateById/"
"goodsKindCollection_url": "/hospitaltest2api/herpService/goodsKindCollection/page/"
"goodsKindCollection_save_url": "/hospitaltest2api/herpService/goodsKindCollection/save/"
"username": "xhs1009"
"password": "1qaz!QAZ"
"X-APP-CODE": "herp.pc"
......@@ -173,9 +177,14 @@ json_headers2: {
"kindType": 1,
"hosId": "h0347"
}
"payload21": {"hosId": "h0347","keyword": "9999","kindType": 1}
"payload22": {"pid": "%s","kindCode": "9999_2","kindName": "9999_2","tbStatus": 0,"kindType": 1,"hosId": "h0347"}
"payload23": {"tbStatus": 1,"kindName": "9999","kindCode": "9999","kindType": 1,"id": "%s","hosId": "h0347"}
"payload24": {"tbStatus": 0,"kindName": "9999","kindCode": "9999","kindType": 1,"id": "%s","hosId": "h0347"}
"payload25": {"tbStatus": 0,"kindName": "9999_2","kindCode": "9999_2","kindType": 1,"id": "%s","hosId": "h0347"}
"payload26": {"queryObject":{"goodsCode":"","goodsRegCert":"","goodsMfrsName":"","purModes":[],"tbStatus":"","hosId":"h0347","kindId":"","kindType":"1","checkFlag":1},"pageNum":1,"pageSize":50}
"payload27": {"hosId":"h0347","keyword":"999_2","kindType":"1"}
"payload28": {"hosGoodsIds": ["%s"],"hosId": "h0347","kindId": "%s"}
checkDict: {"code": 0,'msg': None,'data': True}
checkDict1: {
......@@ -243,4 +252,6 @@ checkDict5: {'code': 400, 'msg': '数据更新不成功,可能数据的版本
checkDict6: {'code': 0, 'msg': None, 'data': []}
checkDict7: {'code': 1100000, 'msg': '暂时没有定义异码,中文描述为:同一院区下科室编码不可重复', 'tag': '/platformService:gyqx.spd.platform.sys.service.impl.SysOrgServiceImpl:156', 'data': None}
checkDict8: {'code': 14030004, 'msg': '同一个分类类型下产品分类名称不能重复,请修改后继续操作', 'tag': '/herpService:gyqx.spd.herp.basic.service.impl.GoodsKindServiceImpl:316', 'data': None}
checkDict9: {'code': 0, 'msg': None, 'tag': None, 'data': [{'id': '209e180ed4594f65b40c5ed4253fa6ae', 'pid': '-', 'ordinal': 0, 'cname': '9999', 'extra': {'kindType': '1',
'kindCode': '9999', 'kindLevel': 0, 'leafFlag': 1, 'tbStatus': 0}, 'children': None}]}
checkDict10: {'code': 0, 'msg': None, 'tag': None, 'data': 1}
\ No newline at end of file
......@@ -72,9 +72,9 @@
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/d0_产品管理_产品维护_新增耗材分类_分类已存在/log.html' target='_blank'>d0_产品管理_产品维护_新增耗材分类_分类已存在</a></td>
<td class="details-col-elapsed"><a href='../log/d9_在耗材分类中添加产品/log.html' target='_blank'>d9_在耗材分类中添加产品</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">2.007</td>
<td class="details-col-elapsed">2.599</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
......
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