Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mancheng
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mancheng
Commits
ac14c43b
Commit
ac14c43b
authored
Dec 23, 2022
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20221223
parent
6f332410
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apps/view_choose/fill_data.py
+2
-2
No files found.
apps/view_choose/fill_data.py
View file @
ac14c43b
...
@@ -1464,7 +1464,7 @@ def carrier_edit_land():
...
@@ -1464,7 +1464,7 @@ def carrier_edit_land():
detail_address
=
req_dic
[
'detail_address'
]
detail_address
=
req_dic
[
'detail_address'
]
if
not
all
([
district_name
,
land_name
,
detail_address
]):
if
not
all
([
district_name
,
land_name
,
detail_address
]):
return
jsonify
(
code
=
RET
.
PARAMERR
,
msg
=
"区域名称、载体名称、信息地址不能为空!"
)
return
jsonify
(
code
=
RET
.
PARAMERR
,
msg
=
"区域名称、载体名称、信息地址不能为空!"
)
district_name
=
get_district
(
district_name
)
#
district_name = get_district(district_name)
lng
,
lat
,
code
,
msg
=
get_jwd
(
detail_address
)
lng
,
lat
,
code
,
msg
=
get_jwd
(
detail_address
)
if
code
==
1
:
if
code
==
1
:
...
@@ -1484,7 +1484,7 @@ def carrier_edit_land():
...
@@ -1484,7 +1484,7 @@ def carrier_edit_land():
carrier_land
.
fix_people
=
user_name
carrier_land
.
fix_people
=
user_name
carrier_land
.
lng
=
lng
carrier_land
.
lng
=
lng
carrier_land
.
lat
=
lat
carrier_land
.
lat
=
lat
db
.
session
.
add
(
carrier_land
)
#
db.session.add(carrier_land)
db
.
session
.
commit
()
db
.
session
.
commit
()
# 更新es
# 更新es
...
...
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