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

脚本优化

parent 4b1e60e9
...@@ -242,6 +242,8 @@ class delData(object): ...@@ -242,6 +242,8 @@ class delData(object):
except: except:
sql = "delete from supply_relation where prov_id in(select id from bas_company_info where id = 'aaaa');" sql = "delete from supply_relation where prov_id in(select id from bas_company_info where id = 'aaaa');"
print(sql) print(sql)
else:
sql = "delete from supply_relation where prov_id in (select id from bas_company_info where cname like '%国药集团公司_____%');"
cursor.execute(sql) cursor.execute(sql)
cursor.execute("commit;") cursor.execute("commit;")
print('内网供应关系删除成功 ') print('内网供应关系删除成功 ')
......
条码信息: 条码信息:
list_a: list_a:
- &id001 - &id001
id: UT240701001619 id: UT2407010016180001
snCode: UT240701001619 snCode: UT2407010016180001
ssccCode: '010839000186546326' ssccCode: '010839000019073210'
pkgCodeSee: 013710000004337010333112407011725010721UT240701001619 pkgCodeSee: 0137100000043380104444112407011725010721UT240701001618
hosGoodsId: h034700004337 hosGoodsId: h034700004338
hosGoodsCode: '00004337' hosGoodsCode: '00004338'
goodsCode: '00004337' goodsCode: '00004338'
goodsName: 一次性注射器_低值xh*Uq goodsName: 新型冠状病毒检测试剂gi(&B
goodsSpec: G-31891 goodsSpec: G-31891
goodsMfrsName: 德国歌德公司 Geuder AG goodsMfrsName: 德国歌德公司 Geuder AG
unit: unit:
purMode: 10 purMode: 60
batchCode: '333' batchCode: '4444'
productDate: '2024-07-01' productDate: '2024-07-01'
expdtDate: '2025-01-07' expdtDate: '2025-01-07'
pkgDefName: '100' pkgDefName:
pkgDefQty: 100.0 pkgDefQty: 1.0
stockId: 699dd747426940b282b69d7acc27d51d stockId: bd4c0744cee04b208483483dded13ff8
stockName: 级检测组003库房 stockName: 级检验科002库房
areaName: 默认库区 areaName: 默认库区
areaCode: areah03472538 areaCode: areah03472540
lockStatus: 0 lockStatus: 0
unitName: 100支/100 unitName: 1
shelfCode: areah03472538-A-01-01 shelfCode: areah03472540-A-01-01
shelfNo: A01-A-01-01 shelfNo: A01-A-01-01
pkgDefId: d7b778b300694f3c8351912c561a69a5 pkgDefId:
extInfo: '{"pkgDefId": "d7b778b300694f3c8351912c561a69a5", "pkgDefQty": 100, "purBillId": extInfo: '{"pkgUdi": "0137100000043380104444112407011725010721UT240701001618",
"CG2024070120190", "pkgDefName": "100", "distrBillId": "PSh0347202407010054", "pkgDefId": "", "pkgDefQty": 1, "pkgDefName": "", "inStockTime": "2024-07-01
"inStockTime": "2024-07-01 11:15:02", "distrDetailId": "03839023", "certificateCode": 11:07:11", "pkgBarcodeId": "UT240701001618"}'
""}' bottleId: UT2407010016180001
bottleId: pkgType: '67'
pkgType: '16'
miDjmc: '' miDjmc: ''
miCode: '' miCode: ''
transferRatio: 1.0 transferRatio: 1.0
...@@ -41,13 +40,13 @@ ...@@ -41,13 +40,13 @@
shelfKindName: 普通货位 shelfKindName: 普通货位
provName: 国药集团公司l6AP( provName: 国药集团公司l6AP(
provId: p1e2e4 provId: p1e2e4
inStockDate: '2024-07-01 11:15:01' inStockDate: '2024-07-01 11:07:10'
mfrCode: mfrCode:
made: 德国 made: 德国
price: price:
barName: 100支/100 barName: 1
purModeText: 低值耗材 purModeText: 检验试剂
codeType: 16 codeType: 67
list_b: list_b:
- *id001 - *id001
list_c: list_c:
......
...@@ -76,9 +76,9 @@ setInterval(updateTime, 1000); // 每秒更新一次时间 ...@@ -76,9 +76,9 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<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'>0</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分55</td> <td class='details-col-elapsed'>1分7</td>
<td class="details-col-elapsed">0.0%</td> <td class="details-col-elapsed">100.0%</td>
</tr> </tr>
</table> </table>
...@@ -94,8 +94,8 @@ setInterval(updateTime, 1000); // 每秒更新一次时间 ...@@ -94,8 +94,8 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600"> <tr width="600">
<td class="details-col-elapsed"><a href='../log/a_b7流程十四退库业务_消耗退库/log.html' target='_blank'>a_b7流程十四退库业务_消耗退库</a></td> <td class="details-col-elapsed"><a href='../log/a_b7流程十四退库业务_消耗退库/log.html' target='_blank'>a_b7流程十四退库业务_消耗退库</a></td>
<td class="fail">失败</td> <td class="success">成功</td>
<td class="details-col-elapsed">54.907</td> <td class="details-col-elapsed">67.484</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