Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
unify_api2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chaonan
unify_api2
Commits
634e0d8d
Commit
634e0d8d
authored
Jul 19, 2023
by
ZZH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix longgang data 2023-7-19
parent
68fa4a8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common_dao.py
unify_api/modules/common/dao/common_dao.py
+1
-1
open_data_service.py
unify_api/modules/shidianu/service/open_data_service.py
+2
-2
No files found.
unify_api/modules/common/dao/common_dao.py
View file @
634e0d8d
...
...
@@ -107,7 +107,7 @@ async def load_compy_storey_points(cid, pg_num, pg_size):
"""monitor和point和storey联合查询, 分页"""
sql
=
"SELECT monitor.cid, c.address, point.name, point.create_time, "
\
"monitor.sid, monitor.meter_no, srm.room_name, srm.storey_name, "
\
"
monitor.longitude, point.mtid, monitor.latitude
, point.pid "
\
"
point.mtid
, point.pid "
\
"FROM monitor "
\
"inner join point on monitor.mtid = point.mtid "
\
"inner join storey_room_map srm on point.pid = srm.point_id "
\
...
...
unify_api/modules/shidianu/service/open_data_service.py
View file @
634e0d8d
...
...
@@ -53,8 +53,8 @@ async def basic_info_longgang_service(user_id, pg_size, pg_num):
"equipment_address"
:
f
"{compy_addr}{storey_name}{room_name}"
,
"equipment_code"
:
info
[
"sid"
],
"root_address"
:
f
"{compy_addr}{storey_name}{room_name}"
,
"longitude"
:
info
.
get
(
"longitude"
,
''
)
,
"latitude"
:
info
.
get
(
"latitude"
,
''
)
,
"longitude"
:
""
,
"latitude"
:
""
,
"insurer"
:
"黄锦成"
,
"insurer_phone"
:
"13580428480"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment