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
e3c68e83
Commit
e3c68e83
authored
Mar 31, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230331
parent
5599aa47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
apps/inves_manage/statistic_analysis_view.py
+1
-1
apps/view_atlas/view.py
+1
-1
No files found.
apps/inves_manage/statistic_analysis_view.py
View file @
e3c68e83
...
@@ -104,7 +104,7 @@ def get_data1(data_time, district_li, max_year):
...
@@ -104,7 +104,7 @@ def get_data1(data_time, district_li, max_year):
}
}
data_li1
.
append
(
data
)
data_li1
.
append
(
data
)
continue
continue
data_li1
=
sorted
(
data_li1
,
key
=
lambda
x
:
x
[
'value'
],
reverse
=
Fals
e
)
data_li1
=
sorted
(
data_li1
,
key
=
lambda
x
:
x
[
'value'
],
reverse
=
Tru
e
)
return
data_li1
return
data_li1
except
Exception
as
e
:
except
Exception
as
e
:
current_app
.
logger
.
error
(
e
)
current_app
.
logger
.
error
(
e
)
...
...
apps/view_atlas/view.py
View file @
e3c68e83
...
@@ -1168,7 +1168,7 @@ def industry_enterprise():
...
@@ -1168,7 +1168,7 @@ def industry_enterprise():
try
:
try
:
company
=
Company
.
query
.
filter
(
company
=
Company
.
query
.
filter
(
Company
.
city
==
"晋城市"
,
Company
.
city
==
"晋城市"
,
Company
.
entype
==
entype
if
entype
else
text
(
''
),
Company
.
entype
.
like
(
'
%
{}
%
'
.
format
(
entype
))
if
entype
else
text
(
''
),
Company
.
company_name
.
like
(
'
%
{}
%
'
.
format
(
company_name
))
if
company_name
else
text
(
''
),
Company
.
company_name
.
like
(
'
%
{}
%
'
.
format
(
company_name
))
if
company_name
else
text
(
''
),
Company
.
status
==
status
if
status
else
text
(
''
)
Company
.
status
==
status
if
status
else
text
(
''
)
)
)
...
...
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