diff --git a/common/db/sql/sql_del_branch_info.py b/common/db/sql/sql_del_branch_info.py index b49ba918188c96b11c7fe9381129aadca95705ca..2b402db184b6bfe8f111e498b5bd3b1df856a854 100644 --- a/common/db/sql/sql_del_branch_info.py +++ b/common/db/sql/sql_del_branch_info.py @@ -313,10 +313,13 @@ class delData(object): hosGoodsId1 = FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message1')['hosGoodsId'] hosGoodsId2 = FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message2')['hosGoodsId'] hosGoodsId3 = FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message3')['hosGoodsId'] + # + info = FileUtils().r_info8('b2_herp3_bs', "用户名信息", 'message3') + username = info['username1'] # 条码 sql1 = "delete from mcms_pkg where branch_id='%s';" % branch_id - sql2 = "delete from mcms_pkg_batch where hos_goods_id in('%s','%s','%s');" % ( - hosGoodsId1, hosGoodsId2, hosGoodsId3) + sql2 = "delete from mcms_pkg_batch where hos_goods_id in('%s','%s','%s') and create_user !=(select id from sys_user where user_code='%s');" % ( + hosGoodsId1, hosGoodsId2, hosGoodsId3,username) sql3 = "delete from hdi_barcode where branch_id='%s';" % branch_id # sql4 = "delete from cabinet_epc_info where branch_id=%s" % branch_id cursor.execute(sql1) diff --git a/report/summary.html b/report/summary.html index 20b703e08987e8ca05d54f59655d9d4a67db9954..30f65f7b4ca901c123cfda307d06ebbaa344c843 100644 --- a/report/summary.html +++ b/report/summary.html @@ -75,10 +75,10 @@ setInterval(updateTime, 1000); // 每秒更新一次时间 - 16 - 10 - 0分39秒 - 62.5% + 1 + 1 + 0分8秒 + 100.0% @@ -93,114 +93,9 @@ setInterval(updateTime, 1000); // 每秒更新一次时间 - a1_1产品新增导入_高值 + r_b8库房管理_库区设置_同步库房信息 成功 - 3.909 - xiaohesheng - - - - a1_2产品新增导入_试剂 - 成功 - 2.287 - xiaohesheng - - - - a1产品新增导入 - 成功 - 2.403 - xiaohesheng - - - - a2产品导入查询 - 成功 - 1.37 - xiaohesheng - - - - a3产品信息审核_查询 - 成功 - 1.985 - xiaohesheng - - - - a4产品信息审核通过 - 失败 - 1.984 - xiaohesheng - - - - a4产品信息审核驳回 - 成功 - 5.994 - xiaohesheng - - - - a5产品信息审核查询_无数据 - 成功 - 2.094 - xiaohesheng - - - - a6产品信息审核_获取产品详情信息 - 成功 - 1.973 - xiaohesheng - - - - a7产品信息审核_查询 - 成功 - 6.981 - xiaohesheng - - - - a7产品信息审核批量_通过 - 失败 - 1.912 - xiaohesheng - - - - a8产品信息审核批量_驳回 - 成功 - 4.467 - xiaohesheng - - - - a8产品新增和审核通过 - 失败 - 1.912 - xiaohesheng - - - - a8产品新增和审核驳回 - 失败 - 0.048 - xiaohesheng - - - - a99产品信息审核_锁定 - 失败 - 0.004 - xiaohesheng - - - - a99产品信息审核_锁定后查询 - 失败 - 0.002 + 8.307 xiaohesheng