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
d0b6d2dd
Commit
d0b6d2dd
authored
Nov 09, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ece47945
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
apps/inves_manage/statistic_analysis_view.py
+3
-0
apps/models.py
+2
-2
No files found.
apps/inves_manage/statistic_analysis_view.py
View file @
d0b6d2dd
...
...
@@ -1845,6 +1845,9 @@ def get_data():
flag
=
req_dic
[
'flag'
]
data_time
=
req_dic
[
'data_time'
]
if
data_time
:
return
jsonify
(
code
=
RET
.
OK
,
msg
=
""
)
if
data_time
:
current_year
=
data_time
.
split
(
'年'
)[
0
]
else
:
current_year
=
str
(
datetime
.
now
()
.
year
)
...
...
apps/models.py
View file @
d0b6d2dd
...
...
@@ -270,7 +270,7 @@ class Enterprise1(db.Model):
__table_args__
=
({
'comment'
:
'全国企业表'
})
# 添加表注释
#
晋城
企业表
#
本地
企业表
class
Company
(
db
.
Model
):
__tablename__
=
"company"
id
=
db
.
Column
(
db
.
Integer
,
primary_key
=
True
,
autoincrement
=
True
,
doc
=
'企业主键id'
,
comment
=
'企业主键id'
)
# 企业
...
...
@@ -368,7 +368,7 @@ class Company(db.Model):
__table_args__
=
({
'comment'
:
'晋城企业表'
})
# 添加表注释
#
晋城
企业行政许可
# 企业行政许可
class
CompanyLicence
(
db
.
Model
):
__tablename_
=
"company_licence"
__table_args__
=
({
'comment'
:
'企业行政许可数据表'
})
# 添加表注释
...
...
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