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:
@@ -223,14 +223,14 @@ def inp_out_reaction(name: str) -> list[str]:
|
|||||||
objs = read_all(name, f"select * from reactions_pipe_bulk")
|
objs = read_all(name, f"select * from reactions_pipe_bulk")
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
pipe = obj['pipe']
|
pipe = obj['pipe']
|
||||||
bulk = obj['bulk']
|
value = obj['value']
|
||||||
lines.append(f'BULK {pipe} {bulk}')
|
lines.append(f'BULK {pipe} {value}')
|
||||||
|
|
||||||
objs = read_all(name, f"select * from reactions_pipe_wall")
|
objs = read_all(name, f"select * from reactions_pipe_wall")
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
pipe = obj['pipe']
|
pipe = obj['pipe']
|
||||||
wall = obj['wall']
|
value = obj['value']
|
||||||
lines.append(f'WALL {pipe} {wall}')
|
lines.append(f'WALL {pipe} {value}')
|
||||||
|
|
||||||
objs = read_all(name, f"select * from reactions_tank")
|
objs = read_all(name, f"select * from reactions_tank")
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
|
|||||||
Reference in New Issue
Block a user