Accept Merge Request #105: (api -> master)

Merge Request: Fix dump key work error

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/105
This commit is contained in:
王琼钰
2022-11-25 23:35:48 +08:00

View File

@@ -223,14 +223,14 @@ def inp_out_reaction(name: str) -> list[str]:
objs = read_all(name, f"select * from reactions_pipe_bulk")
for obj in objs:
pipe = obj['pipe']
bulk = obj['bulk']
lines.append(f'BULK {pipe} {bulk}')
value = obj['value']
lines.append(f'BULK {pipe} {value}')
objs = read_all(name, f"select * from reactions_pipe_wall")
for obj in objs:
pipe = obj['pipe']
wall = obj['wall']
lines.append(f'WALL {pipe} {wall}')
value = obj['value']
lines.append(f'WALL {pipe} {value}')
objs = read_all(name, f"select * from reactions_tank")
for obj in objs: