fix modbus api error
This commit is contained in:
parent
37d854334d
commit
57c8083012
@ -350,7 +350,7 @@ router
|
|||||||
res.db.database = config.db.db5;
|
res.db.database = config.db.db5;
|
||||||
res.db.connect();
|
res.db.connect();
|
||||||
|
|
||||||
let query = "select count(*) sa c from ??.?? i \
|
let query = "select count(*) as c from ??.?? i \
|
||||||
left join ??.?? i2 \
|
left join ??.?? i2 \
|
||||||
on i2.`type` = i.`type` \
|
on i2.`type` = i.`type` \
|
||||||
and i2.`addr` = ? \
|
and i2.`addr` = ? \
|
||||||
|
Loading…
Reference in New Issue
Block a user