Commit 5ba0a0ea authored by xiao-hesheng's avatar xiao-hesheng
Browse files

优化脚本

parent aefb72ce
...@@ -105,6 +105,12 @@ class delData(object): ...@@ -105,6 +105,12 @@ class delData(object):
cursor.execute(sql) cursor.execute(sql)
cursor.execute("commit;") cursor.execute("commit;")
print('库区信息删除成功 ') print('库区信息删除成功 ')
# 删除多余库房信息
sql = "delete from mcms_stock_info where stock_name like '%东土城路院区_____中心库房';"
print(sql)
cursor.execute(sql)
cursor.execute("commit;")
print('多余库房信息删除成功 ')
cursor.close() cursor.close()
# delData().Delete_branch_by_id() # delData().Delete_branch_by_id()
# delData().Delete_goods_change_info() # delData().Delete_goods_change_info()
......
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
<tr width="600"> <tr width="600">
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>0</td>
<td class='details-col-elapsed'>0分4</td> <td class='details-col-elapsed'>0分2</td>
<td class="details-col-elapsed">100.0%</td> <td class="details-col-elapsed">0.0%</td>
</tr> </tr>
</table> </table>
...@@ -73,8 +73,8 @@ ...@@ -73,8 +73,8 @@
<tr width="600"> <tr width="600">
<td class="details-col-elapsed"><a href='../log/r_d9库房管理_库区设置_货位管理_编辑货位/log.html' target='_blank'>r_d9库房管理_库区设置_货位管理_编辑货位</a></td> <td class="details-col-elapsed"><a href='../log/r_d9库房管理_库区设置_货位管理_编辑货位/log.html' target='_blank'>r_d9库房管理_库区设置_货位管理_编辑货位</a></td>
<td class="success">成功</td> <td class="fail">失败</td>
<td class="details-col-elapsed">3.892</td> <td class="details-col-elapsed">2.774</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </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