|
@@ -51,12 +51,13 @@ def diag_cal():
|
|
|
"mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8".format(
|
|
|
user, parse.quote_plus(password), host, port, db
|
|
|
))
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
#调用主函数................................................................................................................................................................
|
|
|
for sn in SNnums:
|
|
|
try:
|
|
|
group=sn[:5]
|
|
|
+ if group=='UD020':
|
|
|
+ group='MGMCL'
|
|
|
df_data = dbManager.get_data(sn=sn, start_time=start_time, end_time=end_time, data_groups=['bms'])
|
|
|
data_bms = df_data['bms']
|
|
|
data_bms['sn']=sn
|