Commit 7bed91d7 authored by 金凯强's avatar 金凯强 🎨

mes的数据库写两次,兼容之前的

parent 846d2e8b
...@@ -65,6 +65,9 @@ values ...@@ -65,6 +65,9 @@ values
if k in ['ID', 'CREATE_TIME']: if k in ['ID', 'CREATE_TIME']:
continue continue
f.writelines("export {}={}\n".format(k, v)) f.writelines("export {}={}\n".format(k, v))
# mes的数据库写两次,兼容之前的
if k == 'HSDB_NAME':
f.writelines("export {}={}\n".format('MESDB_NAME', v))
return {'message': "保存成功"} return {'message': "保存成功"}
......
Markdown is supported
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