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

脚本优化

parent 32085c29
......@@ -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)
......
......@@ -75,10 +75,10 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
</tr>
<tr width="600">
<td class='details-col-elapsed'>16</td>
<td class='details-col-elapsed'>10</td>
<td class='details-col-elapsed'>0分39</td>
<td class="details-col-elapsed">62.5%</td>
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分8</td>
<td class="details-col-elapsed">100.0%</td>
</tr>
</table>
......@@ -93,114 +93,9 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a1_1产品新增导入_高值/log.html' target='_blank'>a1_1产品新增导入_高值</a></td>
<td class="details-col-elapsed"><a href='../log/r_b8库房管理_库区设置_同步库房信息/log.html' target='_blank'>r_b8库房管理_库区设置_同步库房信息</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">3.909</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a1_2产品新增导入_试剂/log.html' target='_blank'>a1_2产品新增导入_试剂</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">2.287</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a1产品新增导入/log.html' target='_blank'>a1产品新增导入</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">2.403</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a2产品导入查询/log.html' target='_blank'>a2产品导入查询</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">1.37</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a3产品信息审核_查询/log.html' target='_blank'>a3产品信息审核_查询</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">1.985</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a4产品信息审核通过/log.html' target='_blank'>a4产品信息审核通过</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">1.984</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a4产品信息审核驳回/log.html' target='_blank'>a4产品信息审核驳回</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">5.994</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a5产品信息审核查询_无数据/log.html' target='_blank'>a5产品信息审核查询_无数据</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">2.094</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a6产品信息审核_获取产品详情信息/log.html' target='_blank'>a6产品信息审核_获取产品详情信息</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">1.973</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a7产品信息审核_查询/log.html' target='_blank'>a7产品信息审核_查询</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">6.981</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a7产品信息审核批量_通过/log.html' target='_blank'>a7产品信息审核批量_通过</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">1.912</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a8产品信息审核批量_驳回/log.html' target='_blank'>a8产品信息审核批量_驳回</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">4.467</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a8产品新增和审核通过/log.html' target='_blank'>a8产品新增和审核通过</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">1.912</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a8产品新增和审核驳回/log.html' target='_blank'>a8产品新增和审核驳回</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">0.048</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a99产品信息审核_锁定/log.html' target='_blank'>a99产品信息审核_锁定</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">0.004</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a99产品信息审核_锁定后查询/log.html' target='_blank'>a99产品信息审核_锁定后查询</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">0.002</td>
<td class="details-col-elapsed">8.307</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